CPlayerInfoTarget Class Reference
class CPlayerInfoTarget : public CRemConInterfaceBase
|
Client-instantiable class supporting player information responses. This is the container class for the three interface parts
Private Member Functions
|
|
CPlayerInfoTarget
(CRemConInterfaceSelector &,
MPlayerApplicationSettingsNotify
&)
|
TBool
|
AttributeSettingExists
(
TUint
)
|
TBool
|
AttributeValueCanBeSet
(
TUint
,
TUint
)
|
void
|
ConstructL
(
MPlayerCapabilitiesObserver
*&,
MPlayerApplicationSettingsObserver
*&,
MPlayerEventsObserver
*&)
|
MPlayerEventsObserver::TTargetBatteryStatus
|
DetectBatteryStatus
()
|
TInt
|
DoAddCompanyId
(
TInt
)
|
TInt
|
DoAddEvent
(
TRegisterNotificationEvent
)
|
void
|
DoClearCompanyIds
()
|
void
|
DoClearEvents
()
|
void
|
DoDefineAttributeL
(
TUint
,
TDesC8
&,
RArray
<
TUint
> &,
RArray
<
TPtrC8
> &,
TUint
)
|
void
|
DoPlaybackStatusChanged
(TPlaybackStatus)
|
TInt
|
DoRemoveCompanyID
(
TInt
)
|
TInt
|
DoRemoveEvent
(
TRegisterNotificationEvent
)
|
void
|
DoSetAttributeL
(
TUint
,
TUint
)
|
void
|
DoSetBatteryStatus
(TTargetBatteryStatus)
|
void
|
DoSetPlaybackPosition
(
TUint32
)
|
void
|
DoTrackChanged
(
TUint64
,
TUint32
)
|
void
|
DoTrackReachedEnd
()
|
void
|
DoTrackReachedStart
()
|
TAny
*
|
GetInterfaceIf
(
TUid
)
|
CPlayerApplicationSettings
*
|
GetSetting
(
TUint
)
|
TBool
|
IsValidAttributeValue
(
TUint
,
TUint
)
|
void
|
MrcibNewMessage
(
TUint
, const
TDesC8
&,
TRemConMessageSubType
)
|
void
|
ProcessGetCapabilities
(const
TDesC8
&)
|
void
|
ProcessGetCurrentPlayerApplicationValue
(const
TDesC8
&,
TInt
)
|
void
|
ProcessGetPlayStatus
()
|
void
|
ProcessGetPlayStatusUpdate
(const
TDesC8
&)
|
void
|
ProcessGetPlayerApplicationAttributeText
(const
TDesC8
&,
TInt
)
|
void
|
ProcessGetPlayerApplicationValueText
(const
TDesC8
&,
TInt
)
|
void
|
ProcessGetStatus
(
TUint
,
TRegisterNotificationEvent
)
|
void
|
ProcessGetStatusAndBeginObserving
(
TUint
,
TRegisterNotificationEvent
, const
TDesC8
&)
|
void
|
ProcessListPlayerApplicationAttributes
(
TInt
)
|
void
|
ProcessListPlayerApplicationValues
(const
TDesC8
&,
TInt
)
|
void
|
ProcessSetPlayerApplicationValue
(const
TDesC8
&,
TInt
)
|
void
|
SendError
(
TInt
,
TInt
)
|
void
|
SendError
(
TInt
,
TInt
,
TRemConMessageSubType
)
|
void
|
SendNotificationResponse
(
TRegisterNotificationEvent
,
TRemConMessageSubType
)
|
Inherited Functions
|
|
CBase::CBase()
|
|
CBase::Delete(CBase *)
|
|
CBase::Extension_(TUint,TAny *&,TAny *)
|
|
CBase::operator new(TUint)
|
|
CBase::operator new(TUint,TAny *)
|
|
CBase::operator new(TUint,TLeave)
|
|
CBase::operator new(TUint,TLeave,TUint)
|
|
CBase::operator new(TUint,TUint)
|
|
CBase::~CBase()
|
|
CRemConInterfaceBase::BaseConstructL()
|
|
CRemConInterfaceBase::BaseConstructL(RRemConInterfaceFeatures &)
|
|
CRemConInterfaceBase::BaseConstructL(RRemConInterfaceFeatures &,TBool)
|
|
CRemConInterfaceBase::Bulk()const
|
|
CRemConInterfaceBase::CRemConInterfaceBase(TUid,TUint,CRemConInterfaceSelector &,TRemConClientType)
|
|
CRemConInterfaceBase::Cancel()
|
|
CRemConInterfaceBase::InterfaceSelector()
|
|
CRemConInterfaceBase::InterfaceUid()const
|
|
CRemConInterfaceBase::MaxLength()const
|
|
CRemConInterfaceBase::Target(TRemConClientType)
|
|
CRemConInterfaceBase::Type()const
|
|
CRemConInterfaceBase::~CRemConInterfaceBase()
|
Constructor & Destructor Documentation
CPlayerInfoTarget(CRemConInterfaceSelector &, MPlayerApplicationSettingsNotify &)
Constructor. Constructs this interface.
~CPlayerInfoTarget()
IMPORT_C
|
~CPlayerInfoTarget
|
(
|
)
|
|
Member Functions Documentation
AttributeSettingExists(TUint)
TBool
|
AttributeSettingExists
|
(
|
TUint
|
anAttribute
|
)
|
[private]
|
AttributeValueCanBeSet(TUint, TUint)
TBool
|
AttributeValueCanBeSet
|
(
|
TUint
|
anAttributeId,
|
|
TUint
|
aAttributeValue
|
|
)
|
[private]
|
ConstructL(MPlayerCapabilitiesObserver *&, MPlayerApplicationSettingsObserver *&, MPlayerEventsObserver *&)
DoAddCompanyId(TInt)
TInt
|
DoAddCompanyId
|
(
|
TInt
|
aID
|
)
|
[private]
|
DoAddEvent(TRegisterNotificationEvent)
TInt
|
DoAddEvent
|
(
|
TRegisterNotificationEvent
|
aEvent
|
)
|
[private]
|
Parameters
TRegisterNotificationEvent
aEvent
|
|
DoClearCompanyIds()
void
|
DoClearCompanyIds
|
(
|
)
|
[private]
|
DoClearEvents()
void
|
DoClearEvents
|
(
|
)
|
[private]
|
DoDefineAttributeL(TUint, TDesC8 &, RArray< TUint > &, RArray< TPtrC8 > &, TUint)
DoPlaybackStatusChanged(TPlaybackStatus)
void
|
DoPlaybackStatusChanged
|
(
|
TPlaybackStatus
|
aStatus
|
)
|
[private]
|
DoRemoveCompanyID(TInt)
TInt
|
DoRemoveCompanyID
|
(
|
TInt
|
aID
|
)
|
[private]
|
DoRemoveEvent(TRegisterNotificationEvent)
TInt
|
DoRemoveEvent
|
(
|
TRegisterNotificationEvent
|
aEvent
|
)
|
[private]
|
Parameters
TRegisterNotificationEvent
aEvent
|
|
DoSetAttributeL(TUint, TUint)
void
|
DoSetAttributeL
|
(
|
TUint
|
aAttributeID,
|
|
TUint
|
aValue
|
|
)
|
[private]
|
DoSetBatteryStatus(TTargetBatteryStatus)
void
|
DoSetBatteryStatus
|
(
|
TTargetBatteryStatus
|
aBatteryStatus
|
)
|
[private]
|
Parameters
TTargetBatteryStatus aBatteryStatus
|
|
DoSetPlaybackPosition(TUint32)
void
|
DoSetPlaybackPosition
|
(
|
TUint32
|
aMilliseconds
|
)
|
[private]
|
DoTrackChanged(TUint64, TUint32)
void
|
DoTrackChanged
|
(
|
TUint64
|
aTrackId,
|
|
TUint32
|
aLengthInMilliseconds
|
|
)
|
[private]
|
DoTrackReachedEnd()
void
|
DoTrackReachedEnd
|
(
|
)
|
[private]
|
DoTrackReachedStart()
void
|
DoTrackReachedStart
|
(
|
)
|
[private]
|
GetInterfaceIf(TUid)
TAny
*
|
GetInterfaceIf
|
(
|
TUid
|
aUid
|
)
|
[private, virtual]
|
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.
IsValidAttributeValue(TUint, TUint)
TBool
|
IsValidAttributeValue
|
(
|
TUint
|
anAttributeId,
|
|
TUint
|
aAttributeValue
|
|
)
|
[private]
|
MrcibNewMessage(TUint, const TDesC8 &, TRemConMessageSubType)
void
|
MrcibNewMessage
|
(
|
TUint
|
aOperationId,
|
|
const
TDesC8
&
|
aData,
|
|
TRemConMessageSubType
|
aMsgSubType
|
|
)
|
[private]
|
Parameters
TUint
aOperationId
|
|
const
TDesC8
& aData
|
|
TRemConMessageSubType
aMsgSubType
|
|
NewL(CRemConInterfaceSelector &, MPlayerCapabilitiesObserver *&, MPlayerApplicationSettingsObserver *&, MPlayerEventsObserver *&, MPlayerApplicationSettingsNotify &)
Parameters
CRemConInterfaceSelector & aInterfaceSelector
|
The interface selector. The client must have created one of these first.
|
MPlayerCapabilitiesObserver
*& aPlayerCapabilitiesObserver
|
Returns a pointer to a MPlayerCapabilitiesObserver for this interface, owned by the CPlayerInfoTarget.
|
MPlayerApplicationSettingsObserver
*& aPlayerApplicationSettingsObserver
|
Returns a pointer to a MPlayerApplicationSettingsObserver for this interface, owned by the CPlayerInfoTarget
|
MPlayerEventsObserver
*& aPlayerEventsObserver
|
Returns a pointer to a MPlayerEventsObserver for this interface, owned by the CPlayerInfoTarget
|
MPlayerApplicationSettingsNotify
& aApplicationSettingNotifier
|
|
ProcessGetCapabilities(const TDesC8 &)
void
|
ProcessGetCapabilities
|
(
|
const
TDesC8
&
|
aData
|
)
|
[private]
|
ProcessGetCurrentPlayerApplicationValue(const TDesC8 &, TInt)
void
|
ProcessGetCurrentPlayerApplicationValue
|
(
|
const
TDesC8
&
|
aData,
|
|
TInt
|
aOperationId
|
|
)
|
[private]
|
ProcessGetPlayStatus()
void
|
ProcessGetPlayStatus
|
(
|
)
|
[private]
|
ProcessGetPlayStatusUpdate(const TDesC8 &)
void
|
ProcessGetPlayStatusUpdate
|
(
|
const
TDesC8
&
|
aData
|
)
|
[private]
|
ProcessGetPlayerApplicationAttributeText(const TDesC8 &, TInt)
void
|
ProcessGetPlayerApplicationAttributeText
|
(
|
const
TDesC8
&
|
aData,
|
|
TInt
|
aOperationId
|
|
)
|
[private]
|
ProcessGetPlayerApplicationValueText(const TDesC8 &, TInt)
void
|
ProcessGetPlayerApplicationValueText
|
(
|
const
TDesC8
&
|
aData,
|
|
TInt
|
aOperationId
|
|
)
|
[private]
|
ProcessGetStatus(TUint, TRegisterNotificationEvent)
void
|
ProcessGetStatus
|
(
|
TUint
|
aOperationId,
|
|
TRegisterNotificationEvent
|
aEventId
|
|
)
|
[private]
|
Parameters
TUint
aOperationId
|
|
TRegisterNotificationEvent
aEventId
|
|
ProcessGetStatusAndBeginObserving(TUint, TRegisterNotificationEvent, const TDesC8 &)
void
|
ProcessGetStatusAndBeginObserving
|
(
|
TUint
|
aOperationId,
|
|
TRegisterNotificationEvent
|
aEventId,
|
|
const
TDesC8
&
|
aData
|
|
)
|
[private]
|
Parameters
TUint
aOperationId
|
|
TRegisterNotificationEvent
aEventId
|
|
const
TDesC8
& aData
|
|
ProcessListPlayerApplicationAttributes(TInt)
void
|
ProcessListPlayerApplicationAttributes
|
(
|
TInt
|
aOperationId
|
)
|
[private]
|
ProcessListPlayerApplicationValues(const TDesC8 &, TInt)
void
|
ProcessListPlayerApplicationValues
|
(
|
const
TDesC8
&
|
aData,
|
|
TInt
|
aOperationId
|
|
)
|
[private]
|
ProcessSetPlayerApplicationValue(const TDesC8 &, TInt)
void
|
ProcessSetPlayerApplicationValue
|
(
|
const
TDesC8
&
|
aData,
|
|
TInt
|
aOperationId
|
|
)
|
[private]
|
SendError(TInt, TInt)
void
|
SendError
|
(
|
TInt
|
,
|
|
TInt
|
|
|
)
|
[private]
|
SendError(TInt, TInt, TRemConMessageSubType)
void
|
SendError
|
(
|
TInt
|
,
|
|
TInt
|
,
|
|
TRemConMessageSubType
|
aSubType
|
|
)
|
[private]
|
Parameters
TInt
|
|
TInt
|
|
TRemConMessageSubType
aSubType
|
|
SendNotificationResponse(TRegisterNotificationEvent, TRemConMessageSubType)
void
|
SendNotificationResponse
|
(
|
TRegisterNotificationEvent
|
aEventId,
|
|
TRemConMessageSubType
|
aMsgSubType
|
|
)
|
[private]
|
Parameters
TRegisterNotificationEvent
aEventId
|
|
TRemConMessageSubType
aMsgSubType
|
|
Member Data Documentation
MPlayerApplicationSettingsNotify & iApplicationSettingNotifier
TTargetBatteryStatus iBatteryStatus
TTargetBatteryStatus
|
iBatteryStatus
|
[private]
|
RArray< TInt > iCompanyIdList
TUint32
iLastNotifiedPlaybackPositionInMilliseconds
TUint32
|
iLastNotifiedPlaybackPositionInMilliseconds
|
[private]
|
TUint32
iLengthInMilliseconds
TUint32
|
iLengthInMilliseconds
|
[private]
|
RArray< TRegisterNotificationEvent > iPendingNotificationEventList
RArray
<
TRegisterNotificationEvent
>
|
iPendingNotificationEventList
|
[private]
|
TUint32
iPlayBackIntervalInMilliseconds
TUint32
|
iPlayBackIntervalInMilliseconds
|
[private]
|
TPlaybackStatus iPlayBackStatus
TPlaybackStatus
|
iPlayBackStatus
|
[private]
|
TUint32
iPlaybackPositionInMilliseconds
TUint32
|
iPlaybackPositionInMilliseconds
|
[private]
|
TBool
iPlaybackStatusUpdatePending
TBool
|
iPlaybackStatusUpdatePending
|
[private]
|
RHashMap< TInt, CPlayerApplicationSettings * > iPlayerApplicationSettings
TEventsMask * iSupportedNotificationEventList
TEventsMask
*
|
iSupportedNotificationEventList
|
[private]
|
TPlayPosition iTrackPosition
TPlayPosition
|
iTrackPosition
|
[private]
|
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.