Package org.robolectric.shadows
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 Summary
Constructors Constructor Description ShadowSoundTriggerManager()
-
Method Summary
Modifier and Type Method Description protected android.hardware.soundtrigger.SoundTrigger.ModuleProperties
getModuleProperties()
void
setModuleProperties(android.hardware.soundtrigger.SoundTrigger.ModuleProperties moduleProperties)
SetSoundTrigger.ModuleProperties
, value will returned for the followinggetModuleProperties
call.
-
Constructor Details
-
ShadowSoundTriggerManager
public ShadowSoundTriggerManager()
-
-
Method Details
-
setModuleProperties
public void setModuleProperties(@Nullable android.hardware.soundtrigger.SoundTrigger.ModuleProperties moduleProperties)SetSoundTrigger.ModuleProperties
, value will returned for the followinggetModuleProperties
call. -
getModuleProperties
@Implementation(minSdk=30) protected android.hardware.soundtrigger.SoundTrigger.ModuleProperties getModuleProperties()
-