I am trying to use AlarmManager.AlarmClockInfo to set an alarm.
The constructor for this takes time and a PendingIntent , which is described in the documents as:
An intention that can be used to display or edit alarm details.
and then setAlarmClock( ) also takes a pending intent, which is described in the docs as:
The action taken when the alarm is turned off
I understand the use of PendingIntent on setAlarmClock( ) , however, how is PendingIntent used by AlarmClockInfo and how to use it to edit alarm details?
android android-pendingintent
Little child
source share