Class ShadowVoiceInteractionService

    • Constructor Detail

      • ShadowVoiceInteractionService

        public ShadowVoiceInteractionService()
    • Method Detail

      • onReady

        @Implementation
        protected void onReady()
      • setUiHints

        @Implementation(minSdk=29)
        protected void setUiHints​(Bundle hints)
      • showSession

        @Implementation(minSdk=23)
        protected void showSession​(Bundle args,
                                   int flags)
      • isActiveService

        @Implementation
        protected static boolean isActiveService​(Context context,
                                                 ComponentName componentName)
      • getLastUiHintBundle

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

        @Nullable
        public Bundle getLastSessionBundle()
        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.