PushManager
This Push API interface provides a way to receive notifications from third-party servers as well as request URLs for push notifications. Available only in secure contexts.
Functions
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
suspend fun permissionState(options: PushSubscriptionOptionsInit = definedExternally): PermissionState
Link copied to clipboard
fun permissionStateAsync(options: PushSubscriptionOptionsInit = definedExternally): Promise<PermissionState>
Link copied to clipboard
Link copied to clipboard
fun subscribeAsync(options: PushSubscriptionOptionsInit = definedExternally): Promise<PushSubscription>