Struct apple_bundle::info_plist::app_execution::BackgroundExecution [−][src]
pub struct BackgroundExecution {
pub ui_background_modes: Option<Vec<UiBackgroundMode>>,
pub wk_background_modes: Option<Vec<WkBackgroundMode>>,
pub task_scheduler_permitted_identifiers: Option<Vec<String>>,
pub background_only: Option<bool>,
}Expand description
Background Execution
Fields
ui_background_modes: Option<Vec<UiBackgroundMode>>Services provided by an app that require it to run in the background.
Availability
- iOS 4.0+
- watchOS 4.0+
Framework
- UIKit
wk_background_modes: Option<Vec<WkBackgroundMode>>The services a watchOS app provides that require it to continue running in the background.
You can only enable one of the extended runtime session modes (self-care, mindfulness, physical-therapy, or alarm). However, you can enable both an extended runtime session mode and the workout-processing mode. If you set the background modes using Xcode’s Signing & Capabilities tab, Xcode insures that these values are set properly.
Availability
- watchOS 3.0+
Framework
- WatchKit
task_scheduler_permitted_identifiers: Option<Vec<String>>An array of strings containing developer-specified task identifiers in reverse URL notation.
Availability
- iOS 13.0+
- tvOS 13.0+
Framework
- Background Tasks
background_only: Option<bool>A Boolean value indicating whether the app runs only in the background.
Availability
- macOS 10.0+
Framework
- Core Services
Trait Implementations
Returns the “default value” for a type. Read more
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>, [src]Deserialize this value from the given Serde deserializer. Read more
This method tests for self and other values to be equal, and is used
by ==. Read more
This method tests for !=.
Auto Trait Implementations
impl RefUnwindSafe for BackgroundExecutionimpl Send for BackgroundExecutionimpl Sync for BackgroundExecutionimpl Unpin for BackgroundExecutionimpl UnwindSafe for BackgroundExecutionBlanket Implementations
Mutably borrows from an owned value. Read more