Class ShadowVoiceInteractionService


  • @Implements(value=android.service.voice.VoiceInteractionService.class,
                minSdk=21)
    public class ShadowVoiceInteractionService
    extends ShadowService
    Shadow implementation of VoiceInteractionService.
    • Constructor Detail

      • ShadowVoiceInteractionService

        public ShadowVoiceInteractionService()
    • Method Detail

      • onReady

        @Implementation
        protected void onReady()
      • setUiHints

        @Implementation(minSdk=29)
        protected void setUiHints​(android.os.Bundle hints)
      • isActiveService

        @Implementation
        protected static boolean isActiveService​(android.content.Context context,
                                                 android.content.ComponentName componentName)
      • getPreviousUiHintBundles

        public java.util.List<android.os.Bundle> getPreviousUiHintBundles()
        Returns list of bundles provided with calls to setUiHints(Bundle bundle) in invocation order.
      • getLastUiHintBundle

        @Nullable
        public android.os.Bundle getLastUiHintBundle()
        Returns the last Bundle object set via setUiHints(Bundle bundle) or null if there wasn't any.
      • reset

        @Resetter
        public static void reset()
        Resets this shadow instance.