Companion

object Companion

Functions

Link copied to clipboard

This function checks if the function initializeFromLastSession() can be used. A license must be registered before using initializeFromLastSession().

Link copied to clipboard
fun clear(context: Context)

Clear the allocated resources, such as the license in the shared preferences.

Link copied to clipboard

This function allow to forget last session configuration

Link copied to clipboard
suspend fun initializeFromLastSession(configuration: RASPConfiguration): RASP

Async function to initialize a RASP class. A license must be registered before using this function. It can be tested using the function canBeLoaded().

Link copied to clipboard
suspend fun register(configuration: RASPConfiguration, accessKey: String): RASP

Async function to load and initialize a RASP class. The license will be "Core" based on the company parameter.

suspend fun register(configuration: RASPConfiguration, accessKey: String, secretKey: String): RASP

Async function to load and initialize a RASP class. The license will be "Advanced" based on the company and the group parameters.