Location:
bt_sock.h
Link against: bluetooth.lib
class MBluetoothPhysicalLinksNotifier;
This allows for notifications of Physical link connections & disconnections
Mixin class to be used with CBluetoothPhysicalLinks
Defined in MBluetoothPhysicalLinksNotifier
:
HandleCreateConnectionCompleteL()
, HandleDisconnectAllCompleteL()
, HandleDisconnectCompleteL()
, MBPLN_ExtensionInterfaceL()
virtual void HandleCreateConnectionCompleteL(TInt aErr)=0;
Notification of a requested connection coming up
If no error is reported, then that connection is ready for use.
Note: 1) While this function may leave, any errors are ignored. Implementers are responsible for performing their own cleanup prior to exiting the function.
Note: 2) The implementation of this function should NOT be used to delete the associated CBluetoothPhysicalLinks
object.
|
virtual void HandleDisconnectCompleteL(TInt aErr)=0;
Notification of a requested disconnection having taken place
If no error is reported, then that connection has been closed.
Note: 1) While this function may leave, any errors are ignored. Implementers are responsible for performing their own cleanup prior to exiting the function.
Note: 2) The implementation of this function should NOT be used to delete the associated CBluetoothPhysicalLinks
object.
|
virtual void HandleDisconnectAllCompleteL(TInt aErr)=0;
Notification that all existing connections have been torn down
If no error is reported, then there are no Bluetooth connections existing.
Note: 1) While this function may leave, any errors are ignored. Implementers are responsible for performing their own cleanup prior to exiting the function.
Note: 2) The implementation of this function should NOT be used to delete the associated CBluetoothPhysicalLinks
object.
|
virtual IMPORT_C void MBPLN_ExtensionInterfaceL(TUid aInterface, void *&aObject);
Returns a null aObject if the extension is not implemented, or a pointer to another interface if it is.
|