VideoSubscriberAccount lets video apps authenticate users with their TV subscription providers through single sign-on, verifying cable and streaming entitlements before granting access to content. Use VSAccountManager with a VSAccountManagerDelegate to request access and metadata, checking the returned VSAccountAccessStatus and reading the provider's VSAccountMetadata from a VSAccountMetadataRequest. Register a user's entitlements with VSSubscriptionRegistrationCenter, describing each VSSubscription and its VSSubscriptionAccessLevel, and manage user account state through VSUserAccountManager and VSUserAccount.
Account Access 5
Request and manage a user's access to their TV subscription provider account.
- ClVSAccountManagertvOS 10.0+A VSAccountManager instance coordinates access to a subscriber's account.
- PrVSAccountManagerDelegatetvOS 10.0+A VSAccountManager instance coordinates access to a subscriber's account.
- ClVSAccountManagerResulttvOS 10.0+Represents an in-flight request to an account manger.
- EnVSAccountAccessStatustvOS 10.0+Represents the current state of the application's access to the user's subscription information.
- StVSCheckAccessOptiontvOS 10.0+Options that may be provided when checking access status.
Provider Metadata 5
Describe and retrieve metadata about the user's subscription provider.
- ClVSAccountMetadataRequesttvOS 10.0+Specifies which information the app wants to obtain about the subscriber's account.
- ClVSAccountMetadatatvOS 10.0+A collection of information about a subscriber's account.
- ClVSAccountApplicationProvidertvOS 14.2+An object which provides an account provider to be added to the list of providers in your application.
- ClVSAccountProviderResponsetvOS 10.1+A value object that encapsulates the response given by an account provider.
- StVSAccountProviderAuthenticationSchemeAn opaque protocol name, to be coordinated with specific account providers.
Subscription Registration 3
Register and describe a user's subscription entitlements with the system.
- ClVSSubscriptionRegistrationCenterVSSubscriptionRegistrationCenter stores subscription information.
- ClVSSubscriptionA VSSubscription instance describes the extent to which a subscriber has
- EnVSSubscriptionAccessLevelDescribes the level of access to content.
User Accounts 3
Manage the user's account state and Apple-billed subscriptions.
- ClVSUserAccountManagertvOS 16.4+An object that manages the user accounts associated with the app's subscription service.
- StVSUserAccountA structure that represents a user account and its subscription entitlement state.
- StVSAppleSubscriptionA structure that describes a subscription billed and managed through Apple.
Errors 1
Error values reported by VideoSubscriberAccount operations.
- StVSErrortvOS 10.0+A structure that describes errors reported by VideoSubscriberAccount.