RTelephonyAudioRoutingManagerSession Class Reference

class RTelephonyAudioRoutingManagerSession : public RSessionBase

Main interface to the TelephonyAudioRoutingServer. It implements the client-side session.

TelephonyAudioRoutingManagerSession.lib
Since
Series 60 3.1

Inherits from

Public Member Functions
RTelephonyAudioRoutingManagerSession()
IMPORT_C TPckgBuf< CTelephonyAudioRouting::TAudioOutput > &AudioOutputPkg()
IMPORT_C voidAvailableOutputsChangedL(const TArray< CTelephonyAudioRouting::TAudioOutput > &)
IMPORT_C voidCancelRequest(TTelAudRtngServRqst)
IMPORT_C voidClose()
IMPORT_C TIntConnect(CTelephonyAudioRoutingManager &, MTelephonyAudioRoutingPolicyObserver &)
IMPORT_C voidMonitorOutputChangeRequest()
IMPORT_C voidOutputChangeCompleted(CTelephonyAudioRouting::TAudioOutput, TInt)
IMPORT_C voidOutputChanged(CTelephonyAudioRouting::TAudioOutput)
IMPORT_C voidSetPolicySessionIdL()
Private Member Functions
voidStartPolicyRequestHandlersL(CTelephonyAudioRoutingManager &, MTelephonyAudioRoutingPolicyObserver &)
Inherited Functions
RHandleBase::Attributes()const
RHandleBase::BTraceId()const
RHandleBase::DoExtendedClose()
RHandleBase::Duplicate(const RThread &,TOwnerType)
RHandleBase::FullName()const
RHandleBase::FullName(TDes &)const
RHandleBase::Handle()const
RHandleBase::HandleInfo(THandleInfo *)
RHandleBase::Name()const
RHandleBase::NotifyDestruction(TRequestStatus &)
RHandleBase::Open(const TFindHandleBase &,TOwnerType)
RHandleBase::OpenByName(const TDesC &,TOwnerType,TInt)
RHandleBase::RHandleBase()
RHandleBase::RHandleBase(TInt)
RHandleBase::SetHandle(TInt)
RHandleBase::SetHandleNC(TInt)
RSessionBase::CreateSession(RServer2,const TVersion &)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt)
RSessionBase::CreateSession(RServer2,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TIpcSessionType,const TSecurityPolicy *,TRequestStatus *)
RSessionBase::CreateSession(const TDesC &,const TVersion &,TInt,TRequestStatus *)
RSessionBase::Open(RMessagePtr2,TInt,TOwnerType)
RSessionBase::Open(RMessagePtr2,TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Open(TInt,TOwnerType)
RSessionBase::Open(TInt,const TSecurityPolicy &,TOwnerType)
RSessionBase::Send(TInt)const
RSessionBase::Send(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt)const
RSessionBase::SendReceive(TInt,TRequestStatus &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &)const
RSessionBase::SendReceive(TInt,const TIpcArgs &,TRequestStatus &)const
RSessionBase::SetReturnedHandle(TInt)
RSessionBase::SetReturnedHandle(TInt,RHandleBase &)
RSessionBase::SetReturnedHandle(TInt,const TSecurityPolicy &)
RSessionBase::ShareAuto()
RSessionBase::ShareProtected()
Inherited Enumerations
RHandleBase:TAttributes
RSessionBase:TAttachMode
Private Attributes
TPckgBuf< CTelephonyAudioRouting::TAudioOutput >iAudioOutputPkg
TBool iConnected
CTelephonyAudioRoutingPolicyRequest *iPolicyRequest
Inherited Attributes
RHandleBase::iHandle

Constructor & Destructor Documentation

RTelephonyAudioRoutingManagerSession()

IMPORT_CRTelephonyAudioRoutingManagerSession()

Member Functions Documentation

AudioOutputPkg()

IMPORT_C TPckgBuf< CTelephonyAudioRouting::TAudioOutput > &AudioOutputPkg()
Provide caller with iAudioOutputPkg
Since
Series 60 3.1

AvailableOutputsChangedL(const TArray< CTelephonyAudioRouting::TAudioOutput > &)

IMPORT_C voidAvailableOutputsChangedL(const TArray< CTelephonyAudioRouting::TAudioOutput > &aOutputs)
Used by policy session to notify server if the available audio output change.
Since
Series 60 3.1

Parameters

const TArray< CTelephonyAudioRouting::TAudioOutput > & aOutputs

CancelRequest(TTelAudRtngServRqst)

IMPORT_C voidCancelRequest(TTelAudRtngServRqstaRequest)
Cancel a previously send request.
Since
Series 60 3.1

Parameters

TTelAudRtngServRqst aRequest

Close()

IMPORT_C voidClose()
Closes connection to the server.
Since
Series 60 3.1

Connect(CTelephonyAudioRoutingManager &, MTelephonyAudioRoutingPolicyObserver &)

IMPORT_C TIntConnect(CTelephonyAudioRoutingManager &aAudioRoutingManager,
MTelephonyAudioRoutingPolicyObserver &aPolicyObserver
)
Connects a policy client to the server.
Since
Series 60 3.1

Parameters

CTelephonyAudioRoutingManager & aAudioRoutingManager
MTelephonyAudioRoutingPolicyObserver & aPolicyObserver

MonitorOutputChangeRequest()

IMPORT_C voidMonitorOutputChangeRequest()
Used by policy session to get notification whenever any of the clients sends a SetOutput request.
Since
Series 60 3.1

OutputChangeCompleted(CTelephonyAudioRouting::TAudioOutput, TInt)

IMPORT_C voidOutputChangeCompleted(CTelephonyAudioRouting::TAudioOutputaOutput,
TIntaError
)
Used by policy to notify server that requested output change completed
Since
Series 60 3.1

Parameters

CTelephonyAudioRouting::TAudioOutput aOutput
TInt aError

OutputChanged(CTelephonyAudioRouting::TAudioOutput)

IMPORT_C voidOutputChanged(CTelephonyAudioRouting::TAudioOutputaOutput)
Used by policy to notify server of audio output changes.
Since
Series 60 3.1

SetPolicySessionIdL()

IMPORT_C voidSetPolicySessionIdL()
Sets policy session Id.
Since
Series 60 3.1

StartPolicyRequestHandlersL(CTelephonyAudioRoutingManager &, MTelephonyAudioRoutingPolicyObserver &)

voidStartPolicyRequestHandlersL(CTelephonyAudioRoutingManager &aAudioRoutingManager,
MTelephonyAudioRoutingPolicyObserver &aPolicyObserver
)[private]
Start asynchronous request handlers.
Since
Series 60 3.1

Parameters

CTelephonyAudioRoutingManager & aAudioRoutingManager
MTelephonyAudioRoutingPolicyObserver & aPolicyObserver

Member Data Documentation

TPckgBuf< CTelephonyAudioRouting::TAudioOutput > iAudioOutputPkg

TPckgBuf< CTelephonyAudioRouting::TAudioOutput >iAudioOutputPkg[private]

TBool iConnected

TBool iConnected[private]

CTelephonyAudioRoutingPolicyRequest * iPolicyRequest

CTelephonyAudioRoutingPolicyRequest *iPolicyRequest[private]