added in version 27.1.0
belongs to Maven artifact com.android.support:wear:28.0.0-alpha1
belongs to Maven artifact com.android.support:wear:28.0.0-alpha1
AmbientMode.AmbientController
public
final
class
AmbientMode.AmbientController
extends Object
java.lang.Object | |
↳ | android.support.wear.ambient.AmbientMode.AmbientController |
A class for interacting with the ambient mode on a wearable device. This class can be used to
query the current state of ambient mode. An instance of this class is returned to the user
when they attach their Activity
to AmbientMode
.
Summary
Public methods | |
---|---|
boolean
|
isAmbient()
|
Inherited methods | |
---|---|
From
class
java.lang.Object
|
Public methods
isAmbient
added in version 27.1.0
boolean isAmbient ()
Returns | |
---|---|
boolean |
true if the activity is currently in ambient.
|