#include <playerinformationtarget.h>
Link against:
remconplayerinformation.lib
This item is not part of the S60 5th Edition SDK
class CPlayerInfoTarget : public CRemConInterfaceBase, public MRemConInterfaceIf2, private MPlayerCapabilitiesObserver, private
MPlayerApplicationSettingsObserver, private MPlayerEventsObserver;
Description
Client-instantiable class supporting player information responses. This is the container class for the three interface parts
Derivation
MPlayerEventsObserver
- This class supports the notification PDUs in AVRCP1.3 specification section 5.4,...
MPlayerApplicationSettingsObserver
- This class is for supporting the player application settings PDUs in AVRCP1.3 sp...
MPlayerCapabilitiesObserver
- This class is used to define the capabilities of the current application, and th...
MRemConInterfaceIf2
- No description.
CRemConInterfaceBase
- No description.
CPlayerInfoTarget
- Client-instantiable class supporting player information responses. This is the c...
Members
Defined in CPlayerInfoTarget
:
DoAddCompanyId(TInt)
DoAddEvent(TRegisterNotificationEvent)
DoClearCompanyIds()
DoClearEvents()
DoDefineAttributeL(TUint,TDesC8 &,RArray< TUint > &,RArray< TPtrC8 > &,TUint)
DoPlaybackStatusChanged(TPlaybackStatus)
DoRemoveCompanyID(TInt)
DoRemoveEvent(TRegisterNotificationEvent)
DoSetAttributeL(TUint,TUint)
DoSetBatteryStatus(TTargetBatteryStatus)
DoSetPlaybackPosition(TUint32)
DoTrackChanged(TUint64,TUint32)
DoTrackReachedEnd()
DoTrackReachedStart()
GetInterfaceIf(TUid)
Called by the interface selector to get a pointer to an object which implements ...
MrcibNewMessage(TUint,const TDesC8 &,TRemConMessageSubType)
Called when a message comes in for this interface.
NewL(CRemConInterfaceSelector &,MPlayerCapabilitiesObserver *&,MPlayerApplicationSettingsObserver *&,MPlayerEventsObserver
*&,MPlayerApplicationSettingsNotify &)
Factory function.
~CPlayerInfoTarget()
Destructor
Inherited from MPlayerApplicationSettingsObserver
:
Inherited from MPlayerCapabilitiesObserver
:
Inherited from MPlayerEventsObserver
:
Construction and destruction
NewL(CRemConInterfaceSelector &,MPlayerCapabilitiesObserver *&,MPlayerApplicationSettingsObserver *&,MPlayerEventsObserver
*&,MPlayerApplicationSettingsNotify &)
IMPORT_C static CPlayerInfoTarget* NewL(CRemConInterfaceSelector &aInterfaceSelector, MPlayerCapabilitiesObserver *&aPlayerCapabilitiesObserver,
MPlayerApplicationSettingsObserver *&aPlayerApplicationSettingsObserver, MPlayerEventsObserver *&aPlayerEventsObserver, MPlayerApplicationSettingsNotify
&aApplicationSettingNotifier);
Description
Factory function.
Parameters
Return value
IMPORT_C ~CPlayerInfoTarget();
Description
Destructor
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
MrcibNewMessage(TUint,const TDesC8 &,TRemConMessageSubType)
private: virtual void MrcibNewMessage(TUint aOperationId, const TDesC8 &aData, TRemConMessageSubType aMsgSubType);
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.
|
TRemConMessageSubType aMsgSubType |
|
|
DoDefineAttributeL(TUint,TDesC8 &,RArray< TUint > &,RArray< TPtrC8 > &,TUint)
private: virtual void DoDefineAttributeL(TUint aAttributeID, TDesC8 &aAttributeText, RArray< TUint > &aValues, RArray< TPtrC8
> &aValueTexts, TUint aInitialValue);
Description
Parameters
DoSetAttributeL(TUint,TUint)
private: virtual void DoSetAttributeL(TUint aAttributeID, TUint aValue);
Description
Parameters
DoPlaybackStatusChanged(TPlaybackStatus)
private: virtual void DoPlaybackStatusChanged(TPlaybackStatus aStatus);
Description
Parameters
DoTrackChanged(TUint64,TUint32)
private: virtual void DoTrackChanged(TUint64 aTrackId, TUint32 aLengthInMilliseconds);
Description
Parameters
private: virtual void DoTrackReachedEnd();
Description
private: virtual void DoTrackReachedStart();
Description
DoSetPlaybackPosition(TUint32)
private: virtual void DoSetPlaybackPosition(TUint32 aMilliseconds);
Description
Parameters
DoSetBatteryStatus(TTargetBatteryStatus)
private: virtual void DoSetBatteryStatus(TTargetBatteryStatus aBatteryStatus);
Description
Parameters
private: virtual void DoClearEvents();
Description
DoAddEvent(TRegisterNotificationEvent)
private: virtual TInt DoAddEvent(TRegisterNotificationEvent aEvent);
Description
Parameters
TRegisterNotificationEvent aEvent |
|
|
Return value
DoRemoveEvent(TRegisterNotificationEvent)
private: virtual TInt DoRemoveEvent(TRegisterNotificationEvent aEvent);
Description
Parameters
TRegisterNotificationEvent aEvent |
|
|
Return value
private: virtual void DoClearCompanyIds();
Description
private: virtual TInt DoAddCompanyId(TInt aID);
Description
Parameters
Return value
private: virtual TInt DoRemoveCompanyID(TInt aID);
Description
Parameters
Return value