GfpAdChoicesView

class GfpAdChoicesView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : FrameLayout

View class for displaying ad choices (opt-out) icon. Used in FAN (Facebook Audience Network) and NDA (Native Display Ad) modules. This view allows users to opt out of personalized advertising.

Constructors

Link copied to clipboard
constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0)

Creates a new GfpAdChoicesView instance.

Functions

Link copied to clipboard

Gets the appropriate drawable resource ID based on the current theme mode. This is a base implementation that always returns null. Subclasses should override this method to provide actual drawable resources.