Location:
remcontrackinfotarget.h
Link against: remconextapi1.lib
class CRemConTrackInfoTarget : public CRemConInterfaceBase, public MRemConInterfaceIf;
Description
Client-instantiable type supporting sending TrackInfo API responses.
Derivation
MRemConInterfaceIf
- No description.
CRemConInterfaceBase
- No description.
CRemConTrackInfoTarget
- Client-instantiable type supporting sending TrackInfo API responses
Members
Defined in CRemConTrackInfoTarget
:
GetArtistResponse()
, GetInterfaceIf()
, GetTrackDurationResponse()
, GetTrackNameResponse()
, MrcibNewMessage()
, NewL()
, ~CRemConTrackInfoTarget()
static IMPORT_C CRemConTrackInfoTarget *NewL(CRemConInterfaceSelector &aInterfaceSelector, MRemConTrackInfoTargetObserver
&aObserver);
Description
Factory function.
Parameters
Return value
IMPORT_C ~CRemConTrackInfoTarget();
Description
Destructor.
IMPORT_C void GetTrackNameResponse(TRequestStatus &aStatus, const TDesC &aTrackName, TInt aError);
Description
Sends a response to a 'get track name' command.
Parameters
TRequestStatus &aStatus |
Used by RemCon to indicate completion of the send request.
|
const TDesC &aTrackName |
The track name.
|
TInt aError |
The response error.
|
|
Panic codes
USER |
23, if the length of aTrackName is greater than 58 Characters.
|
|
IMPORT_C void GetArtistResponse(TRequestStatus &aStatus, const TDesC &aArtist, TInt aError);
Description
Sends a response to a 'get artist' command.
Parameters
TRequestStatus &aStatus |
Used by RemCon to indicate completion of the send request.
|
const TDesC &aArtist |
The artist.
|
TInt aError |
The response error.
|
|
Panic codes
USER |
23, if the length of aArtist is greater than 58 Characters.
|
|
IMPORT_C void GetTrackDurationResponse(TRequestStatus &aStatus, const TTime &aDuration, TInt aError);
Description
Sends a response to a 'get track duration' command.
Parameters
TRequestStatus &aStatus |
Used by RemCon to indicate completion of the send request.
|
const TTime &aDuration |
The duration.
|
TInt aError |
The response error.
|
|
private: virtual TAny *GetInterfaceIf(TUid aUid);
Description
Called by the interface selector to get a pointer to an object which implements the interface API with UID aUid. This is a
mechanism for allowing future change to the interface API without breaking BC in existing (non-updated) interfaces.
Parameters
Return value
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.
|
|