Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <remconmediainformationtarget.h>
Link against: remconmediainformationapi.lib
This item is not part of the S60 5th Edition SDK

Class CRemConMediaInformationTarget

class CRemConMediaInformationTarget : public CRemConInterfaceBase, public MRemConInterfaceIf;

Description

Client-instantiable type supporting sending media information.

Derivation

Members

Defined in CRemConMediaInformationTarget:


Construction and destruction


NewL(CRemConInterfaceSelector &,MRemConMediaInformationTargetObserver &)

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

Description

Factory function.

Parameters

CRemConInterfaceSelector &aInterfaceSelector

The interface selector. The client must have created one of these first.

MRemConMediaInformationTargetObserver &aObserver

The observer of this interface.

Return value

CRemConMediaInformationTarget *

A new CRemConMediaInformationTarget, owned by the interface selector.


~CRemConMediaInformationTarget()

IMPORT_C ~CRemConMediaInformationTarget();

Description

Destructor

[Top]


Member functions


AttributeValue(TMediaAttributeId,TDesC8 &)

IMPORT_C TInt AttributeValue(TMediaAttributeId aAttributeId, TDesC8 &aAttributeData);

Description

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 CRemConMediaInformationTarget::Completed().

Parameters

TMediaAttributeId aAttributeId

TDesC8 &aAttributeData

Return value

TInt

See also:


Completed()

IMPORT_C void Completed();

Description

Signal that all attributes requested by MrcmitoGetCurrentlyPlayingMetadata() have been supplied using the CRemConMediaInformationTarget::AttributeValue(TMediaAttributeId,TDesC8 &) method.

See also:


MrcibNewMessage(TUint,const TDesC8 &)

private: virtual void MrcibNewMessage(TUint aOperationId, const TDesC8 &aData);

Description

Called when a message comes in for this interface.

Parameters

TUint aOperationId

The interface-specific operation id.

const TDesC8 &aData

Any operation-specific data.