Symbian Developer Library

SYMBIAN OS V6.1 EDITION FOR C++

[Index] [Glossary] [Previous] [Next]



Location: btsdp.h
Link against: bluetooth.lib

Class MSdpAgentNotifier

MSdpAgentNotifier

Support

Supported from 6.1

Description

Handles responses to Bluetooth Service Discovery Protocol queries.

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

Defined in MSdpAgentNotifier:
AttributeRequestComplete(), AttributeRequestResult(), NextRecordRequestComplete()


AttributeRequestComplete()

virtual void AttributeRequestComplete(TSdpServRecordHandle aHandle, TInt aError) = 0;

Description

Called when an attribute request (CSdpAgent::AttributeRequestL()) finds that there are no more attributes to be returned.

Parameters

TSdpServRecordHandle aHandle

Service record for which the query was made

TInt aError

KErrNone, or an SDP error

See also:

[Top]


AttributeRequestResult()

virtual void AttributeRequestResult(TSdpServRecordHandle aHandle, TSdpAttributeID aAttrID, CSdpAttrValue* aAttrValue) = 0;

Description

Called by the attribute request function (CSdpAgent::AttributeRequestL()) to pass the results of a successful attribute request.

Parameters

TSdpServRecordHandle aHandle

Service record for which the query was made

TSdpAttributeID aAttrID

ID of the attribute obtained

CSdpAttrValue* aAttrValue

Attribute value obtained

See also:

[Top]


NextRecordRequestComplete()

virtual void NextRecordRequestComplete(TInt aError, TSdpServRecordHandle aHandle, TInt aTotalRecordsCount) = 0;

Description

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

Parameters

TInt aError

KErrNone, or an SDP error

TSdpServRecordHandle aHandle

Service record for which the query was made

TInt aTotalRecordsCount

Total number of matching records

See also: