|
||
class MBluetoothSynchronousLinkNotifier;
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.
Defined in MBluetoothSynchronousLinkNotifier
:
HandleAcceptConnectionCompleteL(TInt)
Notification that a synchronous link (SCO) has been acceptedHandleDisconnectionCompleteL(TInt)
Notification that a synchronous link (SCO) has disconnectedHandleReceiveCompleteL(TInt)
Notification of a receive complete eventHandleSendCompleteL(TInt)
Notification of a send complete eventHandleSetupConnectionCompleteL(TInt)
Notification that a synchronous link (SCO) has been set upMBSLN_ExtensionInterfaceL(TUid,void *&)
Returns a null aObject if the extension is not implemented, or a pointer to anot...virtual void HandleSetupConnectionCompleteL(TInt aErr)=0;
Notification that a synchronous link (SCO) has been set up
If no error is reported, then the synchronous link is ready for use.
Note: 1) Observe that although the function signature allows it, this function should not be allowed to leave as the error will be ignored.
Note: 2) The implementation of this function should NOT be used to delete the associated CBluetoothSynchronousLink
object.
|
virtual void HandleDisconnectionCompleteL(TInt aErr)=0;
Notification that a synchronous link (SCO) has disconnected
If no error is reported, then the synchronous link has been closed.
Note: 1) Observe that although the function signature allows it, this function should not be allowed to leave as the error will be ignored.
Note: 2) The implementation of this function should NOT be used to delete the associated CBluetoothSynchronousLink
object.
|
virtual void HandleAcceptConnectionCompleteL(TInt aErr)=0;
Notification that a synchronous link (SCO) has been accepted
If no error is reported, then we have accepted a request for a synchronous link. That synchronous link is ready for use.
Note: 1) Observe that although the function signature allows it, this function should not be allowed to leave as the error will be ignored.
Note: 2) The implementation of this function should NOT be used to delete the associated CBluetoothSynchronousLink
object.
|
virtual void HandleSendCompleteL(TInt aErr)=0;
Notification of a send complete event
If no error is reported, then an attempt to send synchronous (SCO) data (e.g. voice) over Bluetooth has succeeded.
Note: 1) Observe that although the function signature allows it, this function should not be allowed to leave as the error will be ignored.
Note: 2) The implementation of this function should NOT be used to delete the associated CBluetoothSynchronousLink
object.
|
virtual void HandleReceiveCompleteL(TInt aErr)=0;
Notification of a receive complete event
If no error is reported, then then we have successfully received a specified quantity of synchronous (SCO) data.
Note: 1) Observe that although the function signature allows it, this function should not be allowed to leave as the error will be ignored.
Note: 2) The implementation of this function should NOT be used to delete the associated CBluetoothSynchronousLink
object.
|
IMPORT_C virtual void MBSLN_ExtensionInterfaceL(TUid aInterface, void *&aObject);
Returns a null aObject if the extension is not implemented, or a pointer to another interface if it is.
|