Package org.robolectric.shadows
Class ShadowVoiceInteractionService
java.lang.Object
org.robolectric.shadows.ShadowContextWrapper
org.robolectric.shadows.ShadowService
org.robolectric.shadows.ShadowVoiceInteractionService
@Implements(android.service.voice.VoiceInteractionService.class)
public class ShadowVoiceInteractionService
extends ShadowService
Shadow implementation of
VoiceInteractionService.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionReturns the last Bundle object set viasetUiHints(Bundle bundle)or null if there wasn't any.Returns the last Bundle object set viasetUiHints(Bundle bundle)or null if there wasn't any.Returns list of bundles provided with calls tosetUiHints(Bundle bundle)in invocation order.static voidsetActiveService(ComponentName activeService) Sets return value forVoiceInteractionService.isActiveService(Context context, ComponentName componentName)method.protected voidsetUiHints(Bundle hints) protected voidshowSession(Bundle args, int flags) Methods inherited from class org.robolectric.shadows.ShadowService
getForegroundServiceType, getLastForegroundNotification, getLastForegroundNotificationId, getNotificationShouldRemoved, getStopSelfId, getStopSelfResultId, isForegroundStopped, isLastForegroundNotificationAttached, isStoppedBySelf, onDestroy, setThrowInStartForeground, startForeground, startForeground, stopForeground, stopForeground, stopSelf, stopSelf, stopSelfResultMethods inherited from class org.robolectric.shadows.ShadowContextWrapper
clearBroadcastIntents, clearNextStartedActivities, clearStartedServices, denyPermissions, denyPermissions, getAllStartedServices, getBroadcastIntents, getBroadcastIntentsForUser, getBroadcastOptions, getNextStartedActivity, getNextStartedActivityForResult, getNextStartedService, getNextStoppedService, grantPermissions, grantPermissions, peekNextStartedActivity, peekNextStartedActivityForResult, peekNextStartedService, removeSystemService
-
Constructor Details
-
ShadowVoiceInteractionService
public ShadowVoiceInteractionService()
-
-
Method Details
-
setActiveService
Sets return value forVoiceInteractionService.isActiveService(Context context, ComponentName componentName)method. -
setUiHints
-
showSession
-
getPreviousUiHintBundles
Returns list of bundles provided with calls tosetUiHints(Bundle bundle)in invocation order. -
getLastUiHintBundle
Returns the last Bundle object set viasetUiHints(Bundle bundle)or null if there wasn't any. -
getLastSessionBundle
Returns the last Bundle object set viasetUiHints(Bundle bundle)or null if there wasn't any.
-