MBluetoothSynchronousLinkNotifier Class Reference

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.

Member Functions Documentation

HandleAcceptConnectionCompleteL(TInt)

voidHandleAcceptConnectionCompleteL(TIntaErr)[pure virtual]

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.

2) The implementation of this function should NOT be used to delete the associated CBluetoothSynchronousLink object.

Parameters

TInt aErrthe returned error

HandleDisconnectionCompleteL(TInt)

voidHandleDisconnectionCompleteL(TIntaErr)[pure virtual]

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.

2) The implementation of this function should NOT be used to delete the associated CBluetoothSynchronousLink object.

Parameters

TInt aErrthe returned error

HandleReceiveCompleteL(TInt)

voidHandleReceiveCompleteL(TIntaErr)[pure virtual]

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.

2) The implementation of this function should NOT be used to delete the associated CBluetoothSynchronousLink object.

Parameters

TInt aErrthe returned error

HandleSendCompleteL(TInt)

voidHandleSendCompleteL(TIntaErr)[pure virtual]

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.

2) The implementation of this function should NOT be used to delete the associated CBluetoothSynchronousLink object.

Parameters

TInt aErrthe returned error

HandleSetupConnectionCompleteL(TInt)

voidHandleSetupConnectionCompleteL(TIntaErr)[pure virtual]

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.

2) The implementation of this function should NOT be used to delete the associated CBluetoothSynchronousLink object.

Parameters

TInt aErrthe returned error

MBSLN_ExtensionInterfaceL(TUid, void *&)

IMPORT_C voidMBSLN_ExtensionInterfaceL(TUidaInterface,
void *&aObject
)[virtual]

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

Parameters

TUid aInterfaceUID of the interface to return
void *& aObjectthe container for another interface as specified by aInterface