sendDenial

abstract suspend fun sendDenial(credential: PushCredential, notification: PushNotification, params: Map<String, Any>): Boolean

Send a denial response for a notification. How the denial is sent depends on the platform and the implementation of this handler. The parameters may include additional information or any other relevant data that the server needs to process the denial.

Return

True if the denial was sent successfully, false otherwise.

Parameters

credential

The credential to use for the response.

notification

The notification to deny.

params

Additional parameters.