๐Initialize the SDK
Creating OfferWallConfig object:
import com.pubscale.sdkone.offerwall.OfferWallConfig
..
..
val offerWallConfig = OfferWallConfig.Builder(context, "YOUR_PUBSCALE_APP_ID")
.setUniqueId("unique_id") //optional, used to represent the user of your application
.setLoaderBackgroundBitmap(backgroundBitmap) //optional
.setLoaderForegroundBitmap(foreground) //optional
.setFullscreenEnabled(false) //optional
.build()import com.pubscale.sdkone.offerwall.OfferWallConfig
..
..
OfferWallConfig offerWallConfig =
new OfferWallConfig.Builder(context, "YOUR_PUBSCALE_APP_ID")
.setUniqueId("unique_id") //optional, used to represent the user of your application
.setLoaderBackgroundBitmap(backgroundBitmap)//optional
.setLoaderForegroundBitmap(foregroundBitmap)//optional
.setFullscreenEnabled(false)//optional
.build();Public Methods
Description
Initialize the Offerwall SDK:
Last updated