Class ShadowAlwaysOnHotwordDetector.ShadowRefreshAvailabilityTask<Params,Progress,Result>

java.lang.Object
org.robolectric.shadows.ShadowAsyncTask
org.robolectric.shadows.ShadowPausedAsyncTask<Params,Progress,Result>
org.robolectric.shadows.ShadowAlwaysOnHotwordDetector.ShadowRefreshAvailabilityTask<Params,Progress,Result>
Enclosing class:
ShadowAlwaysOnHotwordDetector

@Implements(className="android.service.voice.AlwaysOnHotwordDetector$RefreshAvailabiltyTask", minSdk=21, maxSdk=33, isInAndroidSdk=false) public static class ShadowAlwaysOnHotwordDetector.ShadowRefreshAvailabilityTask<Params,Progress,Result> extends ShadowPausedAsyncTask<Params,Progress,Result>
Shadow for AsyncTask kicked off in the constructor of AlwaysOnHotwordDetector.
  • Constructor Details

    • ShadowRefreshAvailabilityTask

      public ShadowRefreshAvailabilityTask()
  • Method Details

    • internalGetInitialAvailability

      @Implementation protected int internalGetInitialAvailability()
    • internalGetIsEnrolled

      @Implementation protected boolean internalGetIsEnrolled(int keyphraseId, Locale locale)
    • internalUpdateEnrolledKeyphraseMetadata

      @Implementation(minSdk=30) protected void internalUpdateEnrolledKeyphraseMetadata()