removePushNotificationsFromChannels

expect abstract fun removePushNotificationsFromChannels(pushType: PNPushType, channels: List<String>, deviceId: String, topic: String? = null, environment: PNPushEnvironment = PNPushEnvironment.DEVELOPMENT): RemoveChannelsFromPush
actual abstract fun removePushNotificationsFromChannels(pushType: PNPushType, channels: List<String>, deviceId: String, topic: String?, environment: PNPushEnvironment): RemoveChannelsFromPush

Disable push notifications on provided set of channels.

Parameters

pushType

Accepted values: FCM, APNS2. @see PNPushType

channels

Channels to remove push notifications from.

deviceId

The device ID (token) associated 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 removePushNotificationsFromChannels(pushType: PNPushType, channels: List<String>, deviceId: String, topic: String?, environment: PNPushEnvironment): RemoveChannelsFromPush