permissionStateAsync
fun permissionStateAsync(options: PushSubscriptionOptionsInit = definedExternally): Promise<PermissionState>(source)
The permissionState()
method of the PushManager interface returns a Promise that resolves to a string indicating the permission state of the push manager.