public interface IConnectStateEventListener
Modifier and Type | Method and Description |
---|---|
void |
onStateChanged(ConnectState state,
java.lang.Object params)
Called when the connection state of the BaseTransport instance and the device changes.
|
void onStateChanged(ConnectState state, java.lang.Object params)
state
- A ConnectState enumeration that indicates the device and its connection status.params
- This parameter is used to transmit additional information that is generated
when the device and connection are changed.