class CRemConMediaInformationTarget : public CRemConInterfaceBase |
Client-instantiable type supporting sending media information.
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) |
CRemConMediaInformationTarget | ( | CRemConInterfaceSelector & | aInterfaceSelector, |
MRemConMediaInformationTargetObserver & | aObserver | ||
) | [private] |
Constructor.
CRemConInterfaceSelector & aInterfaceSelector | The interface selector. |
MRemConMediaInformationTargetObserver & aObserver | The observer of this interface. |
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()
TMediaAttributeId aAttributeId | |
TDesC8 & aAttributeData |
IMPORT_C void | Completed | ( | ) |
Signal that all attributes requested by MrcmitoGetCurrentlyPlayingMetadata() have been supplied using the AttributeValue() method. MRemConMediaInformationTargetObserver::MrcmitoGetCurrentlyPlayingMetadata()
TAny * | GetInterfaceIf | ( | TUid | aUid | ) | [private, virtual] |
Gets a pointer to a specific interface version.
A pointer to the interface, NULL if not supported.
TUid aUid |
void | MrcibNewMessage | ( | TUint | aOperationId, |
const TDesC8 & | aData | |||
) | [private] |
IMPORT_C CRemConMediaInformationTarget * | NewL | ( | CRemConInterfaceSelector & | aInterfaceSelector, |
MRemConMediaInformationTargetObserver & | aObserver | |||
) | [static] |
Factory function. A new CRemConMediaInformationTarget, owned by the interface selector.
CRemConInterfaceSelector & aInterfaceSelector | The interface selector. The client must have created one of these first. |
MRemConMediaInformationTargetObserver & aObserver | The observer of this interface. |
void | ProcessMessage | ( | const TDesC8 & | aData | ) | [private] |
const TDesC8 & aData |
RArray< TMediaAttributeId > | iMediaAttributeIDs | [private] |
TSglQue< CRemConMediaInformationQueuedMessage > | iMsgQueue | [private] |
MRemConMediaInformationTargetObserver & | iObserver | [private] |
RRemConGetElementAttributesResponse * | iResponse | [private] |