Struct apple_bundle::entitlements::tv::Tv[][src]

pub struct Tv {
    pub user_management: Option<Vec<UserManagement>>,
    pub video_subscriber_single_sign_on: Option<bool>,
    pub smoot_subscriptionservice: Option<bool>,
}
Expand description

TV

Fields

user_management: Option<Vec<UserManagement>>

The entitlement for distinguishing between multiple user accounts on Apple TV.

To configure the entitlement, add the User Management capability on your app’s target in Xcode and select the checkbox for each privilege your app requires. For more details about adding a capability, see Adding Capabilities to Your App.

For guidance on choosing a data management strategy for your app, see Personalizing Your App for Each User on Apple TV.

Note

You can enable runs-as-current-user if your app’s minimum version is earlier than tvOS 14, but the app will behave as if the privilege isn’t set when running on the earlier version.

Availability

  • tvOS 13.0+

Framework

  • TV Services
video_subscriber_single_sign_on: Option<bool>

Availability

  • iOS 10.0+
  • macOS 10.14+
  • tvOS 10.0+

Framework

  • Video Subscriber Account
smoot_subscriptionservice: Option<bool>

Availability

  • iOS 10.0+
  • macOS 10.14+
  • tvOS 10.0+

Framework

  • Video Subscriber Account

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.