#include <remcontrackinfotarget.h>
Link against: remconextapi1.lib
class CRemConTrackInfoTarget : public CRemConInterfaceBase, public MRemConInterfaceIf |
Public Member Functions | |
---|---|
~CRemConTrackInfoTarget() | |
IMPORT_C void | GetArtistResponse(TRequestStatus &, const TDesC &, TInt) |
IMPORT_C void | GetTrackDurationResponse(TRequestStatus &, const TTime &, TInt) |
IMPORT_C void | GetTrackNameResponse(TRequestStatus &, const TDesC &, TInt) |
IMPORT_C CRemConTrackInfoTarget * | NewL(CRemConInterfaceSelector &, MRemConTrackInfoTargetObserver &) |
Client-instantiable type supporting sending TrackInfo API responses.
IMPORT_C void | GetArtistResponse | ( | TRequestStatus & | aStatus, |
const TDesC & | aArtist, | |||
TInt | aError | |||
) |
Parameters | |
---|---|
aStatus | Used by RemCon to indicate completion of the send request. |
aArtist | The artist. |
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 | |||
) |
Sends a response to a 'get track duration' command. Only one response per target session can be outstanding at any one time.
Parameters | |
---|---|
aStatus | Used by RemCon to indicate completion of the send request. |
aDuration | The duration. |
aError | The response error. |
IMPORT_C void | GetTrackNameResponse | ( | TRequestStatus & | aStatus, |
const TDesC & | aTrackName, | |||
TInt | aError | |||
) |
Parameters | |
---|---|
aStatus | Used by RemCon to indicate completion of the send request. |
aTrackName | The track name. |
aError | The response error. |
Panic Codes | |
---|---|
USER | 23, if the length of aTrackName is greater than 58 Characters. |
IMPORT_C CRemConTrackInfoTarget * | NewL | ( | CRemConInterfaceSelector & | aInterfaceSelector, |
MRemConTrackInfoTargetObserver & | aObserver | |||
) | [static] |
Factory function.
Parameters | |
---|---|
aInterfaceSelector | The interface selector. The client must have created one of these first. |
aObserver | The observer of this interface. |