TechnologiesVideo, Photos & Camera

VideoSubscriberAccount

iOSmacOStvOSwatchOSvisionOS

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.

  • Cl
    VSAccountManagertvOS 10.0+
    A VSAccountManager instance coordinates access to a subscriber's account.
  • Pr
    VSAccountManagerDelegatetvOS 10.0+
    A VSAccountManager instance coordinates access to a subscriber's account.
  • Cl
    VSAccountManagerResulttvOS 10.0+
    Represents an in-flight request to an account manger.
  • En
    VSAccountAccessStatustvOS 10.0+
    Represents the current state of the application's access to the user's subscription information.
  • St
    VSCheckAccessOptiontvOS 10.0+
    Options that may be provided when checking access status.

Provider Metadata 5

Describe and retrieve metadata about the user's subscription provider.

  • Cl
    VSAccountMetadataRequesttvOS 10.0+
    Specifies which information the app wants to obtain about the subscriber's account.
  • Cl
    VSAccountMetadatatvOS 10.0+
    A collection of information about a subscriber's account.
  • Cl
    VSAccountApplicationProvidertvOS 14.2+
    An object which provides an account provider to be added to the list of providers in your application.
  • Cl
    VSAccountProviderResponsetvOS 10.1+
    A value object that encapsulates the response given by an account provider.
  • St
    VSAccountProviderAuthenticationScheme
    An opaque protocol name, to be coordinated with specific account providers.

Subscription Registration 3

Register and describe a user's subscription entitlements with the system.

  • Cl
    VSSubscriptionRegistrationCenter
    VSSubscriptionRegistrationCenter stores subscription information.
  • Cl
    VSSubscription
    A VSSubscription instance describes the extent to which a subscriber has
  • En
    VSSubscriptionAccessLevel
    Describes the level of access to content.

User Accounts 3

Manage the user's account state and Apple-billed subscriptions.

  • Cl
    VSUserAccountManagertvOS 16.4+
    An object that manages the user accounts associated with the app's subscription service.
  • St
    VSUserAccount
    A structure that represents a user account and its subscription entitlement state.
  • St
    VSAppleSubscription
    A structure that describes a subscription billed and managed through Apple.

Errors 1

Error values reported by VideoSubscriberAccount operations.

  • St
    VSErrortvOS 10.0+
    A structure that describes errors reported by VideoSubscriberAccount.
← Video, Photos & Camera