public abstract class AbstractServiceConnector extends java.lang.Object implements ServiceConnector
| Modifier and Type | Field and Description |
|---|---|
protected android.content.Context |
context
The Context instance.
|
| Modifier | Constructor and Description |
|---|---|
protected |
AbstractServiceConnector(android.content.Context context,
java.lang.String[] permissions,
java.lang.String[] permissionsMarshmallow)
Instantiates a new Abstract service connector.
|
| Modifier and Type | Method and Description |
|---|---|
protected void |
checkPermissions()
Checks specific permissions under which Service connector works.
|
void |
disconnect()
Disconnects the connector from backing service.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconnect, isConnectedprotected AbstractServiceConnector(android.content.Context context,
java.lang.String[] permissions,
java.lang.String[] permissionsMarshmallow)
context - the contextpermissions - the permissionspublic void disconnect()
ServiceConnectordisconnect in interface ServiceConnectorprotected void checkPermissions()