AdswizzSDK

object AdswizzSDK

Types

Link copied to clipboard
fun interface SdkCompletion

Properties

Link copied to clipboard
val analytics: AnalyticsCollector?

Use this property to add your own AnalyticsConnector to receive all the events from the SDK and forward them to your own ingestion pipeline (Firebase, Mixpanel etc.).

Link copied to clipboard

This property stores initialization status. Use completion block of initialize function to be sure that initialization process of AdswizzSDK completed.

Link copied to clipboard

Functions

Link copied to clipboard
fun cleanup()

Perform SDK cleanup and release all SDK components. Call it when you no longer need the SDK.

Link copied to clipboard
Link copied to clipboard
fun initialize(installationId: String?, completion: AdswizzSDK.SdkCompletion? = null)

SDK initialization. The recommended way to do this is in the main function of your application.