여러 개의 알람을 설정했으며이를 제어하기 위해 전화기의 시간을 변경합니다. 그들은 정상적으로 작동할까요? 무엇이 다른 말로하면, 내가 휴대 전화의 시간을 변경하면 경보가 무너질 것인가?휴대 전화의 시간을 변경하면 경보 관리자는 어떻게됩니까?
-4
A
답변
0
나는 붕괴가 무슨 뜻인지 몰라. 그러나 알람은 기기의 시간 만 인식하므로 기기 시간을 변경하면 그 시간에 맞춰 작동해야합니다.
1
그럼 모두 알람 관리자의 설정 방법에 전달한 유형에 따라 다릅니다.
당신이 ELAPSED_REALTIME 또는 ELAPSED_REALTIME_WAKEUP을 사용한 경우, 경보 장치 시간
RTC
Added in API level 1
int RTC
Alarm time in System.currentTimeMillis() (wall clock time in UTC). This alarm does not wake the device up; if it goes off while the device is asleep, it will not be delivered until the next time the device wakes up.
따라 당신이 사용자 RTC 또는 RTC_WAKEUP이있는 경우, 알람이 발생됩니다
ELAPSED_REALTIME
Added in API level 1
int ELAPSED_REALTIME
Alarm time in SystemClock.elapsedRealtime() (time since boot, including sleep). This alarm does not wake the device up; if it goes off while the device is asleep, it will not be delivered until the next time the device wakes up.
실행되지 않습니다