collect

suspend fun collect(): Result<String>

Collects data from the Protect SDK and returns it as a Result.

Return

Result containing the collected data or an exception if an error occurs.