5
Android AlarmManager-RTC_WAKEUP vs ELAPSED_REALTIME_WAKEUP
誰かがAlarmManager.RTC_WAKEUPとの違いを私に説明できますかAlarmManager.ELAPSED_REALTIME_WAKEUP?ドキュメントを読みましたが、どちらか一方を使用することの意味をまだよく理解していません。 コード例: alarmManager.set(AlarmManager.ELAPSED_REALTIME_WAKEUP, scheduledAlarmTime, pendingIntent); alarmManager.set(AlarmManager.RTC_WAKEUP, scheduledAlarmTime, pendingIntent); 2行のコードの実行はどのように異なりますか?これらの2行のコードはいつ相互に実行されますか? 私はあなたの助けに感謝します。