Package org.robolectric.shadows
Class ShadowAmbientDisplayConfiguration
java.lang.Object
org.robolectric.shadows.ShadowAmbientDisplayConfiguration
@Implements(className="android.hardware.display.AmbientDisplayConfiguration",
minSdk=29,
isInAndroidSdk=false)
public class ShadowAmbientDisplayConfiguration
extends Object
Shadow for
AmbientDisplayConfiguration
class.-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected boolean
protected boolean
protected boolean
protected boolean
protected String
static void
reset()
static void
setDozeAlwaysOnDisplayAvailable
(boolean dozeAlwaysOnDisplayAvailable) Overrides the available state for always on display.static void
setDozeComponent
(String dozeComponent) Overrides the string format of component for doze mode.
-
Constructor Details
-
ShadowAmbientDisplayConfiguration
public ShadowAmbientDisplayConfiguration()
-
-
Method Details
-
ambientDisplayComponent
-
alwaysOnAvailable
-
ambientDisplayAvailable
-
alwaysOnDisplayDebuggingEnabled
-
alwaysOnDisplayAvailable
-
setDozeComponent
Overrides the string format of component for doze mode. SeeambientDisplayComponent()
. -
setDozeAlwaysOnDisplayAvailable
public static void setDozeAlwaysOnDisplayAvailable(boolean dozeAlwaysOnDisplayAvailable) Overrides the available state for always on display. SeealwaysOnDisplayAvailable()
. -
reset
-