public abstract class BeaconEntity
extends java.lang.Object
BeaconEntity abstract class wraps various attributes related to a beacon.| Modifier and Type | Class and Description |
|---|---|
static class |
BeaconEntity.Action
The
BeaconEntity.Action abstract class wraps information related to action items,
including ID, type, and a message. |
| Modifier and Type | Field and Description |
|---|---|
static int |
CONFIG_TYPE_ACTIVE
Beacon is active.
|
static int |
CONFIG_TYPE_COMBINED
Beacon has combined functionality (i.e.
|
static int |
CONFIG_TYPE_NONE
Beacon is not configured.
|
static int |
CONFIG_TYPE_PASSIVE
Beacon is passive (i.e.
|
| Modifier and Type | Method and Description |
|---|---|
abstract java.lang.String |
actionMessage()
Returns a String of the button text of a beacon action.
|
abstract java.util.List<BeaconEntity.Action> |
actions()
Returns the
List of BeaconEntity.Action objects that includes various information related
to action items, including ID, type, and a message. |
abstract java.lang.String |
beaconName()
Returns a String of the name of the beacon.
|
abstract int |
configType()
Returns an int of the configuration type of the beacon.
|
abstract boolean |
enabled()
Returns a boolean that represents whether or not the beacon is enabled on Network Manager.
|
abstract int |
id()
Returns an int of the identification number of the beacon assigned by Network
Manager.
|
abstract java.lang.String |
keyName()
Returns a String of the key associated with the beacon.
|
abstract int |
major()
Returns an int of the major region for the Usher network.
|
abstract java.lang.String |
message()
Returns a String of the message associated with triggering the beacon.
|
abstract int |
minor()
Returns an int of the minor region associated with the beacon.
|
abstract int |
orgId()
Returns an int of the identification number of the organization of the beacon.
|
abstract java.lang.String |
proximityId()
Returns a String of the proximity identification number of the beacon.
|
abstract java.lang.String |
uuid()
Returns a String of the universally unique identifier (UUID) of the beacon.
|
public static final int CONFIG_TYPE_NONE
public static final int CONFIG_TYPE_PASSIVE
public static final int CONFIG_TYPE_ACTIVE
public static final int CONFIG_TYPE_COMBINED
CONFIG_TYPE_PASSIVE.public abstract java.lang.String uuid()
public abstract java.lang.String proximityId()
public abstract int major()
public abstract int minor()
public abstract boolean enabled()
true if the beacon is enabled on Network Manager;
false otherwise.public abstract int configType()
CONFIG_TYPE_ACTIVE.@Nullable public abstract java.lang.String actionMessage()
null.@Nullable public abstract java.lang.String keyName()
null.@Nullable public abstract java.lang.String message()
null.public abstract int orgId()
public abstract int id()
public abstract java.lang.String beaconName()
null.@Nullable public abstract java.util.List<BeaconEntity.Action> actions()
List of BeaconEntity.Action objects that includes various information related
to action items, including ID, type, and a message. May be null.List of BeaconEntity.Action objects of the badge.