Package apple.backgroundtasks.enums
Class BGTaskSchedulerErrorCode
- java.lang.Object
-
- apple.backgroundtasks.enums.BGTaskSchedulerErrorCode
-
public final class BGTaskSchedulerErrorCode extends java.lang.Object[@enum] BGTaskSchedulerErrorCode [@constant] BGTaskSchedulerErrorCodeUnavailable Background task scheduling functionality is not available for this app/extension. Background App Refresh may have been disabled in Settings. [@constant] BGTaskSchedulerErrorCodeTooManyPendingTaskRequests The task request could not be submitted because there are too many pending task requests of this type. Cancel some existing task requests before trying again. [@constant] BGTaskSchedulerErrorCodeNotPermitted The task request could not be submitted because the appropriate background mode is not included in the UIBackgroundModes array, or its identifier was not present in the BGTaskSchedulerPermittedIdentifiers array in the app's Info.plist.
-
-
Field Summary
Fields Modifier and Type Field Description static longNotPermittedstatic longTooManyPendingTaskRequestsstatic longUnavailable
-
-
-
Field Detail
-
Unavailable
public static final long Unavailable
- See Also:
- Constant Field Values
-
TooManyPendingTaskRequests
public static final long TooManyPendingTaskRequests
- See Also:
- Constant Field Values
-
NotPermitted
public static final long NotPermitted
- See Also:
- Constant Field Values
-
-