ISwitcloudL2Android

Interface class for L2 SDKs access specific for Android

Inheritors

Properties

Link copied to clipboard
abstract val userInfo: SharedFlow<ByteArray>

User info raised by moka

Functions

Link copied to clipboard
abstract fun cleanupServices()

Clean up services.

Link copied to clipboard
abstract fun getActivity(): Activity?

Get activity to allow access to NFC adapter

Link copied to clipboard
abstract fun getSystemInfo(): SystemInfo

Gets system information.

Link copied to clipboard
abstract fun getVibrator(): Vibrator?

Get vibrator instance when vibrateOnTagDetection is requested Must be called after setActivity()

Link copied to clipboard
abstract fun gla(): IGla

Gets the GLA service.

Link copied to clipboard
open fun gsa(): IGsa?

Gets the GSA service.

Link copied to clipboard
abstract fun initializeServices()

Initialize services. Also calls setPollingCancelled(false) before initialize services

Link copied to clipboard
abstract fun reader(): IReader

Gets the Reader service.

Link copied to clipboard
abstract fun registerCallbacks(xsecCallback: IXsecCallback)

Registers the delegated external security (xsec) callback for JNI access.

Link copied to clipboard
abstract fun setActivity(activity: Activity, vibrateOnTagDetection: Boolean = false)

Set activity to allow access to NFC adapter

Link copied to clipboard
abstract fun setPollingCancelled(cancelled: Boolean)

Cancels the polling.

Link copied to clipboard
abstract fun vcard(): IVirtualCard?

Gets the Virtual Card service.