java.lang.Object | |
↳ | android.support.v17.leanback.system.Settings |
Provides various preferences affecting Leanback runtime behavior.
Note this class is not thread safe and its methods should only be invoked from the UI thread
Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
String | PREFER_STATIC_SHADOWS |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns the boolean preference for the given key.
| |||||||||||
Returns the singleton Settings instance.
| |||||||||||
Sets the boolean preference for the given key.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Sets the boolean preference for the given key. If an app uses this api to override a default preference, it must do so on every activity create.