Index
All Classes and Interfaces|All Packages|Serialized Form
A
- ACQUIRING_LOCATION - Enum constant in enum class app.akiles.sdk.ActionInternetStatus
-
Waiting for the phone's GNSS hardware to obtain a location.
- action(String, String, String, ActionOptions, ActionCallback) - Method in class app.akiles.sdk.Akiles
-
Do an action on a gadget.
- ActionBluetoothStatus - Enum Class in app.akiles.sdk
-
Status of doing an action via Bluetooth.
- ActionCallback - Interface in app.akiles.sdk
-
Callback used by
Akiles.action(String, String, String, ActionOptions, ActionCallback)
. - ActionInternetStatus - Enum Class in app.akiles.sdk
-
Status of doing an action via internet.
- ActionOptions - Class in app.akiles.sdk
-
Options used by
Akiles.action(String, String, String, ActionOptions, ActionCallback)
. - ActionOptions() - Constructor for class app.akiles.sdk.ActionOptions
-
Create a new `ActionOptions` with defaults.
- actions - Variable in class app.akiles.sdk.Gadget
- addSession(String, Callback<String>) - Method in class app.akiles.sdk.Akiles
-
Add a session to the session store.
- AkHostApduService - Class in app.akiles.sdk
- AkHostApduService() - Constructor for class app.akiles.sdk.AkHostApduService
- Akiles - Class in app.akiles.sdk
-
Akiles SDK main class.
- Akiles(Context) - Constructor for class app.akiles.sdk.Akiles
- AkilesException - Exception Class in app.akiles.sdk
- AkilesException(ErrorCode, String) - Constructor for exception class app.akiles.sdk.AkilesException
- AkilesException.LocationOutOfRadius - Exception Class in app.akiles.sdk
-
Thrown when location is out of radius.
- AkilesException.PermissionDenied - Exception Class in app.akiles.sdk
-
Thrown when permission is denied.
- AkilesException.PermissionDeniedEnded - Exception Class in app.akiles.sdk
-
Thrown when permission is denied because member has ended.
- AkilesException.PermissionDeniedNotStarted - Exception Class in app.akiles.sdk
-
Thrown when permission is denied because member has not started.
- AkilesException.PermissionDeniedOutOfSchedule - Exception Class in app.akiles.sdk
-
Thrown when permission is denied because member is out of schedule.
- ALL_COMM_METHODS_FAILED - Enum constant in enum class app.akiles.sdk.ErrorCode
-
All communication methods (Internet, Bluetooth) have failed.
- app.akiles.sdk - package app.akiles.sdk
B
- BLUETOOTH_DEVICE_NOT_FOUND - Enum constant in enum class app.akiles.sdk.ErrorCode
-
The device is not within Bluetooth range, or is turned off.
- BLUETOOTH_DISABLED - Enum constant in enum class app.akiles.sdk.ErrorCode
-
The phone has bluetooth turned off, the user should enable it.
- BLUETOOTH_NOT_AVAILABLE - Enum constant in enum class app.akiles.sdk.ErrorCode
-
The phone has no bluetooth support
- BLUETOOTH_PERMISSION_NOT_GRANTED - Enum constant in enum class app.akiles.sdk.ErrorCode
-
The phone has bluetooth support, but the user hasn't granted permission for it to the app.
- BLUETOOTH_PERMISSION_NOT_GRANTED_PERMANENTLY - Enum constant in enum class app.akiles.sdk.ErrorCode
-
The phone has bluetooth support, but the user has permanently denied permission for it to the app.
C
- Callback<T> - Interface in app.akiles.sdk
- cancel() - Method in class app.akiles.sdk.Cancel
-
Cancel the operation.
- Cancel - Class in app.akiles.sdk
-
Cancellation token.
- CANCELED - Enum constant in enum class app.akiles.sdk.ErrorCode
-
Operation has been canceled.
- Card - Class in app.akiles.sdk
-
Card scanned with
Akiles.scanCard(Callback)
- close() - Method in class app.akiles.sdk.Card
-
Close the connection to the card.
- code - Variable in exception class app.akiles.sdk.AkilesException
-
Error code.
- CONNECTING - Enum constant in enum class app.akiles.sdk.ActionBluetoothStatus
-
Connecting to the target device.
- CONNECTING - Enum constant in enum class app.akiles.sdk.SyncStatus
-
Connecting to the target device.
D
- description - Variable in exception class app.akiles.sdk.AkilesException
-
Human-readable error description.
- distance - Variable in exception class app.akiles.sdk.AkilesException.LocationOutOfRadius
-
Actual distance to the site, in meters.
E
- end - Variable in class app.akiles.sdk.Schedule.Range
-
End of the range, in seconds since midnight (exclusive).
- endsAt - Variable in exception class app.akiles.sdk.AkilesException.PermissionDeniedEnded
-
Member end date, RFC3339 timestamp.
- ErrorCode - Enum Class in app.akiles.sdk
-
Akiles error codes.
- EXECUTING_ACTION - Enum constant in enum class app.akiles.sdk.ActionBluetoothStatus
-
Executing the action.
- EXECUTING_ACTION - Enum constant in enum class app.akiles.sdk.ActionInternetStatus
-
Executing the action.
G
- Gadget - Class in app.akiles.sdk
- Gadget() - Constructor for class app.akiles.sdk.Gadget
- GadgetAction - Class in app.akiles.sdk
- GadgetAction() - Constructor for class app.akiles.sdk.GadgetAction
- getClientInfo() - Method in class app.akiles.sdk.Akiles
-
Do not use, internal use only.
- getContext() - Method in class app.akiles.sdk.Akiles
- getGadgets(String) - Method in class app.akiles.sdk.Akiles
-
Get the gadgets for a session.
- getHardwares(String) - Method in class app.akiles.sdk.Akiles
-
Get a list of hardware accessible by this session.
- getSessionIDs() - Method in class app.akiles.sdk.Akiles
-
Get the IDs for all sessions in the session store.
- getUid() - Method in class app.akiles.sdk.Card
-
Return the UID of the card.
- getVersion() - Method in class app.akiles.sdk.Akiles
-
Get the version of the Akiles SDK.
H
- Hardware - Class in app.akiles.sdk
- Hardware() - Constructor for class app.akiles.sdk.Hardware
I
- id - Variable in class app.akiles.sdk.Gadget
- id - Variable in class app.akiles.sdk.GadgetAction
- id - Variable in class app.akiles.sdk.Hardware
- INTERNAL - Enum constant in enum class app.akiles.sdk.ErrorCode
-
Something went wrong internally.
- INTERNET_DEVICE_OFFLINE - Enum constant in enum class app.akiles.sdk.ErrorCode
-
Phone has internet access and could reach the Akiles server, but the Akiles server could not reach the device because it's either offline or turned off.
- INTERNET_LOCATION_OUT_OF_RADIUS - Enum constant in enum class app.akiles.sdk.ErrorCode
-
The organization administrator has enabled geolocation check for this device, and the phone's location services indicate it's outside the maximum radius.
- INTERNET_NOT_AVAILABLE - Enum constant in enum class app.akiles.sdk.ErrorCode
-
Phone has no internet access.
- INTERNET_NOT_PERMITTED - Enum constant in enum class app.akiles.sdk.ErrorCode
-
The organization administrator has configured this device so it doesn't accept actions via the internet communication method.
- INVALID_PARAM - Enum constant in enum class app.akiles.sdk.ErrorCode
-
Invalid parameter.
- INVALID_SESSION - Enum constant in enum class app.akiles.sdk.ErrorCode
-
The session token is invalid.
- isAkilesCard() - Method in class app.akiles.sdk.Card
-
Check if it's an Akiles card.
- isBluetoothSupported() - Method in class app.akiles.sdk.Akiles
-
Get whether Bluetooth is supported on this phone.
- isCardEmulationSupported() - Method in class app.akiles.sdk.Akiles
-
Get whether card emulation is supported on this phone.
L
- lat - Variable in class app.akiles.sdk.Location
-
Latitude, in degrees.
- lng - Variable in class app.akiles.sdk.Location
-
Longitude, in degrees.
- location - Variable in class app.akiles.sdk.SiteGeo
-
Location.
- Location - Class in app.akiles.sdk
-
Geographic location
- Location(double, double) - Constructor for class app.akiles.sdk.Location
- LOCATION_DISABLED - Enum constant in enum class app.akiles.sdk.ErrorCode
-
The phone has location turned off, the user should enable it.
- LOCATION_FAILED - Enum constant in enum class app.akiles.sdk.ErrorCode
-
The phone failed to acquire a GNSS fix in reasonable time, probably because it has bad coverage (it's indoors, etc)
- LOCATION_NOT_AVAILABLE - Enum constant in enum class app.akiles.sdk.ErrorCode
-
The phone has no location support
- LOCATION_PERMISSION_NOT_GRANTED - Enum constant in enum class app.akiles.sdk.ErrorCode
-
The phone has location support, but the user hasn't granted permission for it to the app.
- LOCATION_PERMISSION_NOT_GRANTED_PERMANENTLY - Enum constant in enum class app.akiles.sdk.ErrorCode
-
The phone has location support, but the user has permanently denied permission for it to the app.
- LocationOutOfRadius(ErrorCode, String, SiteGeo, double) - Constructor for exception class app.akiles.sdk.AkilesException.LocationOutOfRadius
M
- MEMBER_ENDED - Enum constant in enum class app.akiles.sdk.PermissionDeniedReason
-
Current time is after member's ends_at.
- MEMBER_NOT_STARTED - Enum constant in enum class app.akiles.sdk.PermissionDeniedReason
-
Current time is before member's starts_at.
N
- name - Variable in class app.akiles.sdk.Gadget
- name - Variable in class app.akiles.sdk.GadgetAction
- name - Variable in class app.akiles.sdk.Hardware
- NFC_CARD_NOT_COMPATIBLE - Enum constant in enum class app.akiles.sdk.ErrorCode
-
This NFC card is not compatible with Akiles devices.
- NFC_NOT_AVAILABLE - Enum constant in enum class app.akiles.sdk.ErrorCode
-
This phone has no NFC support.
- NFC_READ_ERROR - Enum constant in enum class app.akiles.sdk.ErrorCode
-
NFC read error.
O
- onBluetoothError(AkilesException) - Method in interface app.akiles.sdk.ActionCallback
-
Called when the operation fails via the bluetooth method..
- onBluetoothStatus(ActionBluetoothStatus) - Method in interface app.akiles.sdk.ActionCallback
-
Called when there's a status update for the bluetooth method.
- onBluetoothStatusProgress(float) - Method in interface app.akiles.sdk.ActionCallback
-
Called when there's progress for the bluetooth method.
- onBluetoothSuccess() - Method in interface app.akiles.sdk.ActionCallback
-
Called when the the operation succeeds via the bluetooth method.
- onDeactivated(int) - Method in class app.akiles.sdk.AkHostApduService
- onDiscover(Hardware) - Method in interface app.akiles.sdk.ScanCallback
-
Called when a hardware is discovered by scanning.
- onError(AkilesException) - Method in interface app.akiles.sdk.ActionCallback
-
Called when the operation fails.
- onError(AkilesException) - Method in interface app.akiles.sdk.Callback
-
Called when the operation fails.
- onError(AkilesException) - Method in interface app.akiles.sdk.ScanCallback
-
Called when the operation fails.
- onError(AkilesException) - Method in interface app.akiles.sdk.SyncCallback
-
Called when the operation fails.
- onInternetError(AkilesException) - Method in interface app.akiles.sdk.ActionCallback
-
Called when the operation fails via the internet method.
- onInternetStatus(ActionInternetStatus) - Method in interface app.akiles.sdk.ActionCallback
-
Called when there's a status update for the internet method.
- onInternetSuccess() - Method in interface app.akiles.sdk.ActionCallback
-
Called when the the operation succeeds via the internet method.
- onRequestPermissionsResult(int, String[], int[]) - Method in class app.akiles.sdk.Akiles
- onStatus(SyncStatus) - Method in interface app.akiles.sdk.SyncCallback
-
Called when there's a status update for the bluetooth method.
- onStatusProgress(float) - Method in interface app.akiles.sdk.SyncCallback
-
Called when there's progress for the bluetooth method.
- onSuccess() - Method in interface app.akiles.sdk.ActionCallback
-
Called when the action operation succeeds.
- onSuccess() - Method in interface app.akiles.sdk.ScanCallback
-
Called when the the operation succeeds.
- onSuccess() - Method in interface app.akiles.sdk.SyncCallback
-
Called when the the operation succeeds.
- onSuccess(T) - Method in interface app.akiles.sdk.Callback
-
Called when the the operation succeeds.
- ORGANIZATION_DISABLED - Enum constant in enum class app.akiles.sdk.PermissionDeniedReason
-
The Akiles organization this device belongs to is disabled.
- OTHER - Enum constant in enum class app.akiles.sdk.PermissionDeniedReason
-
Other reason.
- OUT_OF_SCHEDULE - Enum constant in enum class app.akiles.sdk.PermissionDeniedReason
-
Current time is not inside the configured schedule.
P
- PERMISSION_DENIED - Enum constant in enum class app.akiles.sdk.ErrorCode
-
The current session does not have permission to do the requested action on the device.
- PermissionDenied(ErrorCode, String, PermissionDeniedReason) - Constructor for exception class app.akiles.sdk.AkilesException.PermissionDenied
- PermissionDeniedEnded(ErrorCode, String, PermissionDeniedReason, String) - Constructor for exception class app.akiles.sdk.AkilesException.PermissionDeniedEnded
- PermissionDeniedNotStarted(ErrorCode, String, PermissionDeniedReason, String) - Constructor for exception class app.akiles.sdk.AkilesException.PermissionDeniedNotStarted
- PermissionDeniedOutOfSchedule(ErrorCode, String, PermissionDeniedReason, Schedule, int, String) - Constructor for exception class app.akiles.sdk.AkilesException.PermissionDeniedOutOfSchedule
- PermissionDeniedReason - Enum Class in app.akiles.sdk
-
Reason for permission denied errors.
- PermissionRequester - Interface in app.akiles.sdk
- processCommandApdu(byte[], Bundle) - Method in class app.akiles.sdk.AkHostApduService
- productId - Variable in class app.akiles.sdk.Hardware
R
- radius - Variable in class app.akiles.sdk.SiteGeo
-
Max radius, in meters.
- Range() - Constructor for class app.akiles.sdk.Schedule.Range
- ranges - Variable in class app.akiles.sdk.Schedule.Weekday
-
Array of allowed time ranges for this day, in seconds since midnight.
- reason - Variable in exception class app.akiles.sdk.AkilesException.PermissionDenied
-
Reason for permission denied.
- refreshAllSessions(Callback<Void>) - Method in class app.akiles.sdk.Akiles
-
Refresh the cached session data for all sessions.
- refreshSession(String, Callback<Void>) - Method in class app.akiles.sdk.Akiles
-
Refresh the cached session data.
- removeAllSessions() - Method in class app.akiles.sdk.Akiles
-
Removes all sessions from the session store.
- removeSession(String) - Method in class app.akiles.sdk.Akiles
-
Remove a session from the session store.
- requestBluetoothPermission - Variable in class app.akiles.sdk.ActionOptions
-
Whether to request Bluetooth permission if needed.
- requestLocationPermission - Variable in class app.akiles.sdk.ActionOptions
-
Whether to request location permission if needed.
- requestPermissions(String[], int) - Method in interface app.akiles.sdk.PermissionRequester
-
Request permissions.
- revisionId - Variable in class app.akiles.sdk.Hardware
S
- scan(ScanCallback) - Method in class app.akiles.sdk.Akiles
-
Scan using Bluetooth for nearby Akiles devices.
- ScanCallback - Interface in app.akiles.sdk
- scanCard(Callback<Card>) - Method in class app.akiles.sdk.Akiles
-
Scan a card.
- SCANNING - Enum constant in enum class app.akiles.sdk.ActionBluetoothStatus
-
Scanning for the target device.
- SCANNING - Enum constant in enum class app.akiles.sdk.SyncStatus
-
Scanning for the target device.
- schedule - Variable in exception class app.akiles.sdk.AkilesException.PermissionDeniedOutOfSchedule
-
Member's schedule.
- Schedule - Class in app.akiles.sdk
-
Schedule for when a member is allowed to open a gadget.
- Schedule() - Constructor for class app.akiles.sdk.Schedule
- Schedule.Range - Class in app.akiles.sdk
-
Represents a time range in seconds since midnight.
- Schedule.Weekday - Class in app.akiles.sdk
-
Represents a single day in the schedule.
- sessions - Variable in class app.akiles.sdk.Hardware
- setPermissionRequester(PermissionRequester) - Method in class app.akiles.sdk.Akiles
-
Set a custom permission requester implementation.
- siteGeo - Variable in exception class app.akiles.sdk.AkilesException.LocationOutOfRadius
-
Geolocation restriction of the site.
- SiteGeo - Class in app.akiles.sdk
-
Geolocation restriction of a site
- SiteGeo(Location, double) - Constructor for class app.akiles.sdk.SiteGeo
- start - Variable in class app.akiles.sdk.Schedule.Range
-
Start of the range, in seconds since midnight (inclusive).
- startsAt - Variable in exception class app.akiles.sdk.AkilesException.PermissionDeniedNotStarted
-
Member start date, RFC3339 timestamp.
- sync(String, String, SyncCallback) - Method in class app.akiles.sdk.Akiles
-
Synchronize state of hardware.
- SyncCallback - Interface in app.akiles.sdk
-
Callback used by
Akiles.sync(String, String, SyncCallback)
. - SYNCING_DEVICE - Enum constant in enum class app.akiles.sdk.ActionBluetoothStatus
-
Syncing information to/from the device.
- SYNCING_DEVICE - Enum constant in enum class app.akiles.sdk.SyncStatus
-
Syncing information to/from the device.
- SYNCING_SERVER - Enum constant in enum class app.akiles.sdk.ActionBluetoothStatus
-
Syncing information to/from the Akiles server.
- SYNCING_SERVER - Enum constant in enum class app.akiles.sdk.SyncStatus
-
Syncing information to/from the Akiles server.
- SyncStatus - Enum Class in app.akiles.sdk
-
Status of a sync operation.
T
- TIMEOUT - Enum constant in enum class app.akiles.sdk.ErrorCode
-
Operation timed out.
- timezone - Variable in exception class app.akiles.sdk.AkilesException.PermissionDeniedOutOfSchedule
-
Timezone the schedule is interpreted in.
- toString() - Method in exception class app.akiles.sdk.AkilesException.LocationOutOfRadius
- toString() - Method in exception class app.akiles.sdk.AkilesException.PermissionDenied
- toString() - Method in exception class app.akiles.sdk.AkilesException.PermissionDeniedEnded
- toString() - Method in exception class app.akiles.sdk.AkilesException.PermissionDeniedNotStarted
- toString() - Method in exception class app.akiles.sdk.AkilesException.PermissionDeniedOutOfSchedule
- toString() - Method in exception class app.akiles.sdk.AkilesException
- toString() - Method in class app.akiles.sdk.Gadget
- toString() - Method in class app.akiles.sdk.GadgetAction
- toString() - Method in class app.akiles.sdk.Hardware
- toString() - Method in class app.akiles.sdk.Location
- toString() - Method in class app.akiles.sdk.Schedule.Range
- toString() - Method in class app.akiles.sdk.Schedule
- toString() - Method in class app.akiles.sdk.Schedule.Weekday
- toString() - Method in class app.akiles.sdk.SiteGeo
U
- update(Callback<Void>) - Method in class app.akiles.sdk.Card
-
Update the data on the card with the Akiles server.
- useBluetooth - Variable in class app.akiles.sdk.ActionOptions
-
Whether to try using the Bluetooth communication method.
- useInternet - Variable in class app.akiles.sdk.ActionOptions
-
Whether to try using the internet communication method.
V
- valueOf(String) - Static method in enum class app.akiles.sdk.ActionBluetoothStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class app.akiles.sdk.ActionInternetStatus
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class app.akiles.sdk.ErrorCode
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class app.akiles.sdk.PermissionDeniedReason
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class app.akiles.sdk.SyncStatus
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class app.akiles.sdk.ActionBluetoothStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class app.akiles.sdk.ActionInternetStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class app.akiles.sdk.ErrorCode
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class app.akiles.sdk.PermissionDeniedReason
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class app.akiles.sdk.SyncStatus
-
Returns an array containing the constants of this enum class, in the order they are declared.
W
- WAITING_FOR_LOCATION_IN_RADIUS - Enum constant in enum class app.akiles.sdk.ActionInternetStatus
-
Phone's GNSS hardware obtained a location but it isn't inside the required radius.
- waitTime - Variable in exception class app.akiles.sdk.AkilesException.PermissionDeniedOutOfSchedule
-
Time needed to wait to be in schedule, in seconds.
- Weekday() - Constructor for class app.akiles.sdk.Schedule.Weekday
- weekdays - Variable in class app.akiles.sdk.Schedule
-
Array of 7 elements, one for each day of the week (Monday=0).
All Classes and Interfaces|All Packages|Serialized Form