AmbientManager.ConfigurationDetails
public
static
interface
AmbientManager.ConfigurationDetails
| com.google.wear.services.ambient.AmbientManager.ConfigurationDetails |
Details provided to AmbientComponentListener.onEnterAmbient(ConfigurationDetails).
Summary
Public methods | |
|---|---|
abstract
boolean
|
isBurnInProtectionEnabled()
Check if ambient configuration supports burn-in protection. |
abstract
boolean
|
isLowBitDepthEnabled()
Check if ambient configuration supports low-bit color depth. |
Public methods
isBurnInProtectionEnabled
public abstract boolean isBurnInProtectionEnabled ()
Check if ambient configuration supports burn-in protection. Components should adjust layouts accordingly if supported - i.e. avoid the use of solid white areas and ensure that views are placed no less than 10 pixels from the edge of the display (views will be shifted).
| Returns | |
|---|---|
boolean |
true if burn-in protection is supported, otherwise false. |
isLowBitDepthEnabled
public abstract boolean isLowBitDepthEnabled ()
Check if ambient configuration supports low-bit color depth. Components should ensure that anti-aliasing is off while in ambient mode if supported.
| Returns | |
|---|---|
boolean |
true if low-bit color depth is supported, otherwise false. |