Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <btsdp.h>
Link against: sdpagent.lib

Class MSdpAgentNotifier

class MSdpAgentNotifier;

Description

Handles responses to Bluetooth Service Discovery Protocol queries.

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

Members

Defined in MSdpAgentNotifier:

See also:


Member functions


NextRecordRequestComplete(TInt,TSdpServRecordHandle,TInt)

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 if successful; KErrEof if there are no more SDP records left to be read; or an SDP error.

TSdpServRecordHandle aHandle

Service record for which the query was made

TInt aTotalRecordsCount

Total number of matching records

See also:


AttributeRequestResult(TSdpServRecordHandle,TSdpAttributeID,CSdpAttrValue *)

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

Description

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

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:


AttributeRequestComplete(TSdpServRecordHandle,TInt)

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

Description

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

Parameters

TSdpServRecordHandle

TInt aError

an error

See also:


MSAN_ExtensionInterfaceL(TUid,void *&)

IMPORT_C virtual void MSAN_ExtensionInterfaceL(TUid aInterface, void *&aObject);

Description

Returns a null aObject if the extension is not implemented, or a pointer to another interface if it is.

Parameters

TUid aInterface

UID of the interface to return

void *&aObject

the container for another interface as specified by aInterface