TAccPolGenericID Class Reference

class TAccPolGenericID

Generic ID class definition. The Generic ID provides means to describe, detect, connect and control an enhancement without need to use HW and/or provider specific definitions.

AccPolicy.lib
Since
S60 3.1

Constructor & Destructor Documentation

TAccPolGenericID()

IMPORT_C TAccPolGenericID ( )

C++ default constructor.

Member Functions Documentation

ApplicationProtocolCaps(const TUint32)

IMPORT_C TBool ApplicationProtocolCaps ( const TUint32 aApplicationProtocolBitMask ) const

Tells whether the application protocol type(s) given as parameter are suppported by the accessory in question.

Since
S60 3.1

Parameters

const TUint32 aApplicationProtocolBitMask Application Protocol bitmask definition. Can contain one or more definitions if the given parameter is a result of OR -bit operation, for instance TUint32 KParamBitMask = KAPAT | KAPOBEX. Application Protocol bitmasks are defined in AccPolGenericID.h.

ApplicationProtocolCaps()

IMPORT_C TUint32 ApplicationProtocolCaps ( ) const

Returns the application protocol type(s) of the accessory in question.

Since
S60 3.1

DeviceAddress()

IMPORT_C TUint64 DeviceAddress ( ) const

Returns the device address for this accessory. Value can be 0, if accessory doesn't have device address.

Since
S60 3.1

DeviceTypeCaps(const TUint32)

IMPORT_C TBool DeviceTypeCaps ( const TUint32 aDeviceTypeBitMask ) const

Tells whether the device type(s) given as parameter are suppported by the accessory in question.

Since
S60 3.1

Parameters

const TUint32 aDeviceTypeBitMask Device type bitmask definition. Can contain one or more definitions if the given parameter is a result of OR -bit operation, for instance TUint32 KParamBitMask = KDTHeadset | KDTCarKit. Device type bitmasks are defined in AccPolGenericID.h.

DeviceTypeCaps()

IMPORT_C TUint32 DeviceTypeCaps ( ) const

Returns the device type(s) of the accessory in question.

Since
S60 3.1

HWDeviceID()

IMPORT_C TUint64 HWDeviceID ( ) const

Returns the hardware device specific identifier for this accessory. The form of identifier, and if it exists, depends on the accessory itself.

Since
S60 3.1

HWModelID()

IMPORT_C TPtrC HWModelID ( ) const

Returns the model identifier for this accessory. The form of identifier, and if it exists, depends on the accessory itself.

Since
S60 3.1

PhysicalConnectionCaps(const TUint32)

IMPORT_C TBool PhysicalConnectionCaps ( const TUint32 aPhysicalConnectionBitMask ) const

Tells whether the physical connection type(s) given as parameter are suppported by the accessory in question.

Since
S60 3.1

Parameters

const TUint32 aPhysicalConnectionBitMask Physical connection bitmask definition. Can contain one or more definitions if the given parameter is a result of OR -bit operation, for instance TUint32 KParamBitMask = KPCWired | KPCBluetooth. Physical connection bitmasks are defined in AccPolGenericID.h.

PhysicalConnectionCaps()

IMPORT_C TUint32 PhysicalConnectionCaps ( ) const

Returns the physical connection type(s) of the accessory in question.

Since
S60 3.1

SubblockCaps(const TUint64)

IMPORT_C TBool SubblockCaps ( const TUint64 aCapabilityGroupBitMask ) const

Tells whether the capability group(s) given as parameter are suppported by the accessory in question.

Since
S60 3.1

Parameters

const TUint64 aCapabilityGroupBitMask Capability group bitmask definition. Can contain one or more definitions if the given parameter is a result of OR -bit operation, for instance TUint32 KParamBitMask = KSBAudioSubblock | KSBVideoSubblock. Capability group bitmasks are defined in AccPolGenericID.h.

SubblockCaps()

IMPORT_C TUint64 SubblockCaps ( ) const

Returns all the supported capability groups of the accessory in question.

Since
S60 3.1

UniqueID()

IMPORT_C TInt UniqueID ( ) const

Returns the unique identifier of this Generic ID.

Since
S60 3.1

Member Data Documentation

TAccPolGIDHeader iStaticAttributes

TAccPolGIDHeader iStaticAttributes [private]