Gallagher Mobile Connect SDK
Public Attributes | List of all members
com.gallagher.security.mobileaccess.MobileAccessState Enum Reference

Public Attributes

 ERROR_DEVICE_NOT_SUPPORTED
 
 ERROR_NO_PASSCODE_SET
 
 ERROR_NO_CREDENTIALS
 
 ERROR_UNSUPPORTED_OS_VERSION
 
 ERROR_NO_BLE_FEATURE
 
 BLE_ERROR_LOCATION_SERVICE_DISABLED
 
 BLE_ERROR_NO_LOCATION_PERMISSION
 
 BLE_ERROR_DISABLED
 
 BLE_ERROR_UNAUTHORIZED
 
 NFC_ERROR_DISABLED
 
 NO_NFC_FEATURE
 
 CREDENTIAL_REQUIRES_BIOMETRICS_ENROLMENT
 
 EXTENDED_BACKGROUND_SCANNING_REQUIRES_LOCATION_SERVICES
 
 BLE_ERROR_NO_BACKGROUND_LOCATION_PERMISSION
 
 BLE_ERROR_NO_BLUETOOTH_SCAN_PERMISSION
 
 BLE_ERROR_NO_BLUETOOTH_CONNECT_PERMISSION
 
 BLE_WARNING_NO_LOCATION_PERMISSION
 
 BLE_WARNING_LOCATION_SERVICE_DISABLED
 

Member Data Documentation

◆ BLE_ERROR_DISABLED

com.gallagher.security.mobileaccess.MobileAccessState.BLE_ERROR_DISABLED

Bluetooth is currently disabled in the system settings or powered off.

◆ BLE_ERROR_LOCATION_SERVICE_DISABLED

com.gallagher.security.mobileaccess.MobileAccessState.BLE_ERROR_LOCATION_SERVICE_DISABLED

Android only - Location services are disabled in the system settings. On Android, BLE functionality requires the location service to operate. NFC functionality may still operate.

◆ BLE_ERROR_NO_BACKGROUND_LOCATION_PERMISSION

com.gallagher.security.mobileaccess.MobileAccessState.BLE_ERROR_NO_BACKGROUND_LOCATION_PERMISSION

Android only - The app must be granted the ACCESS_BACKGROUND_LOCATION permission in order for BLE scanning to function in the background. Foreground scanning and NFC functionality may still operate. This error will not be returned if BLE_ERROR_NO_LOCATION_PERMISSION is present

◆ BLE_ERROR_NO_BLUETOOTH_CONNECT_PERMISSION

com.gallagher.security.mobileaccess.MobileAccessState.BLE_ERROR_NO_BLUETOOTH_CONNECT_PERMISSION

Android only - The app must be granted the ‘BLUETOOTH_CONNECT’ permission in order for BLE connection to function This should only occur on Android 12 devices. See https://developer.android.com/about/versions/12/features/bluetooth-permissions

◆ BLE_ERROR_NO_BLUETOOTH_SCAN_PERMISSION

com.gallagher.security.mobileaccess.MobileAccessState.BLE_ERROR_NO_BLUETOOTH_SCAN_PERMISSION

Android only - The app must be granted the ‘BLUETOOTH_SCAN’ permission in order for BLE scanning to function. This should only occur on Android 12 devices. See https://developer.android.com/about/versions/12/features/bluetooth-permissions

◆ BLE_ERROR_NO_LOCATION_PERMISSION

com.gallagher.security.mobileaccess.MobileAccessState.BLE_ERROR_NO_LOCATION_PERMISSION

Android only - The app must be granted the ACCESS_FINE_LOCATION permission in order for BLE scanning to function. NFC functionality may still operate.

◆ BLE_ERROR_UNAUTHORIZED

com.gallagher.security.mobileaccess.MobileAccessState.BLE_ERROR_UNAUTHORIZED

iOS only - The application is not authorized to use Bluetooth.

◆ BLE_WARNING_LOCATION_SERVICE_DISABLED

com.gallagher.security.mobileaccess.MobileAccessState.BLE_WARNING_LOCATION_SERVICE_DISABLED

Android only - location service has been disabled and will be required if BLE scanning in the background or using SALTO credentials

◆ BLE_WARNING_NO_LOCATION_PERMISSION

com.gallagher.security.mobileaccess.MobileAccessState.BLE_WARNING_NO_LOCATION_PERMISSION

Android only - location permissions have not been granted and will be required if BLE scanning in the background or using SALTO credentials

◆ CREDENTIAL_REQUIRES_BIOMETRICS_ENROLMENT

com.gallagher.security.mobileaccess.MobileAccessState.CREDENTIAL_REQUIRES_BIOMETRICS_ENROLMENT

iOS Only:

  • A credential was registered using biometrics (Fingerprint/FaceID)
  • Fingerprint/FaceID was later disabled in the system settings
  • Second factor access will not function on that credential until Fingerprint/FaceID are re-enabled in the system settings

◆ ERROR_DEVICE_NOT_SUPPORTED

com.gallagher.security.mobileaccess.MobileAccessState.ERROR_DEVICE_NOT_SUPPORTED

This device is not supported.

◆ ERROR_NO_BLE_FEATURE

com.gallagher.security.mobileaccess.MobileAccessState.ERROR_NO_BLE_FEATURE

This device does not have Bluetooth hardware.

◆ ERROR_NO_CREDENTIALS

com.gallagher.security.mobileaccess.MobileAccessState.ERROR_NO_CREDENTIALS

No credentials are available. This means that no scanning via BLE or NFC will occur i.e. you will not be able to find devices or attempt to access them.

◆ ERROR_NO_PASSCODE_SET

com.gallagher.security.mobileaccess.MobileAccessState.ERROR_NO_PASSCODE_SET

iOS only - This device requires a passcode to be set before we can use secure credential storage

◆ ERROR_UNSUPPORTED_OS_VERSION

com.gallagher.security.mobileaccess.MobileAccessState.ERROR_UNSUPPORTED_OS_VERSION

The operating system the software is running on is too old. None of the functionality if the SDK is available.

◆ EXTENDED_BACKGROUND_SCANNING_REQUIRES_LOCATION_SERVICES

com.gallagher.security.mobileaccess.MobileAccessState.EXTENDED_BACKGROUND_SCANNING_REQUIRES_LOCATION_SERVICES

iOS Only: location services must be enabled and the permission set to always to support the extended background scanning mode.

◆ NFC_ERROR_DISABLED

com.gallagher.security.mobileaccess.MobileAccessState.NFC_ERROR_DISABLED

Android only - This device has NFC hardware, but NFC is disabled in the system settings. BLE functionality may still operate.

◆ NO_NFC_FEATURE

com.gallagher.security.mobileaccess.MobileAccessState.NO_NFC_FEATURE

Android only - This device does not have NFC hardware. BLE functionality may still operate.


The documentation for this enum was generated from the following file: