GfpSdk

object GfpSdk

Class contains logic that applies to the GFP SDK as a whole.

Types

Link copied to clipboard

Callback that returns the result of SDK initialization upon initialization completion.

Link copied to clipboard

The result of the SDK initialization.

Functions

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Initializes the SDK. Call this method as early as possible after the app launches to reduce latency on the session's first ad request. If this method is not called, the first ad request automatically initializes the GFP SDK.

Link copied to clipboard

Returns true if GFP SDK was initialized successfully. false otherwise.

Link copied to clipboard

Register WebView that will communicate between SDKs for App and Web. This method must be called on UI Thread for executing methods of WebView successfully.

@JvmName(name = "registerXWhaleWebView")
fun registerWebView(webView: WebView)

Register XWhale webView that will communicate between SDKs for App and Web. This method must be called on UI Thread for executing methods of WebView successfully.

Link copied to clipboard

Sets the global SdkProperties that will be used for every ad request during the app's session.

Link copied to clipboard

Sets the global UserProperties that will be used for every ad request during the app's session.