Documentation - v7.17.0
    Preparing search index...

    Interface InitContext

    Context to set when initializing the SDK. Each property is equivalent to calling the corresponding setter right after init(): it overrides any value set before init(), and it can be updated later.

    interface InitContext {
        account?: Account;
        user?: User & { id: string };
    }
    Index
    account?: Account

    Account information to set to all events, stored in @account. Equivalent to calling setAccount() right after init().

    See Account for further information.

    user?: User & { id: string }

    User information to set to all events, stored in @usr. Equivalent to calling setUser() right after init().

    See User session for further information.