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 void AvailableOutputsChangedL (const TArray < CTelephonyAudioRouting::TAudioOutput > &)
IMPORT_C void CancelRequest ( TTelAudRtngServRqst )
IMPORT_C void Close ()
IMPORT_C TInt Connect ( CTelephonyAudioRoutingManager &, MTelephonyAudioRoutingPolicyObserver &)
IMPORT_C void MonitorOutputChangeRequest ()
IMPORT_C void OutputChangeCompleted ( CTelephonyAudioRouting::TAudioOutput , TInt )
IMPORT_C void OutputChanged ( CTelephonyAudioRouting::TAudioOutput )
IMPORT_C void SetPolicySessionIdL ()
Private Member Functions
void StartPolicyRequestHandlersL ( 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_C RTelephonyAudioRoutingManagerSession ( )

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 void AvailableOutputsChangedL ( 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 void CancelRequest ( TTelAudRtngServRqst aRequest )
Cancel a previously send request.
Since
Series 60 3.1

Parameters

TTelAudRtngServRqst aRequest

Close()

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

Connect(CTelephonyAudioRoutingManager &, MTelephonyAudioRoutingPolicyObserver &)

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

Parameters

CTelephonyAudioRoutingManager & aAudioRoutingManager
MTelephonyAudioRoutingPolicyObserver & aPolicyObserver

MonitorOutputChangeRequest()

IMPORT_C void MonitorOutputChangeRequest ( )
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 void OutputChangeCompleted ( CTelephonyAudioRouting::TAudioOutput aOutput,
TInt aError
)
Used by policy to notify server that requested output change completed
Since
Series 60 3.1

OutputChanged(CTelephonyAudioRouting::TAudioOutput)

IMPORT_C void OutputChanged ( CTelephonyAudioRouting::TAudioOutput aOutput )
Used by policy to notify server of audio output changes.
Since
Series 60 3.1

SetPolicySessionIdL()

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

StartPolicyRequestHandlersL(CTelephonyAudioRoutingManager &, MTelephonyAudioRoutingPolicyObserver &)

void StartPolicyRequestHandlersL ( 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]