public final class ActivityPreferences extends AbstractObjectPreferences
Modifier and Type | Class and Description |
---|---|
static class |
ActivityPreferences.Initializer
Used to aid in default activity preferences initialization.
|
static class |
ActivityPreferences.Keys |
AbstractPreferences.Scope
Modifier and Type | Method and Description |
---|---|
static ActivityPreferences |
getDefault()
Gets default scoped core preferences.
|
Options |
getListenerDefaultOptions()
Gets default activity listener options.
|
static ActivityPreferences |
getShared()
Gets configuration scoped core preferences.
|
void |
setListenerDefaultOptions(Options options)
Sets default activity listener options.
|
getObject, putObject, toString, toStringHelper
clear, flush, node, scope, synchronize, toString
public static ActivityPreferences getDefault()
public static ActivityPreferences getShared()
public void setListenerDefaultOptions(Options options)
options
- default activity listener optionsjava.lang.ClassCastException
- if options type is invalidjava.lang.NullPointerException
- if options is null
public Options getListenerDefaultOptions()
java.lang.ClassCastException
- if options type is invalidjava.lang.IllegalStateException
- if options is null