Public Member Functions | |
void | onReceive (Context context, Intent intent) |
Protected Member Functions | |
abstract Class<?> | getAndroidServiceClass () |
List< String > | getNotRequiredPermissions () |
Override this method to declare some permissions as not required. | |
List< String > | getRequiredPermissions () |
Override this method to declare the required permissions. | |
ServiceStarter | getServiceStarter () |
Override this to provide your own ServiceStarter implementation. | |
void | startAndroidService (Context context) |
Starts the android service. | |
|
protected |
Override this method to declare some permissions as not required.
When checking/requesting the permissions, these permissions will be excluded from the list of required permissions. Thus, they won't be checked/requested.
|
protected |
Override this method to declare the required permissions.
If this method is not overridden or if it returns null then the required permissions are taken from the app's AndroidManifest.xml file.
|
protected |
Override this to provide your own ServiceStarter implementation.
This is used by the default implementation of startAndroidService().
|
protected |
Starts the android service.
Override this if you want to customize how the service is started.