public interface Stopable
Modifier and Type | Method and Description |
---|---|
void |
onServiceStop()
Called when the service is about to stop.
|
int |
timeToWait()
How long should the ServiceStopper wait (in milliseconds) for the stop thread to die?
0 waits for ever.
|
void onServiceStop()
int timeToWait()