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>§smoot_subscriptionservice: Option<bool>Trait Implementations§
Source§impl<'de> Deserialize<'de> for Tv
impl<'de> Deserialize<'de> for Tv
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for Tv
impl StructuralPartialEq for Tv
Auto Trait Implementations§
impl Freeze for Tv
impl RefUnwindSafe for Tv
impl Send for Tv
impl Sync for Tv
impl Unpin for Tv
impl UnwindSafe for Tv
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.