MSdpAgentNotifier Class Reference

class MSdpAgentNotifier

Handles responses to Bluetooth Service Discovery Protocol queries.

Clients that make queries through CSdpAgent must implement this interface to handle the responses.

CSdpAgent::AttributeRequestL()

Member Functions Documentation

AttributeRequestComplete(TSdpServRecordHandle, TInt)

voidAttributeRequestComplete(TSdpServRecordHandle,
TIntaError
)[pure virtual]

Called when an attribute request (CSdpAgent::AttributeRequestL()) wants to signal the completion of a attribute request.

CSdpAgent::AttributeRequestL()

Parameters

TSdpServRecordHandle
TInt aErroran error

AttributeRequestResult(TSdpServRecordHandle, TSdpAttributeID, CSdpAttrValue *)

voidAttributeRequestResult(TSdpServRecordHandleaHandle,
TSdpAttributeIDaAttrID,
CSdpAttrValue *aAttrValue
)[pure virtual]

Called when an attribute request (CSdpAgent::AttributeRequestL()) wants to pass up a result.

CSdpAgent::AttributeRequestL()

Parameters

TSdpServRecordHandle aHandleService record for which the query was made
TSdpAttributeID aAttrIDID of the attribute obtained
CSdpAttrValue * aAttrValueAttribute value obtained

MSAN_ExtensionInterfaceL(TUid, void *&)

IMPORT_C voidMSAN_ExtensionInterfaceL(TUidaInterface,
void *&aObject
)[virtual]

Returns a null aObject if the extension is not implemented, or a pointer to another interface if it is. This virtual function allows the M- classes to be extended in future in a binary compatible way by providing a method that clients can override in future to allow extra callbacks to be made via aObject.

Parameters

TUid aInterfaceUID of the interface to return
void *& aObjectthe container for another interface as specified by aInterface

NextRecordRequestComplete(TInt, TSdpServRecordHandle, TInt)

voidNextRecordRequestComplete(TIntaError,
TSdpServRecordHandleaHandle,
TIntaTotalRecordsCount
)[pure virtual]

Called when an service record request (CSdpAgent::NextRecordRequestComplete()) operation completes.

CSdpAgent::NextRecordRequestL()

Parameters

TInt aErrorKErrNone if successful; KErrEof if there are no more SDP records left to be read; or an SDP error.
TSdpServRecordHandle aHandleService record for which the query was made
TInt aTotalRecordsCountTotal number of matching records