MMTPConnection Class Reference
Defines the MTP data provider framework MTP connection interface.
Member Functions Documentation
ConnectionId()
TUint
| ConnectionId | ( | ) | const [pure virtual] |
Provides the unique MTP data provider framework assigned identifier of the connection.
SessionCount()
TUint
| SessionCount | ( | ) | const [pure virtual] |
Provides a count of the number of sessions currently active on the connection.
SessionWithMTPIdExists(TUint32)
TBool
| SessionWithMTPIdExists | ( | TUint32 | aMTPId | ) | const [pure virtual] |
Indicates if a session with the specified MTP connection assigned identifier is currently active on the connection.
Parameters
TUint32 aMTPId | The MTP connection assigned identifier of the session. |
SessionWithMTPIdL(TUint32)
Provides a reference to the session with the specified MTP connection assigned identifier.
- leave
- KErrNotFound, if the specified session identifier is not currently active on the connection.
SessionWithMTPIdExists
Parameters
TUint32 aMTPId | The MTP connection assigned identifier of the requested session. |
SessionWithUniqueIdExists(TUint32)
TBool
| SessionWithUniqueIdExists | ( | TUint32 | aUniqueId | ) | const [pure virtual] |
Indicates if a session with the specified MTP connection assigned identifier is currently active on the connection.
Parameters
TUint32 aUniqueId | The MTP connection assigned identifier of the session. |
SessionWithUniqueIdL(TUint32)
Provides a reference to the session with the specified MTP connection assigned identifier.
- leave
- KErrNotFound, if the specified session identifier is not currently active on the connection.
SessionWithMTPIdExists
Parameters
TUint32 aUniqueId | The MTP connection assigned identifier of the requested session. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.