Object RemindLaterHandler
-
- All Implemented Interfaces:
public class RemindLaterHandlerPublic facing object to handle the remind later intent.
-
-
Field Summary
Fields Modifier and Type Field Description public final static RemindLaterHandlerINSTANCE
-
Method Summary
Modifier and Type Method Description final static UnithandleRemindIntent(Intent remindLaterIntent, Class<out BroadcastReceiver> broadcastReceiverClass)Handles the remind later intent by scheduling a PendingIntent to the broadcastReceiverClass which will be fired at a time specified in the remindLaterIntent. -
-
Method Detail
-
handleRemindIntent
final static Unit handleRemindIntent(Intent remindLaterIntent, Class<out BroadcastReceiver> broadcastReceiverClass)
Handles the remind later intent by scheduling a PendingIntent to the broadcastReceiverClass which will be fired at a time specified in the remindLaterIntent.
Once the PendingIntent is fired, the broadcastReceiverClass is responsible for reconstructing the notification and displaying it.
- Parameters:
remindLaterIntent- Intent containing the data needed to schedule and recreate the notificationbroadcastReceiverClass- Class of the BroadcastReceiver that will be fired when the PendingIntent resolves at a later time
-
-
-
-