auditPushChannelProvisions

expect abstract fun auditPushChannelProvisions(pushType: PNPushType, deviceId: String, topic: String? = null, environment: PNPushEnvironment = PNPushEnvironment.DEVELOPMENT): ListPushProvisions
actual abstract fun auditPushChannelProvisions(pushType: PNPushType, deviceId: String, topic: String?, environment: PNPushEnvironment): ListPushProvisions

Request a list of all channels on which push notifications have been enabled using specified ListPushProvisions.deviceId.

Parameters

pushType

Accepted values: FCM, APNS2. @see PNPushType

deviceId

The device ID (token) to associate with push notifications.

environment

Environment within which device should manage list of channels with enabled notifications (works only if pushType set to PNPushType.APNS2).

topic

Notifications topic name (usually it is bundle identifier of application for Apple platform). Required only if pushType set to PNPushType.APNS2.

actual abstract fun auditPushChannelProvisions(pushType: PNPushType, deviceId: String, topic: String?, environment: PNPushEnvironment): ListPushProvisions