class MTranpNotification |
A callback interface providing notification of events that occur during a picture transmission session.
Users of a picture transmission session must derive from this class an provide implementation for all of the pure virtual functions.
Public Member Functions | |
---|---|
void | Connected () |
void | Disconnected () |
void | Error ( TInt ) |
void | GetComplete () |
IMPORT_C void | MTN_ExtensionInterfaceL ( TUid , void *&) |
void | ProgressIndication ( TInt ) |
void | PutComplete () |
void | QueryComplete () |
void | Connected | ( | ) | [pure virtual] |
This function is called when a peer device connects successfully to the host device following an attempt to receive a picture.
void | Disconnected | ( | ) | [pure virtual] |
This function is called when a peer device disconnects or is disconnected from the host device.
void | Error | ( | TInt | aError | ) | [pure virtual] |
This function is called when the connection with the peer device drops during picture data transmission.
TInt aError | An error code associated with the connection drop. Normally, one of the system wide error codes. |
void | GetComplete | ( | ) | [pure virtual] |
This function is called when the reception of picture data is complete.
IMPORT_C void | MTN_ExtensionInterfaceL | ( | TUid | aInterface, |
void *& | aObject | |||
) | [virtual] |
Returns a null aObject if the extension is not implemented, or a pointer to another interface if it is. This virtual function allows the M- classes to be extended in future in a binary compatible way by providing a method that clients can override in future to allow extra callbacks to be made via aObject.
TUid aInterface | UID of the interface to return |
void *& aObject | the container for another interface as specified by aInterface |
void | ProgressIndication | ( | TInt | aPercent | ) | [pure virtual] |
This function is called during the sending or receiving of picture data and indicates the percentage of the data that has been transmitted.
TInt aPercent | The percentage of picture data transmitted. |
void | PutComplete | ( | ) | [pure virtual] |
This function is called when the sending of picture data is complete.
void | QueryComplete | ( | ) | [pure virtual] |
This function is called when an operation querying the processing ability of a peer device completes.
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.