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_CTAccPolGenericID()

C++ default constructor.

Member Functions Documentation

ApplicationProtocolCaps(const TUint32)

IMPORT_C TBoolApplicationProtocolCaps(const TUint32aApplicationProtocolBitMask)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 aApplicationProtocolBitMaskApplication 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 TUint32ApplicationProtocolCaps()const

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

Since
S60 3.1

DeviceAddress()

IMPORT_C TUint64DeviceAddress()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 TBoolDeviceTypeCaps(const TUint32aDeviceTypeBitMask)const

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

Since
S60 3.1

Parameters

const TUint32 aDeviceTypeBitMaskDevice 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 TUint32DeviceTypeCaps()const

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

Since
S60 3.1

HWDeviceID()

IMPORT_C TUint64HWDeviceID()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 TPtrCHWModelID()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 TBoolPhysicalConnectionCaps(const TUint32aPhysicalConnectionBitMask)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 aPhysicalConnectionBitMaskPhysical 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 TUint32PhysicalConnectionCaps()const

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

Since
S60 3.1

SubblockCaps(const TUint64)

IMPORT_C TBoolSubblockCaps(const TUint64aCapabilityGroupBitMask)const

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

Since
S60 3.1

Parameters

const TUint64 aCapabilityGroupBitMaskCapability 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 TUint64SubblockCaps()const

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

Since
S60 3.1

UniqueID()

IMPORT_C TIntUniqueID()const

Returns the unique identifier of this Generic ID.

Since
S60 3.1

Member Data Documentation

TAccPolGIDHeader iStaticAttributes

TAccPolGIDHeader iStaticAttributes[private]