Location:
tranp.h
Link against:
MTranpNotification
Supported from 6.0
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.
Defined in MTranpNotification
:
Connected()
, Disconnected()
, Error()
, GetComplete()
, ProgressIndication()
, PutComplete()
, QueryComplete()
virtual void Connected() = 0;
This function is called when a peer device connects successfully to the host device following an attempt to receive a picture.
virtual void Disconnected() = 0;
This function is called when a peer device disconnects or is disconnected from the host device.
virtual void GetComplete() = 0;
This function is called when the reception of picture data is complete.
virtual void PutComplete() = 0;
This function is called when the sending of picture data is complete.
virtual void ProgressIndication(TInt aPercent) = 0;
This function is called during the sending or receiving of picture data and indicates the percentage of the data that has been transmitted.
|
virtual void Error(TInt aError) =0;
This function is called when the connection with the peer device drops during picture data transmission.
|
virtual void QueryComplete(/* undefined*/)= 0;
This function is called when an operation querying the processing ability of a peer device completes.