#include <btsdp.h>
class MSdpAgentNotifier |
Public Member Functions | |
---|---|
pure virtual void | AttributeRequestComplete(TSdpServRecordHandle, TInt) |
pure virtual void | AttributeRequestResult(TSdpServRecordHandle, TSdpAttributeID, CSdpAttrValue *) |
virtual IMPORT_C void | MSAN_ExtensionInterfaceL(TUid, void *&) |
pure virtual void | NextRecordRequestComplete(TInt, TSdpServRecordHandle, TInt) |
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()
void | AttributeRequestComplete | ( | TSdpServRecordHandle | , |
TInt | aError | |||
) | [pure virtual] |
Called when an attribute request (CSdpAgent::AttributeRequestL()) wants to signal the completion of a attribute request.
See also: CSdpAgent::AttributeRequestL()
Parameter | Description |
---|---|
aError | an error |
void | AttributeRequestResult | ( | TSdpServRecordHandle | aHandle, |
TSdpAttributeID | aAttrID, | |||
CSdpAttrValue * | aAttrValue | |||
) | [pure virtual] |
Called when an attribute request (CSdpAgent::AttributeRequestL()) wants to pass up a result.
See also: CSdpAgent::AttributeRequestL()
Parameter | Description |
---|---|
aHandle | Service record for which the query was made |
aAttrID | ID of the attribute obtained |
aAttrValue | Attribute value obtained |
IMPORT_C void | MSAN_ExtensionInterfaceL | ( | TUid | aInterface, |
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.
Parameter | Description |
---|---|
aInterface | UID of the interface to return |
aObject | the container for another interface as specified by aInterface |
void | NextRecordRequestComplete | ( | TInt | aError, |
TSdpServRecordHandle | aHandle, | |||
TInt | aTotalRecordsCount | |||
) | [pure virtual] |
Called when an service record request (CSdpAgent::NextRecordRequestComplete()) operation completes.
See also: CSdpAgent::NextRecordRequestL()
Parameter | Description |
---|---|
aError | KErrNone if successful; KErrEof if there are no more SDP records left to be read; or an SDP error. |
aHandle | Service record for which the query was made |
aTotalRecordsCount | Total number of matching records |