public interface IServiceStateChangeListener
Modifier and Type | Field and Description |
---|---|
static int |
FIRST_CUSTOM_STATE
Any custom state value should be defined as addition of this constant
plus any integer value
|
static int |
SERVICE_RESUMED
Indicates that the service has been resumed
|
static int |
SERVICE_STARTED
Indicates that the service has been started
|
static int |
SERVICE_STOPPED
Indicates that the service has been stopped
|
static int |
SERVICE_SUSPENDED
Indicates that the service has been suspended
|
Modifier and Type | Method and Description |
---|---|
void |
serviceStateChanged(IService service,
int event)
Will be called to signal a state change of the given service.
|
static final int SERVICE_STARTED
static final int SERVICE_STOPPED
static final int SERVICE_SUSPENDED
static final int SERVICE_RESUMED
static final int FIRST_CUSTOM_STATE
void serviceStateChanged(IService service, int event)
service
- The service that has been changedevent
- One of the SERVICE_XXX constants defined by this interface