class MBTEngPluginObserver |
Class MBTEngConnObserver
Callback class for receiving CBTEngPlugin events for connect/disconnect complete events.
Public Member Functions | |
---|---|
void | ConnectComplete(const TBTDevAddr &, TBTProfile, TInt, RBTDevAddrArray *) |
void | DisconnectComplete(const TBTDevAddr &, TBTProfile, TInt) |
void | ConnectComplete | ( | const TBTDevAddr & | aAddr, |
TBTProfile | aProfile, | |||
TInt | aErr, | |||
RBTDevAddrArray * | aConflicts = NULL | |||
) | [pure virtual] |
Indicates to the caller that a service-level connection has completed. This function is called for both incoming and outgoing connections. This function is also called when an outgoing connection request fails, e.g. with error code KErrCouldNotConnect. Profiles are identified by the SDP Service Class UUID (short form), as assigned by the Bluetooth SIG.
The caller of this function must be ready to receive new commands on the CBTEngPlugin interface during execution of this function i.e. it should have released all resources relating to execution of such commands.
const TBTDevAddr & aAddr | The address of the remote device. |
TBTProfile aProfile | Identifier for the service-level connection. |
TInt aErr | Status information, if there is an error. |
RBTDevAddrArray * aConflicts = NULL | If there already is a connection for the selected profile(s) of an outgoing connection request, then this array contains the bluetooth device addresses of the remote devices for those connections. |
void | DisconnectComplete | ( | const TBTDevAddr & | aAddr, |
TBTProfile | aProfile, | |||
TInt | aErr | |||
) | [pure virtual] |
Indicates to the caller that a service-level connection has disconnected.
The caller of this function must be ready to receive new commands on the CBTEngPlugin interface during execution of this function i.e. it should have released all resources relating to execution of such commands.
const TBTDevAddr & aAddr | The address of the remote device. |
TBTProfile aProfile | Identifier for the service-level connection. |
TInt aErr | Status information, if there is an error. |
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.