Gallagher Mobile Connect SDK
|
Inherits Parcelable.
Public Member Functions | |
ReaderAction (byte id, @NonNull String name) | |
String | getName () |
byte | getId () |
String | toString () |
ReaderActionType | getType () |
Static Public Attributes | |
static final ReaderAction | requestAccess = new ReaderAction((byte)-1, "Request Access") |
static final ReaderAction | enumerate = new ReaderAction((byte)0, "Enumerate") |
Represents an action that can be invoked over Bluetooth, such as locking or unlocking doors in an access zone
com.gallagher.security.mobileaccess.ReaderAction.ReaderAction | ( | byte | id, |
@NonNull String | name | ||
) |
Create a new ReaderAction given the specified name and id
id | reader bytes id |
name | reader name |
byte com.gallagher.security.mobileaccess.ReaderAction.getId | ( | ) |
The internal id of the action (for example: 1)
String com.gallagher.security.mobileaccess.ReaderAction.getName | ( | ) |
The name of the action (for example: "Arm")
ReaderActionType com.gallagher.security.mobileaccess.ReaderAction.getType | ( | ) |
A helper method mapping the reader action id to a user friendly enum
String com.gallagher.security.mobileaccess.ReaderAction.toString | ( | ) |
|
static |
Predefined ReaderAction which enumerates available overrides
|
static |
Predefined ReaderAction which attempts access