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
All Methods Static Methods Instance Methods Concrete Methods 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 Detail
-
of
public static <T extends IntentService> IntentServiceController<T> of(T service, Intent intent)
-
bind
public IntentServiceController<T> bind()
-
create
public IntentServiceController<T> create()
- Specified by:
createin classComponentController<IntentServiceController<T extends IntentService>,T extends IntentService>
-
destroy
public IntentServiceController<T> destroy()
- Specified by:
destroyin classComponentController<IntentServiceController<T extends IntentService>,T extends IntentService>
-
rebind
public IntentServiceController<T> rebind()
-
startCommand
public IntentServiceController<T> startCommand(int flags, int startId)
-
unbind
public IntentServiceController<T> unbind()
-
handleIntent
public IntentServiceController<T> handleIntent()
-
-