RAccessoryConnectionBase Class Reference

class RAccessoryConnectionBase : public RAccessorySubsessionBase

Base class for Accessory Server RAccessoryConnection and RAccessorySingleConnection sub-sessions.

This class is not intended for user derivation.

AccClient.lib
Since
S60 3.1

Inherits from

Constructor & Destructor Documentation

RAccessoryConnectionBase()

IMPORT_CRAccessoryConnectionBase()[protected]

C++ default constructor.

Member Functions Documentation

GetSubblockNameArrayL(const TAccPolGenericID &, CAccPolSubblockNameArray &)

IMPORT_C voidGetSubblockNameArrayL(const TAccPolGenericID &aGenericID,
CAccPolSubblockNameArray &aNameArray
)const

Get supported capabilities for the connected accessory.

Since
S60 3.1
Exceptions
system-wide

error code if failed. Specifically: KErrArgument if an argument is out of range

GetValueL AccPolCommonNameValuePairs.h AccPolProprietaryNameValuePairs.h

Parameters

const TAccPolGenericID & aGenericIDGeneric ID of the connected accessory.
CAccPolSubblockNameArray & aNameArrayOn return, contains array of supported capabilities.

GetValueL(const TAccPolGenericID &, const TAccPolNameRecord &, TAccValueTypeTBool &)

IMPORT_C TIntGetValueL(const TAccPolGenericID &aGenericID,
const TAccPolNameRecord &aNameRecord,
TAccValueTypeTBool &aValue
)const

Get the value for the specific accessory capability.

Accessory capability name constants and value types are defined in AccPolCommonNameValuePairs.h and AccPolProprietaryNameValuePairs.h.

Since
S60 3.1
Exceptions
system-wide

error code if failed. Specifically: KErrArgument if an argument is out of range.

GetSubblockNameArrayL() AccPolCommonNameValuePairs.h AccPolProprietaryNameValuePairs.h AccPolGenericid.h

Parameters

const TAccPolGenericID & aGenericIDGeneric ID of the connected accessory.
const TAccPolNameRecord & aNameRecordAccessory capability.
TAccValueTypeTBool & aValueOn return, contains the current value for the specific accessory capability.

GetValueL(const TAccPolGenericID &, const TAccPolNameRecord &, TAccValueTypeTInt &)

IMPORT_C TIntGetValueL(const TAccPolGenericID &aGenericID,
const TAccPolNameRecord &aNameRecord,
TAccValueTypeTInt &aValue
)const

Get the value for the specific accessory capability.

Accessory capability name constants and value types are defined in AccPolCommonNameValuePairs.h and AccPolProprietaryNameValuePairs.h.

Since
S60 3.1
Exceptions
system-wide

error code if failed. Specifically: KErrArgument if an argument is out of range.

GetSubblockNameArrayL() AccPolCommonNameValuePairs.h AccPolProprietaryNameValuePairs.h AccPolGenericid.h

Parameters

const TAccPolGenericID & aGenericIDGeneric ID of the connected accessory.
const TAccPolNameRecord & aNameRecordAccessory capability.
TAccValueTypeTInt & aValueOn return, contains the current value for the specific accessory capability.

GetValueL(const TAccPolGenericID &, const TAccPolNameRecord &, TDes8 &)

IMPORT_C TIntGetValueL(const TAccPolGenericID &aGenericID,
const TAccPolNameRecord &aNameRecord,
TDes8 &aValue
)const

Get the value for the specific accessory capability.

Accessory capability name constants and value types are defined in AccPolCommonNameValuePairs.h and AccPolProprietaryNameValuePairs.h.

Since
S60 3.1
Exceptions
system-wide

error code if failed. Specifically: KErrArgument if an argument is out of range.

GetSubblockNameArrayL() AccPolCommonNameValuePairs.h AccPolProprietaryNameValuePairs.h AccPolGenericid.h

Parameters

const TAccPolGenericID & aGenericIDGeneric ID of the connected accessory.
const TAccPolNameRecord & aNameRecordAccessory capability.
TDes8 & aValueOn return, contains the current value for the specific accessory capability.

GetValueL(const TAccPolGenericID &, const TAccPolNameRecord &, CAccPolObjectCon &)

IMPORT_C TIntGetValueL(const TAccPolGenericID &aGenericID,
const TAccPolNameRecord &aNameRecord,
CAccPolObjectCon &aValue
)const

Get the value for the specific accessory capability.

Accessory capability name constants and value types are defined in AccPolCommonNameValuePairs.h and AccPolProprietaryNameValuePairs.h.

Exceptions
system-wide

error code if failed. Specifically: KErrArgument if an argument is out of range.

accpolobjectbase.h accpolobjectcon.h AccPolCommonNameValuePairs.h

Parameters

const TAccPolGenericID & aGenericIDGeneric ID of the connected accessory.
const TAccPolNameRecord & aNameRecordAccessory capability.
CAccPolObjectCon & aValueOn return, contains the current value for the specific accessory capability.