accountlinkapplaunch

    accountlinkapplaunch


    Article summary

    The X1 App has started. This can be sent regardless of signIn state, but for efficiency should be sent when the X1 App has resolved the user's subscription entitlements, if any.

    Signature:

    $badger.accountLink().appLaunch(subscriptionEntitlements);

    Parameters:

    headerheaderheaderheader
    subscriptionEntitlementsAn array of objects capturing subscription entitlements to packages of content which the user has subscribed to. The object contains the following fields:
    id - identifier string for the entitlement (string, required)
    startDate - epoch timestamp (in milliseconds) of when the entitlement goes into effect (date, optional)
    endDate - epoch timestamp (in milliseconds) of when the entitlement is no longer valid (date, optional)
    arrayno
    #### Return Values:
    None.

    Usage Example:

    $badger.accountLink().appLaunch([ 
        { "id": "Content1" },
        { "id": "contentTwo" },
        { "id": "Content 3" }
    ]);
    

    Was this article helpful?