MSdpAgentNotifier Class Reference

#include <btsdp.h>

class MSdpAgentNotifier
Public Member Functions
pure virtual voidAttributeRequestComplete(TSdpServRecordHandle, TInt)
pure virtual voidAttributeRequestResult(TSdpServRecordHandle, TSdpAttributeID, CSdpAttrValue *)
virtual IMPORT_C voidMSAN_ExtensionInterfaceL(TUid, void *&)
pure virtual voidNextRecordRequestComplete(TInt, TSdpServRecordHandle, TInt)

Detailed Description

Handles responses to Bluetooth Service Discovery Protocol queries.

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

See also: CSdpAgent::AttributeRequestL()

Member Function 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.

See also: CSdpAgent::AttributeRequestL()

Parameters
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.

See also: CSdpAgent::AttributeRequestL()

Parameters
aHandleService record for which the query was made
aAttrIDID of the attribute obtained
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.

Parameters
aInterfaceUID of the interface to return
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.

See also: CSdpAgent::NextRecordRequestL()

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