Package-level declarations
Functions
Link copied to clipboard
Camera access permission.
Link copied to clipboard
Contacts access permission.
Link copied to clipboard
Photo gallery / media library access permission.
Link copied to clipboard
Location access permission.
Link copied to clipboard
Microphone access permission.
Link copied to clipboard
Push notification permission.
Link copied to clipboard
fun EventSchemaBuilderScope.RequestPermission(id: String = randomId(), trigger: EventTrigger, events: EventSchemaBuilderScope.() -> Unit = {}, permissions: List<RequestPermissionEventSchema.Permissions>)
Asks the platform for the runtime permissions, through the client's PermissionManager. Does not consume incomingData. Dispatches onPermissionsAcquired then onSuccess (both no data) when every requested permission was granted; onPermissionsDenied then onFailure (both no data) when the request was denied; onPermissionRationale (no data) when the platform asks for a rationale to be shown before requesting again — chain the explanation onto this trigger and request once more.
Link copied to clipboard
Generic file storage access permission.