|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IServiceStateChangeListener
A listener that gets informed about any state changes of a service.
Field Summary | |
---|---|
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 |
Method Summary | |
---|---|
void |
serviceStateChanged(IService service,
int event)
Will be called to signal a state change of the given service. |
Field Detail |
---|
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
Method Detail |
---|
void serviceStateChanged(IService service, int event)
service
- The service that has been changedevent
- One of the SERVICE_XXX constants defined by this interface
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |