IdentifyKitApi
The IdentifyKit interface provides a set of properties and methods for managing user identification.
Properties
Functions
Link copied to clipboard
Adds IdentifyKitListener into IdentifyKit
Link copied to clipboard
abstract fun configure(configurationProvider: ERROR CLASS: Symbol not found for ConfigurationProvider)
Called once this kit is registered, before MonterosaKit.load.
Link copied to clipboard
abstract suspend fun getSessionSignature(options: ERROR CLASS: Symbol not found for Options?? = null): Result<Signature>
Returns the user's session signature, from signature if already cached, otherwise by fetching it from the Monterosa API.
Link copied to clipboard
abstract suspend fun getUserData(options: ERROR CLASS: Symbol not found for Options?? = null): Result<UserData>
Link copied to clipboard
Removes a previously added IdentifyKitListener, so it no longer receives notifications.
Link copied to clipboard
abstract suspend fun updateUserData(data: Map<String, Any>, options: ERROR CLASS: Symbol not found for Options?? = null): Result<UserData>
Updates the signed-in user's data via the Identify Public API, and caches the result the same way as getUserData. Unlike getUserData, this always makes a request rather than returning a cached userData.