MTelephonyAudioRoutingObserver Class Reference

class MTelephonyAudioRoutingObserver

Defines functions that client must implement in order to receive request completion and event notifications.

TelephonyAudioRouting.lib
Since
Series 60 3.1

Member Functions Documentation

AvailableOutputsChanged(CTelephonyAudioRouting &)

void AvailableOutputsChanged ( CTelephonyAudioRouting & aTelephonyAudioRouting ) [pure virtual]

Signals that available audio outputs have changed. The applications has to call CTelephonyAudioRouting::AvailableOutputs to get the updated list.

Since
Series 60 3.1

Parameters

CTelephonyAudioRouting & aTelephonyAudioRouting

OutputChanged(CTelephonyAudioRouting &)

void OutputChanged ( CTelephonyAudioRouting & aTelephonyAudioRouting ) [pure virtual]

Signals that current output has changed. The applications has to call CTelephonyAudioRouting::Output to get the current active output.

The application will get this callback only when the change in output is due some other application's CTelephonyAudioRouting::SetOutputL call OR because of user has deleted audio link through long key press on the BT device OR when adaptation routes audio from device to BT accessory automatically when user initiated long key press event occurs.

Since
Series 60 3.1

Parameters

CTelephonyAudioRouting & aTelephonyAudioRouting

SetOutputComplete(CTelephonyAudioRouting &, TInt)

void SetOutputComplete ( CTelephonyAudioRouting & aTelephonyAudioRouting,
TInt aError
) [pure virtual]

Signals that CTelephonyAudioRouting::SetOutputL request issued by this application (on CTelephonyAudioRouting instance) was serviced by the Adaptation. Only when the observer receives this callback, the application should consider CTelephonyAudioRouting::SetOutputL message to be completed.

Since
Series 60 3.1

Parameters

CTelephonyAudioRouting & aTelephonyAudioRouting
TInt aError KErrNone if output requested by application is set, else system-wide error code.