Interface ICoreInitApiArgs

Hierarchy

  • ICoreInitApiArgs

Properties

accessToken?: string

User profile's access token

analyticsProvider?: IAnalyticsProvider
clientId: string

Client Id of application to load SDK

endpoint?: string
logger?: boolean

Enable/Disable debug logs. Default is false/

nickName?: string

If no accessToken arg is passed, and no userProfile is returned by storageStrategy arg, init() will generatate a new user profile. This argument sets the nickname of that user profile. If not, nickname will be randomly generated.

publishKey?: string

Key used to enable message sending

storageStrategy?: IStorageStrategy

The storageStrategy is used to get/set user profile. Default uses localStorage.

Generated using TypeDoc