MTelephonyAudioRoutingPolicyObserver Class Reference

class MTelephonyAudioRoutingPolicyObserver

Defines functions that policy client must implement in order to receive output change request from Telephony applications.

TelephonyAudioRoutingManager.lib
Since
Series 60 3.1

Member Functions Documentation

OutputChangeRequested(CTelephonyAudioRoutingManager &, CTelephonyAudioRouting::TAudioOutput)

voidOutputChangeRequested(CTelephonyAudioRoutingManager &aTelephonyAudioRoutingManager,
CTelephonyAudioRouting::TAudioOutputaOutput
)[pure virtual]

Request to change current output. When the request is serviced by the Adaptation, this will result in CTelephonyAudioRoutingManager::OutputChangeRequestCompleted call by the adaptation.

For each request made by the client, there will be one function call, CTelephonyAudioRoutingManager::OutputChangeRequestCompleted from Adaptation.

If there are two requests back to back, Adaptation will service first request, call CTelephonyAudioRoutingManager::OutputChangeRequestCompleted and then consider the second request. This will be true for multiple back to back requests. (Back to back = pending requests in request queue).

Since
Series 60 3.1

Parameters

CTelephonyAudioRoutingManager & aTelephonyAudioRoutingManager
CTelephonyAudioRouting::TAudioOutput aOutput