MRemConDatabaseUnawareNowPlayingTargetObserver Class Reference

#include <mw/remcondatabaseunawarenowplayingtargetobserver.h>

class MRemConDatabaseUnawareNowPlayingTargetObserver
Public Member Functions
pure virtual voidMrcdunptoAddToNowPlaying(const TRemConItemUid &, TRemConFolderScope)
pure virtual voidMrcdunptoPlayItem(const TRemConItemUid &, TRemConFolderScope)

Detailed Description

It is intended for the client which is database aware. Clients must implement this interface in order to instantiate objects of type CRemConDatabaseUnawareNowPlayingTarget. This interface passes incoming commands from RemCon to the client.

See also: CRemConDatabaseUnawareNowPlayingTarget

Member Function Documentation

MrcdunptoAddToNowPlaying ( const TRemConItemUid &, TRemConFolderScope )

voidMrcdunptoAddToNowPlaying(const TRemConItemUid &aItem,
TRemConFolderScopeaScope
)[pure virtual]

Requests to add an item to now playing list.

See also: CRemConNowPlayingTargetBase::AddToNowPlayingResponse().

ParameterDescription
aItemThe item requested to play.If it does not refer to any valid item, the client must call CRemConNowPlayingTargetBase::AddToNowPlayingResponse() with the error KErrInvalidUid;If it refers to a directory which can not be handled by this media player, the client must call CRemConNowPlayingTargetBase::AddToNowPlayingResponse() with the error KErrNowPlayingUidIsADirectory;If it is in use and can not be added to now playing list, the client must call CRemConNowPlayingTargetBase::AddToNowPlayingResponse() with the error KErrNowPlayingMediaInUse;
aScopeThe scope in which the item was requested to play.

MrcdunptoPlayItem ( const TRemConItemUid &, TRemConFolderScope )

voidMrcdunptoPlayItem(const TRemConItemUid &aItem,
TRemConFolderScopeaScope
)[pure virtual]

Requests to play an item.

See also: CRemConNowPlayingTargetBase::PlayItemResponse().

ParameterDescription
aItemThe item requested to play.If it does not refer to any valid item, the client must call CRemConNowPlayingTargetBase::PlayItemResponse() with the error KErrInvalidUid;If it refers to a directory which can not be handled by this media player, the client must call CRemConNowPlayingTargetBase::PlayItemResponse() with the error KErrNowPlayingUidIsADirectory;If it is in use and can not be played, the client must call CRemConNowPlayingTargetBase::PlayItemResponse() with the error KErrNowPlayingMediaInUse;
aScopeThe scope in which the item was requested to play.