Skip to content

//kotlin-sdk/fr.gasmartbuilding.gasmartaccessreadersdk/ACS

ACS

[androidJvm]\ object ACS

A singleton for managing calls to ACS.

Properties

Name Summary
service [androidJvm]
lateinit var service: ACSService

Functions

Name Summary
getSignatureFromACS [androidJvm]
suspend fun getSignatureFromACS(appSign1: ByteArray): ByteArray?
Retrieves a signature from the ACS based on a given APP_SIGN1.
getUDID [androidJvm]
fun getUDID(): String
Retrieves the unique device ID (UDID) from the device.
initialize [androidJvm]
fun initialize(context: Context, baseUrl: String, apiKey: String)
Initializes the ACS singleton.
registerDeviceToACS [androidJvm]
suspend fun registerDeviceToACS(userId: String, sdkVersion: String): DeviceRegistration?
Registers a device to the ACS using the given SDK version.