THEOplayer React Native Connectors
    Preparing search index...

    Interface Subscription

    An object representing a subscription.

    SubscriptionEntity.

    interface Subscription {
        entitlements?: Entitlement[];
        expirationTime?: number;
        providerPackageName: string;
        subscriptionType: SubscriptionType;
        type: Subscription;
    }

    Hierarchy (View Summary)

    Index

    Properties

    entitlements?: Entitlement[]

    If you offer multi-tiered premium subscription packages, which includes expanded content or features beyond the common tier, you can represent this by adding one or more entitlements to Subscription.

    expirationTime?: number

    The optional subscription's expiration time in milliseconds since epoch.

    providerPackageName: string

    The package name of the app that handles the subscription.

    "com.google.android.youtube".
    
    subscriptionType: SubscriptionType

    The type of subscription.

    The entity type.