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 a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Returns the “default value” for a type. Read more

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 !=.

Serialize this value into the given Serde serializer. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

recently added

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.