Skip to content

PushManager

Values

getSubscription

let getSubscription: WebAPI.PushManagerAPI.pushManager => Promise.t<
WebAPI.PushManagerAPI.pushSubscription,
>

permissionState

let permissionState: (
WebAPI.PushManagerAPI.pushManager,
~options: WebAPI.PushManagerAPI.pushSubscriptionOptionsInit=?,
) => Promise.t<WebAPI.PushManagerAPI.permissionState>

subscribe

let subscribe: (
WebAPI.PushManagerAPI.pushManager,
~options: WebAPI.PushManagerAPI.pushSubscriptionOptionsInit=?,
) => Promise.t<WebAPI.PushManagerAPI.pushSubscription>