@LevelUpApi(contract=INTERNAL) @ThreadSafe public final class BeaconPreferenceUtil extends Object
beacon
library.SharedPreferencesUtil
Modifier and Type | Field and Description |
---|---|
static String |
KEY_BOOLEAN_BATTERY_LOW
Type:
boolean . |
static String |
KEY_BOOLEAN_BEACON_SCAN_ENABLED
Type:
boolean . |
static String |
KEY_LONG_BEACON_DISCOVERED_AT
Type:
Long . |
public static final String KEY_BOOLEAN_BATTERY_LOW
boolean
.
Determines whether Intent.ACTION_BATTERY_LOW
was the most recent
battery state received from the system.
public static final String KEY_LONG_BEACON_DISCOVERED_AT
Long
.
The value returned by SystemClock.elapsedRealtime()
when the last beacon was
discovered.
public static final String KEY_BOOLEAN_BEACON_SCAN_ENABLED
boolean
.
Determines whether the BeaconScanService
should be
enabled. This preference is considered to be true
if it is not set.