CRemConMediaInformationTarget Class Reference

class CRemConMediaInformationTarget : public CRemConInterfaceBase

Client-instantiable type supporting sending media information.

Inherits from

Public Member Functions
~CRemConMediaInformationTarget()
IMPORT_C TIntAttributeValue(TMediaAttributeId, TDesC8 &)
IMPORT_C voidCompleted()
IMPORT_C CRemConMediaInformationTarget *NewL(CRemConInterfaceSelector &, MRemConMediaInformationTargetObserver &)
Private Member Functions
CRemConMediaInformationTarget(CRemConInterfaceSelector &, MRemConMediaInformationTargetObserver &)
voidConstructL()
voidDoNextMessage()
TAny *GetInterfaceIf(TUid)
voidMrcibNewMessage(TUint, const TDesC8 &)
intNextMessageCb(TAny *)
voidProcessMessage(const TDesC8 &)
voidSendError(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 & aInterfaceSelectorThe interface selector.
MRemConMediaInformationTargetObserver & aObserverThe observer of this interface.

~CRemConMediaInformationTarget()

IMPORT_C~CRemConMediaInformationTarget()

Destructor

Destructor.

Member Functions Documentation

AttributeValue(TMediaAttributeId, TDesC8 &)

IMPORT_C TIntAttributeValue(TMediaAttributeIdaAttributeId,
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 voidCompleted()

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

ConstructL()

voidConstructL()[private]

DoNextMessage()

voidDoNextMessage()[private]

GetInterfaceIf(TUid)

TAny *GetInterfaceIf(TUidaUid)[private, virtual]

Gets a pointer to a specific interface version.

Parameters

TUid aUid

MrcibNewMessage(TUint, const TDesC8 &)

voidMrcibNewMessage(TUintaOperationId,
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 & aInterfaceSelectorThe interface selector. The client must have created one of these first.
MRemConMediaInformationTargetObserver & aObserverThe observer of this interface.

NextMessageCb(TAny *)

intNextMessageCb(TAny *aThis)[private, static]

Parameters

TAny * aThis

ProcessMessage(const TDesC8 &)

voidProcessMessage(const TDesC8 &aData)[private]

Parameters

const TDesC8 & aData

SendError(TInt)

voidSendError(TIntaError)[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]