setCancellation

fun setCancellation(resultIntent: Intent)

Maps explicit user refusal to the platform cancellation exception.