Firework SDK.

Hierarchy

  • FireworkSDK

Properties

onSDKInit?: SDKInitCallback

The callback of SDK initialization.

Accessors

  • get appLanguage(): undefined | null | string
  • Returns undefined | null | string

  • get debugLogsEnabled(): boolean
  • Defaults to false. You can enable debug logs by setting this property to true.

    Returns boolean

  • set debugLogsEnabled(value: boolean): void
  • Parameters

    • value: boolean

    Returns void

  • get shareBaseURL(): undefined | string
  • The global share base URL of the video. The shareBaseURL in VideoPlayerConfiguration will override this.

    Returns undefined | string

  • set shareBaseURL(value: undefined | string): void
  • Parameters

    • value: undefined | string

    Returns void

Methods

  • Change App level language.

    Returns

    The result of changing app language.

    Parameters

    • Optional language: null | string

      Such as en, ar and en-US. If language is undefined or null or empty string, SDK will use system language.

    Returns Promise<boolean>

  • You only need to call this method when you call init method in native side instead of JS side.

    Returns Promise<void>

  • Get global single instance of FireworkSDK class.

    Returns

    FireworkSDK

    Returns FireworkSDK

Generated using TypeDoc