Companion

object Companion

Properties

Link copied to clipboard
val adapterInfo: List<AdapterInfo>

Gets the adapter info from the PartnerController instance.

Link copied to clipboard

Returns the activity context if available. Otherwise, returns the application context if initialized.

Functions

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

Gets the Game Engine name.

Link copied to clipboard

Gets the Game Engine version.

Link copied to clipboard

Get the PartnerConsents object to be able to set consent on a per-partner basis. Setting consent here will override the GDPR and CCPA consent for a particular partner.

Link copied to clipboard
Link copied to clipboard

Gets the user identifier previously set.

Link copied to clipboard
Link copied to clipboard

Indicates if oversized banner ads will be dropped.

Link copied to clipboard

Load a fullscreen ad. This method is designed to be called from Java.

Link copied to clipboard
fun setCCPAConsent(hasGivenCcpaConsent: Boolean)

Indicates that the CCPA-applicable user has granted consent to the collection of Personally Identifiable Information. For more information about CCPA:

Link copied to clipboard
Link copied to clipboard
fun setGameEngine(name: String?, version: String?)

Specifies to the Helium SDK the Game Engine environment.

Link copied to clipboard

Specifies if oversized banner ads should be discarded.

Link copied to clipboard

Indicates that the user is subject to COPPA (Children's Online Privacy Protection Act). For more information about COPPA:

Link copied to clipboard
fun setSubjectToGDPR(isSubjectToGdpr: Boolean)

Indicates that the user is subject to GDPR (General Data Protection Regulation). For more information about GDPR:

Link copied to clipboard
Link copied to clipboard
fun setUserHasGivenConsent(hasGivenGdprConsent: Boolean)

Indicates that the GDPR-applicable user has granted consent to the collection of Personally Identifiable Information. For more information about GDPR:

Link copied to clipboard
fun setUserIdentifier(userIdentifier: String?)

Set the user identifier used for rewarded callbacks.

Link copied to clipboard
fun start(context: Context, appId: String, appSignature: String, options: HeliumInitializationOptions? = null, heliumSdkListener: HeliumSdk.HeliumSdkListener?)

Starts the Helium SDK. Call this before using any other SDK components. This method can only be run once

Link copied to clipboard

Subscribe to impression level revenue data.

Link copied to clipboard

Subscribe to partner initialization results.

Link copied to clipboard

Unsubscribe to impression level revenue data.