MExtnDevicePropDp Class Reference

class MExtnDevicePropDp
Public Member Functions
TInt GetDevPropertyDescL (const TMTPDevicePropertyCode , MMTPType **)
TInt GetDevPropertyL (const TMTPDevicePropertyCode , MMTPType **)
TInt GetDevicePropertyContainerL ( TMTPDevicePropertyCode , MMTPType **)
TInt ResetDevPropertyL (const TMTPDevicePropertyCode )
TMTPResponseCode SetDevicePropertyL ()
void Supported ( TMTPSupportCategory , RArray < TUint > &, TMTPOperationalMode )

Member Functions Documentation

GetDevPropertyDescL(const TMTPDevicePropertyCode, MMTPType **)

TInt GetDevPropertyDescL ( const TMTPDevicePropertyCode aPropCode,
MMTPType ** aMMTPtype
) [pure virtual]

This interface method is designed to implement GetDevicePropDesc (Operation Code EMTPOpCodeGetDevicePropDesc). This operation returns the current property desc of the particular device property.

Parameters

const TMTPDevicePropertyCode aPropCode : device property code eg: PlaybackObject(D411)
MMTPType ** aMMTPtype : out param memory need to be allocated by the implementation. Owner ship of this param should be with allocator.

GetDevPropertyL(const TMTPDevicePropertyCode, MMTPType **)

TInt GetDevPropertyL ( const TMTPDevicePropertyCode aPropCode,
MMTPType ** aMMTPtype
) [pure virtual]

This interface method is designed to implement GetDevicePropValue (Operation Code EMTPOpCodeGetDevicePropValue). This operation returns the current value of the particular device property.

Parameters

const TMTPDevicePropertyCode aPropCode : device property code eg: PlaybackObject(D411)
MMTPType ** aMMTPtype : out param memory need to be allocated by the implementation. Owner ship of this param should be with allocator.

GetDevicePropertyContainerL(TMTPDevicePropertyCode, MMTPType **)

TInt GetDevicePropertyContainerL ( TMTPDevicePropertyCode aPropCode,
MMTPType ** aMMTPtype
) [pure virtual]

Parameters

TMTPDevicePropertyCode aPropCode
MMTPType ** aMMTPtype : out param memory need to be allocated by the implementation. Owner ship of this param should be with allocator. SetDevicePropertyL function uses the allocated memory to set the device property when a EMTPOpCodeSetDevicePropValue operation code comes.

ResetDevPropertyL(const TMTPDevicePropertyCode)

TInt ResetDevPropertyL ( const TMTPDevicePropertyCode aPropCode ) [pure virtual]

This interface method is designed to implement RessetDevicePropValue.

Parameters

const TMTPDevicePropertyCode aPropCode : device property code .

SetDevicePropertyL()

TMTPResponseCode SetDevicePropertyL ( ) [pure virtual]

This method sets the device property implemented by extension plugin.

Supported(TMTPSupportCategory, RArray< TUint > &, TMTPOperationalMode)

void Supported ( TMTPSupportCategory aCategory,
RArray < TUint > & aArray,
TMTPOperationalMode aMode
) [pure virtual]

This method returns the supported properties by extension plugin.

Parameters

TMTPSupportCategory aCategory
RArray < TUint > & aArray
TMTPOperationalMode aMode