Protect

object Protect

The Protect Object provides methods to initialize the SDK, retrieve device signal data

Functions

Link copied to clipboard
fun config(config: ProtectConfig.() -> Unit)

Configures the Protect SDK with the provided configuration. This method should be called before calling initialize.

Link copied to clipboard
suspend fun data(): String

Retrieves the signal data from the Protect SDK. This method should be called after initialize to get the data.

Link copied to clipboard
suspend fun initialize()

Initializes the Protect SDK with the provided configuration. This method should be called before using any other methods in the Protect SDK.

Link copied to clipboard

Pause behavioral data collection

Link copied to clipboard

Resume behavioral data collection