Optional
onSDKInitThe callback of SDK initialization.
The configuration for ad badges.
The configuration for data tracking level.
Defaults to false. You can enable debug logs by setting this property to true.
Get LiveStream object.
Get FWNavigator object.
The callback of clicking custom CTA.
the callback of clicking Video Feed.
The callback of video playback.
The global share base URL of the video. The shareBaseURL in VideoPlayerConfiguration will override this.
Get VideoShopping object.
Get video launch behavior.
Change App level language.
The result of changing app language.
Optional
language: null | stringSuch as en, ar and en-US. If language is undefined or null or empty string, SDK will use system language.
Get the component type based on feedId.
The component type based on feedId.
Initializes Firework SDK.
Optional
options: SDKInitOptionsYou need to call this method when you call init method in native side.
Genenally, you should call naitve init in application(:, didFinishLaunchingWithOptions:) -> Bool on iOS and MainApplication.onCreate on Android. If not, you should pass nativeLazyInit as true.
Open Video URL.
Optional
config: OpenVideoPlayerConfigurationRecords the user purchase. Only supported on iOS.
Static
getGet global single instance of FireworkSDK class.
FireworkSDK
Generated using TypeDoc
Firework SDK.