Class ShadowSoundTriggerManager

java.lang.Object
org.robolectric.shadows.ShadowSoundTriggerManager

@Implements(className="android.media.soundtrigger.SoundTriggerManager", minSdk=24, isInAndroidSdk=false) public final class ShadowSoundTriggerManager extends Object
A Shadow SoundTriggerManager in Android O+.
  • Constructor Details

    • ShadowSoundTriggerManager

      public ShadowSoundTriggerManager()
  • Method Details

    • setModuleProperties

      public void setModuleProperties(@Nullable android.hardware.soundtrigger.SoundTrigger.ModuleProperties moduleProperties)
      Set SoundTrigger.ModuleProperties, value will returned for the following getModuleProperties call.
    • getModuleProperties

      @Implementation(minSdk=30) protected android.hardware.soundtrigger.SoundTrigger.ModuleProperties getModuleProperties()