#include <bt_sock.h>
class MBluetoothSynchronousLinkNotifier |
Public Member Functions | |
---|---|
pure virtual void | HandleAcceptConnectionCompleteL(TInt) |
pure virtual void | HandleDisconnectionCompleteL(TInt) |
pure virtual void | HandleReceiveCompleteL(TInt) |
pure virtual void | HandleSendCompleteL(TInt) |
pure virtual void | HandleSetupConnectionCompleteL(TInt) |
virtual IMPORT_C void | MBSLN_ExtensionInterfaceL(TUid, void *&) |
SCO and eSCO link notification events.
This allows for notification of Connect, Disconnect, Send and Receive events relating to SCO and eSCO links.
Mixin class to be used with CBluetoothSynchronousLink Note that although the function signatures allow it, these functions should not be allowed to leave as the error will be ignored.
void | HandleAcceptConnectionCompleteL | ( | TInt | aErr | ) | [pure virtual] |
Notification that a synchronous link (SCO) has been accepted
1) Observe that although the function signature allows it, this function should not be allowed to leave as the error will be ignored.
2) The implementation of this function should NOT be used to delete the associated CBluetoothSynchronousLink object.
Parameters | |
---|---|
aErr | the returned error |
void | HandleDisconnectionCompleteL | ( | TInt | aErr | ) | [pure virtual] |
Notification that a synchronous link (SCO) has disconnected
1) Observe that although the function signature allows it, this function should not be allowed to leave as the error will be ignored.
2) The implementation of this function should NOT be used to delete the associated CBluetoothSynchronousLink object.
Parameters | |
---|---|
aErr | the returned error |
void | HandleReceiveCompleteL | ( | TInt | aErr | ) | [pure virtual] |
Notification of a receive complete event
1) Observe that although the function signature allows it, this function should not be allowed to leave as the error will be ignored.
2) The implementation of this function should NOT be used to delete the associated CBluetoothSynchronousLink object.
Parameters | |
---|---|
aErr | the returned error |
void | HandleSendCompleteL | ( | TInt | aErr | ) | [pure virtual] |
Notification of a send complete event
1) Observe that although the function signature allows it, this function should not be allowed to leave as the error will be ignored.
2) The implementation of this function should NOT be used to delete the associated CBluetoothSynchronousLink object.
Parameters | |
---|---|
aErr | the returned error |
void | HandleSetupConnectionCompleteL | ( | TInt | aErr | ) | [pure virtual] |
Notification that a synchronous link (SCO) has been set up
1) Observe that although the function signature allows it, this function should not be allowed to leave as the error will be ignored.
2) The implementation of this function should NOT be used to delete the associated CBluetoothSynchronousLink object.
Parameters | |
---|---|
aErr | the returned error |
IMPORT_C void | MBSLN_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.
Parameters | |
---|---|
aInterface | UID of the interface to return |
aObject | the container for another interface as specified by aInterface |