CRemConMediaInformationTarget Class Reference

class CRemConMediaInformationTarget : public CRemConInterfaceBase

Client-instantiable type supporting sending media information.

Inherits from

Public Member Functions
~CRemConMediaInformationTarget ()
IMPORT_C TInt AttributeValue ( TMediaAttributeId , TDesC8 &)
IMPORT_C void Completed ()
IMPORT_C CRemConMediaInformationTarget * NewL ( CRemConInterfaceSelector &, MRemConMediaInformationTargetObserver &)
Private Member Functions
CRemConMediaInformationTarget ( CRemConInterfaceSelector &, MRemConMediaInformationTargetObserver &)
void ConstructL ()
void DoNextMessage ()
TAny * GetInterfaceIf ( TUid )
void MrcibNewMessage ( TUint , const TDesC8 &)
int NextMessageCb ( TAny *)
void ProcessMessage (const TDesC8 &)
void SendError ( TInt )
Inherited Functions
CBase::CBase()
CBase::Delete(CBase *)
CBase::Extension_(TUint,TAny *&,TAny *)
CBase::operator new(TUint)
CBase::operator new(TUint,TAny *)
CBase::operator new(TUint,TLeave)
CBase::operator new(TUint,TLeave,TUint)
CBase::operator new(TUint,TUint)
CBase::~CBase()
CRemConInterfaceBase::BaseConstructL()
CRemConInterfaceBase::BaseConstructL(RRemConInterfaceFeatures &)
CRemConInterfaceBase::BaseConstructL(RRemConInterfaceFeatures &,TBool)
CRemConInterfaceBase::Bulk()const
CRemConInterfaceBase::CRemConInterfaceBase(TUid,TUint,CRemConInterfaceSelector &,TRemConClientType)
CRemConInterfaceBase::Cancel()
CRemConInterfaceBase::InterfaceSelector()
CRemConInterfaceBase::InterfaceUid()const
CRemConInterfaceBase::MaxLength()const
CRemConInterfaceBase::Target(TRemConClientType)
CRemConInterfaceBase::Type()const
CRemConInterfaceBase::~CRemConInterfaceBase()
Private Attributes
TMediaAttributeIter iAttributeIterator
TBool iInProgress
RArray < TMediaAttributeId > iMediaAttributeIDs
TSglQue < CRemConMediaInformationQueuedMessage > iMsgQueue
CAsyncCallBack * iNextMessageCallBack
MRemConMediaInformationTargetObserver & iObserver
RRemConGetElementAttributesResponse * iResponse

Constructor & Destructor Documentation

CRemConMediaInformationTarget(CRemConInterfaceSelector &, MRemConMediaInformationTargetObserver &)

CRemConMediaInformationTarget ( CRemConInterfaceSelector & aInterfaceSelector,
MRemConMediaInformationTargetObserver & aObserver
) [private]

Constructor.

Parameters

CRemConInterfaceSelector & aInterfaceSelector The interface selector.
MRemConMediaInformationTargetObserver & aObserver The observer of this interface.

~CRemConMediaInformationTarget()

IMPORT_C ~CRemConMediaInformationTarget ( )

Destructor

Destructor.

Member Functions Documentation

AttributeValue(TMediaAttributeId, TDesC8 &)

IMPORT_C TInt AttributeValue ( TMediaAttributeId aAttributeId,
TDesC8 & aAttributeData
)

Called by the client in response to a MrcmitoGetCurrentlyPlayingMetadata() call. Each call provides one of the attribute values requested. This is repeatedly called until all attributes requested have been supplied and then followed by Completed() . MRemConMediaInformationTargetObserver::MrcmitoGetCurrentlyPlayingMetadata() CRemConMediaInformationTarget::Completed()

Parameters

TMediaAttributeId aAttributeId
TDesC8 & aAttributeData

Completed()

IMPORT_C void Completed ( )

Signal that all attributes requested by MrcmitoGetCurrentlyPlayingMetadata() have been supplied using the AttributeValue() method. MRemConMediaInformationTargetObserver::MrcmitoGetCurrentlyPlayingMetadata() CRemConMediaInformationTarget::AttributeValue()

ConstructL()

void ConstructL ( ) [private]

DoNextMessage()

void DoNextMessage ( ) [private]

GetInterfaceIf(TUid)

TAny * GetInterfaceIf ( TUid aUid ) [private, virtual]

Gets a pointer to a specific interface version.

Parameters

TUid aUid

MrcibNewMessage(TUint, const TDesC8 &)

void MrcibNewMessage ( TUint aOperationId,
const TDesC8 & aData
) [private]

Parameters

TUint aOperationId
const TDesC8 & aData

NewL(CRemConInterfaceSelector &, MRemConMediaInformationTargetObserver &)

IMPORT_C CRemConMediaInformationTarget * NewL ( CRemConInterfaceSelector & aInterfaceSelector,
MRemConMediaInformationTargetObserver & aObserver
) [static]

Factory function.

Parameters

CRemConInterfaceSelector & aInterfaceSelector The interface selector. The client must have created one of these first.
MRemConMediaInformationTargetObserver & aObserver The observer of this interface.

NextMessageCb(TAny *)

int NextMessageCb ( TAny * aThis ) [private, static]

Parameters

TAny * aThis

ProcessMessage(const TDesC8 &)

void ProcessMessage ( const TDesC8 & aData ) [private]

Parameters

const TDesC8 & aData

SendError(TInt)

void SendError ( TInt aError ) [private]

Parameters

TInt aError

Member Data Documentation

TMediaAttributeIter iAttributeIterator

TMediaAttributeIter iAttributeIterator [private]

TBool iInProgress

TBool iInProgress [private]

RArray< TMediaAttributeId > iMediaAttributeIDs

RArray < TMediaAttributeId > iMediaAttributeIDs [private]

TSglQue< CRemConMediaInformationQueuedMessage > iMsgQueue

TSglQue < CRemConMediaInformationQueuedMessage > iMsgQueue [private]

CAsyncCallBack * iNextMessageCallBack

CAsyncCallBack * iNextMessageCallBack [private]

MRemConMediaInformationTargetObserver & iObserver

MRemConMediaInformationTargetObserver & iObserver [private]

RRemConGetElementAttributesResponse * iResponse

RRemConGetElementAttributesResponse * iResponse [private]