Class IntentServiceController<T extends IntentService>
java.lang.Object
org.robolectric.android.controller.ComponentController<IntentServiceController<T>,T>
org.robolectric.android.controller.IntentServiceController<T>
public class IntentServiceController<T extends IntentService> extends ComponentController<IntentServiceController<T>,T>
-
Field Summary
Fields inherited from class org.robolectric.android.controller.ComponentController
attached, component, intent, myself, shadowMainLooper
-
Method Summary
Modifier and Type Method Description IntentServiceController<T>
bind()
IntentServiceController<T>
create()
IntentServiceController<T>
destroy()
IntentServiceController<T>
handleIntent()
static <T extends IntentService>
IntentServiceController<T>of(T service, Intent intent)
IntentServiceController<T>
rebind()
IntentServiceController<T>
startCommand(int flags, int startId)
IntentServiceController<T>
unbind()
Methods inherited from class org.robolectric.android.controller.ComponentController
get, getIntent, invokeWhilePaused, invokeWhilePaused
-
Method Details
-
of
-
bind
-
create
- Specified by:
create
in classComponentController<IntentServiceController<T extends IntentService>,T extends IntentService>
-
destroy
- Specified by:
destroy
in classComponentController<IntentServiceController<T extends IntentService>,T extends IntentService>
-
rebind
-
startCommand
-
unbind
-
handleIntent
-