TAvdtpServiceCapability Class Reference

class TAvdtpServiceCapability

This is a base class for AVDTP Service Capabilities as described in the Bluetooth AVDTP specification. This can be derived externally, but no support is provided for Capabilities not described in v1.0 of the AVDTP specification. RGavdp

Public Member Functions
IMPORT_C TAvdtpServiceCapability * AllocFromPDUL ( TAvdtpServiceCategory , const TDesC8 &)
IMPORT_C TAvdtpServiceCapability * AllocFromPckgL (const TDesC8 &)
TInt AsProtocol ( RBuf8 &)
IMPORT_C TAvdtpServiceCategory Category ()
IMPORT_C void Parse (const TDesC8 &)
Protected Member Functions
TAvdtpServiceCapability ( TAvdtpServiceCategory , TInt )
TInt AddHeader ( RBuf8 &)
Protected Attributes
TInt iLOSC
Private Attributes
TAvdtpServiceCategory iCategory

Constructor & Destructor Documentation

TAvdtpServiceCapability(TAvdtpServiceCategory, TInt)

IMPORT_C TAvdtpServiceCapability ( TAvdtpServiceCategory aCat,
TInt aLOSC =  KMaxTInt
) [protected]

TAvdtpServiceCapability() is for Symbian use only

Parameters

TAvdtpServiceCategory aCat
TInt aLOSC =  KMaxTInt

Member Functions Documentation

AddHeader(RBuf8 &)

TInt AddHeader ( RBuf8 & aBuffer ) const [protected]

Parameters

RBuf8 & aBuffer

AllocFromPDUL(TAvdtpServiceCategory, const TDesC8 &)

IMPORT_C TAvdtpServiceCapability * AllocFromPDUL ( TAvdtpServiceCategory aCat,
const TDesC8 & aDes
) [static]

AllocFromPDUL() is for Symbian use only

Parameters

TAvdtpServiceCategory aCat
const TDesC8 & aDes

AllocFromPckgL(const TDesC8 &)

IMPORT_C TAvdtpServiceCapability * AllocFromPckgL ( const TDesC8 & aDes ) [static]

AllocFromPckgL() is for Symbian use only

Parameters

const TDesC8 & aDes

AsProtocol(RBuf8 &)

TInt AsProtocol ( RBuf8 & aBuffer ) const [pure virtual]

AsProtocol() is for Symbian use only This method is not to be used otherwise.

Parameters

RBuf8 & aBuffer

Category()

IMPORT_C TAvdtpServiceCategory Category ( ) const

Returns the category TAvdtpServiceCategory

Parse(const TDesC8 &)

IMPORT_C void Parse ( const TDesC8 & aPtr ) [virtual]

Parse() is for Symbian use only This method is not to be used otherwise.

Parameters

const TDesC8 & aPtr

Member Data Documentation

TAvdtpServiceCategory iCategory

TAvdtpServiceCategory iCategory [private]

TInt iLOSC

TInt iLOSC [protected]