MExtnDevicePropDp Class Reference

class MExtnDevicePropDp

Member Functions Documentation

GetDevPropertyDescL(const TMTPDevicePropertyCode, MMTPType **)

TInt GetDevPropertyDescL(const TMTPDevicePropertyCodeaPropCode,
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 TMTPDevicePropertyCodeaPropCode,
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(TMTPDevicePropertyCodeaPropCode,
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 TMTPDevicePropertyCodeaPropCode)[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)

voidSupported(TMTPSupportCategoryaCategory,
RArray< TUint > &aArray,
TMTPOperationalModeaMode
)[pure virtual]

This method returns the supported properties by extension plugin.

Parameters

TMTPSupportCategory aCategory
RArray< TUint > & aArray
TMTPOperationalMode aMode