CRemConTrackInfoTarget Class Reference

#include <remcontrackinfotarget.h>

Link against: remconextapi1.lib

class CRemConTrackInfoTarget : public CRemConInterfaceBase, public MRemConInterfaceIf

Inherits from

Detailed Description

Client-instantiable type supporting sending TrackInfo API responses.

Constructor & Destructor Documentation

~CRemConTrackInfoTarget ( )

IMPORT_C~CRemConTrackInfoTarget()

Destructor.

Member Function Documentation

GetArtistResponse ( TRequestStatus &, const TDesC &, TInt )

IMPORT_C voidGetArtistResponse(TRequestStatus &aStatus,
const TDesC &aArtist,
TIntaError
)
Sends a response to a 'get artist' command. Only one response per target session can be outstanding at any one time.
Parameters
aStatusUsed by RemCon to indicate completion of the send request.
aArtistThe artist.
aErrorThe response error.
Panic Codes
USER23, if the length of aArtist is greater than 58 Characters.

GetTrackDurationResponse ( TRequestStatus &, const TTime &, TInt )

IMPORT_C voidGetTrackDurationResponse(TRequestStatus &aStatus,
const TTime &aDuration,
TIntaError
)

Sends a response to a 'get track duration' command. Only one response per target session can be outstanding at any one time.

Parameters
aStatusUsed by RemCon to indicate completion of the send request.
aDurationThe duration.
aErrorThe response error.

GetTrackNameResponse ( TRequestStatus &, const TDesC &, TInt )

IMPORT_C voidGetTrackNameResponse(TRequestStatus &aStatus,
const TDesC &aTrackName,
TIntaError
)
Sends a response to a 'get track name' command. Only one response per target session can be outstanding at any one time.
Parameters
aStatusUsed by RemCon to indicate completion of the send request.
aTrackNameThe track name.
aErrorThe response error.
Panic Codes
USER23, if the length of aTrackName is greater than 58 Characters.

NewL ( CRemConInterfaceSelector &, MRemConTrackInfoTargetObserver & )

IMPORT_C CRemConTrackInfoTarget *NewL(CRemConInterfaceSelector &aInterfaceSelector,
MRemConTrackInfoTargetObserver &aObserver
)[static]

Factory function.

Parameters
aInterfaceSelectorThe interface selector. The client must have created one of these first.
aObserverThe observer of this interface.
Return Value
A new CRemConTrackInfoTarget, owned by the interface selector.