Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: tranp.h
Link against: irtranp.lib

Class MTranpNotification

class MTranpNotification;

Description

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.

Members

Defined in MTranpNotification:
Connected(), Disconnected(), Error(), GetComplete(), MTN_ExtensionInterfaceL(), ProgressIndication(), PutComplete(), QueryComplete()

See also:


Member functions


Connected()

virtual void Connected()=0;

Description

This function is called when a peer device connects successfully to the host device following an attempt to receive a picture.


Disconnected()

virtual void Disconnected()=0;

Description

This function is called when a peer device disconnects or is disconnected from the host device.


GetComplete()

virtual void GetComplete()=0;

Description

This function is called when the reception of picture data is complete.


ProgressIndication()

virtual void ProgressIndication(TInt aPercent)=0;

Description

This function is called during the sending or receiving of picture data and indicates the percentage of the data that has been transmitted.

Parameters

TInt aPercent

The percentage of picture data transmitted.


PutComplete()

virtual void PutComplete()=0;

Description

This function is called when the sending of picture data is complete.


QueryComplete()

virtual void QueryComplete()=0;

Description

This function is called when an operation querying the processing ability of a peer device completes.


Error()

virtual void Error(TInt aError)=0;

Description

This function is called when the connection with the peer device drops during picture data transmission.

Parameters

TInt aError

An error code associated with the connection drop. Normally, one of the system wide error codes.


MTN_ExtensionInterfaceL()

virtual IMPORT_C void MTN_ExtensionInterfaceL(TUid aInterface, void *&aObject);

Description

Returns a null aObject if the extension is not implemented, or a pointer to another interface if it is.

Parameters

TUid aInterface

UID of the interface to return

void *&aObject

the container for another interface as specified by aInterface