requestForegroundPermission

Starts a foreground permission request and returns immediately. The result is published to status.

Throws IllegalStateException if the requester is closed or called off the main thread.