public final class ActivityCheckConfiguration
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
static ActivityCheckConfiguration |
DEFAULT
Predefined default Beacon Activity Check Configuration.
|
static ActivityCheckConfiguration |
DISABLED
Predefined constant disabling device activity check configuration.
|
static ActivityCheckConfiguration |
MINIMAL
Predefined minimal allowed Beacon Activity Check Configuration.
|
Modifier and Type | Method and Description |
---|---|
static ActivityCheckConfiguration |
create(long inactivityTimeout,
long checkPeriod)
Instantiates new immutable Beacon Activity Check Configuration instance
|
long |
getCheckPeriod()
Provides check period.
|
long |
getInactivityTimeout()
Provides Beacon Inactivity Timeout [ms].
|
public static final ActivityCheckConfiguration DISABLED
public static final ActivityCheckConfiguration MINIMAL
public static final ActivityCheckConfiguration DEFAULT
public static ActivityCheckConfiguration create(long inactivityTimeout, long checkPeriod)
inactivityTimeout
- the removal threshold [ms]checkPeriod
- the removal period [ms]public long getInactivityTimeout()
public long getCheckPeriod()