public interface ServiceConnector
Modifier and Type | Method and Description |
---|---|
void |
connect(OnServiceReadyListener onServiceReadyListener)
Attempts to connect ServiceConnector to backing Service.
|
void |
disconnect()
Disconnects the connector from backing service.
|
boolean |
isConnected()
Checks whether the connector is connected to backing service.
|
void connect(OnServiceReadyListener onServiceReadyListener) throws RemoteException
onServiceReadyListener
- the listener informing that connection
ends with success
(
).RemoteException
- thrown in case of connection
failureboolean isConnected()
void disconnect()