RMTPClient Class Reference
class RMTPClient : public RSessionBase
|
Implements the MTP client API. This API provides a control interface to start and stop MTP services.
Inherited Functions
|
|
RHandleBase::Attributes()const
|
|
RHandleBase::BTraceId()const
|
|
RHandleBase::DoExtendedClose()
|
|
RHandleBase::Duplicate(const RThread &,TOwnerType)
|
|
RHandleBase::FullName()const
|
|
RHandleBase::FullName(TDes &)const
|
|
RHandleBase::Handle()const
|
|
RHandleBase::HandleInfo(THandleInfo *)
|
|
RHandleBase::Name()const
|
|
RHandleBase::NotifyDestruction(TRequestStatus &)
|
|
RHandleBase::Open(const TFindHandleBase &,TOwnerType)
|
|
RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt)
|
|
RHandleBase::RHandleBase()
|
|
RHandleBase::RHandleBase(TInt)
|
|
RHandleBase::SetHandle(TInt)
|
|
RHandleBase::SetHandleNC(TInt)
|
|
RSessionBase::CreateSession(RServer2,const TVersion &)
|
|
RSessionBase::CreateSession(RServer2,const TVersion &,TInt)
|
|
RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
|
|
RSessionBase::CreateSession(const TDesC &,const TVersion &)
|
|
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt)
|
|
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
|
|
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *)
|
|
RSessionBase::Open(RMessagePtr2,TInt,TOwnerType)
|
|
RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType)
|
|
RSessionBase::Open(TInt,TOwnerType)
|
|
RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType)
|
|
RSessionBase::Send(TInt)const
|
|
RSessionBase::Send(TInt,const TIpcArgs &)const
|
|
RSessionBase::SendReceive(TInt)const
|
|
RSessionBase::SendReceive(TInt,TRequestStatus &)const
|
|
RSessionBase::SendReceive(TInt,const TIpcArgs &)const
|
|
RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
|
|
RSessionBase::SetReturnedHandle(TInt)
|
|
RSessionBase::SetReturnedHandle(TInt,RHandleBase &)
|
|
RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &)
|
|
RSessionBase::ShareAuto()
|
|
RSessionBase::ShareProtected()
|
Constructor & Destructor Documentation
Member Functions Documentation
Close()
Closes a connection to the MTP daemon server.
Connect()
IMPORT_C
TInt
|
Connect
|
(
|
)
|
|
Opens a connection to the MTP daemon server.
IsAvailable(TUid)
IMPORT_C
TInt
|
IsAvailable
|
(
|
TUid
|
aTransport
|
)
|
|
Checks whether MTP Framework shall allow the StartTransport Command or not.
Parameters
TUid
aTransport
|
The implementation UID of the transport protocol implementation.
|
IsProcessRunning()
IMPORT_C
TInt
|
IsProcessRunning
|
(
|
)
|
|
Checks whether the mtpserver.exe process is running or not.
StartTransport(TUid)
IMPORT_C
TInt
|
StartTransport
|
(
|
TUid
|
aTransport
|
)
|
|
Starts up the specified MTP transport protocol.
Parameters
TUid
aTransport
|
The implementation UID of the transport protocol implemetation.
|
StartTransport(TUid, const TDesC8 &)
IMPORT_C
TInt
|
StartTransport
|
(
|
TUid
|
aTransport,
|
|
const
TDesC8
&
|
aParameter
|
|
)
|
|
Starts up the specified MTP BLUETOOTH transport protocol.
Parameters
TUid
aTransport
|
The implementation UID of the transport protocol implemetation.
|
const
TDesC8
& aParameter
|
|
StopTransport(TUid)
IMPORT_C
TInt
|
StopTransport
|
(
|
TUid
|
aTransport
|
)
|
|
Shuts down the specified MTP transport protocol.
Parameters
TUid
aTransport
|
The implementation UID of the transport protocol implemetation.
|
Version()
IMPORT_C const
TVersion
&
|
Version
|
(
|
)
|
const
|
Provides the minimum MTP daemon version with which the MTP client API is compatible.
Member Data Documentation
TVersion
iVersion
The minimum MTP daemon version with which the MTP client API is compatible.
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.