awaitRequestPermissions

abstract suspend fun awaitRequestPermissions(request: PermissionsResultRequest, vararg permissions: String)
abstract suspend fun awaitRequestPermissions(request: PermissionsResultRequest, permissions: List<String>)

Assert that the next event received was a permission request. This function will suspend if no events have been received.

Throws

  • if the next event was not a matching event.