FRUserKeys

class FRUserKeys @JvmOverloads constructor(val context: Context, val userKeyService: UserKeyService = UserDeviceKeyService( context))

Manage UserKey that created by the SDK The UserKey are created with DeviceBindingCallback

Constructors

Link copied to clipboard
constructor(context: Context, userKeyService: UserKeyService = UserDeviceKeyService( context))

Properties

Link copied to clipboard
private val context: Context
Link copied to clipboard

Functions

Link copied to clipboard
suspend fun delete(userKey: UserKey, forceDelete: Boolean = false)
fun delete(userKey: UserKey, forceDelete: Boolean = false, listener: FRListener<Void>)

Delete user key from local storage and also remotely from Server. By default, if failed to delete from server, local storage will not be deleted, by providing forceDelete to true, it will also delete local keys if server call is failed.

Link copied to clipboard

Load all the UserKey which created with DeviceBindingCallback