using System; namespace Unity.Notifications { /// /// Whether to schedule notifications at exact time or approximately (saves power). /// Exact scheduling is available in Android 6 (API 23) and newer, lower versions always use inexact scheduling. /// Android 12 (API 31) or newer requires SCHEDULE_EXACT_ALARM permission and grant from user to use exact scheduling. /// Android 13 (API 33) or newer can use USE_EXACT_ALARM permission to use exactscheduling without requesting users grant. /// [Flags] public enum AndroidExactSchedulingOption { /// /// Use exact scheduling when possible. /// ExactWhenAvailable = 1, /// /// Add SCHEDULE_EXACT_ALARM permission to the manifest. /// AddScheduleExactPermission = 1 << 1, /// /// Add USE_EXACT_ALARM permission to the manifest. /// AddUseExactAlarmPermission = 1 << 2, } }