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_C RAccessoryConnectionBase ( ) [protected]

C++ default constructor.

Member Functions Documentation

GetSubblockNameArrayL(const TAccPolGenericID &, CAccPolSubblockNameArray &)

IMPORT_C void GetSubblockNameArrayL ( 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 & aGenericID Generic ID of the connected accessory.
CAccPolSubblockNameArray & aNameArray On return, contains array of supported capabilities.

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

IMPORT_C TInt GetValueL ( 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 & aGenericID Generic ID of the connected accessory.
const TAccPolNameRecord & aNameRecord Accessory capability.
TAccValueTypeTBool & aValue On return, contains the current value for the specific accessory capability.

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

IMPORT_C TInt GetValueL ( 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 & aGenericID Generic ID of the connected accessory.
const TAccPolNameRecord & aNameRecord Accessory capability.
TAccValueTypeTInt & aValue On return, contains the current value for the specific accessory capability.

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

IMPORT_C TInt GetValueL ( 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 & aGenericID Generic ID of the connected accessory.
const TAccPolNameRecord & aNameRecord Accessory capability.
TDes8 & aValue On return, contains the current value for the specific accessory capability.

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

IMPORT_C TInt GetValueL ( 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 & aGenericID Generic ID of the connected accessory.
const TAccPolNameRecord & aNameRecord Accessory capability.
CAccPolObjectCon & aValue On return, contains the current value for the specific accessory capability.