Batch Notification Action
Represents a Notification Action button
Properties
Functions
Link copied to clipboard
open fun getSupportActions(@NonNull context: Context, @NonNull batchActions: List<BatchNotificationAction>, @Nullable pushPayload: BatchPushPayload, @Nullable notificationId: Integer): List<NotificationCompat.Action>
Converts BatchNotificationAction instances to NotificationCompat.Action, allowing you to add actions to a Notification the same way the SDK internally does it, taking care of all the boilerplate.