Ad Context
class AdContext(context: Context, activity: Activity, val uiTheme: UiTheme.Theme, val isForStories: Boolean, val isMuted: Boolean, val showMuteButton: Boolean = false, val clipsActionButtonFullWidth: Boolean = false, val isEmbeddedClips: Boolean = false, val isBottomBanner: Boolean = false)
Provides contextual information required when rendering ads.
The supplied activity reference is automatically wrapped in a java.lang.ref.WeakReference so that the SDK does not prevent the hosting Activity from being garbage-collected. Always check that activity is non-null before attempting to use it.