Package-level declarations

Types

Link copied to clipboard
open class AdEventListener
A listener for receiving notifications during the lifecycle of an ad such as banner or native or native simple ad.
Link copied to clipboard
class AdMuteFeedback(muteUrl: String, code: String, val description: String, @StringRes val descriptionResId: Int)

Class representing feedback information for ad mute actions. Contains tracking URL, code, and description for ad mute events.

Link copied to clipboard

Interface for providing ad mute feedback information. Used to provide feedback options when users mute ads.

Link copied to clipboard

Class representing parameters for ad requests. Contains various parameters needed for ad targeting and customization.

Link copied to clipboard
interface AdStyleOption

A class used to get style information of native ad.

Link copied to clipboard
open class BannerAdListener
Banner Ad exclusive listener for receiving notifications during the lifecycle of an banner ad.
Link copied to clipboard
class BannerAdMediator : AdMediator<T1, T2>
Mediator class specifically designed for banner ads.
Link copied to clipboard
Enumeration defining different layout types for banner views.
Link copied to clipboard
abstract class BaseInStreamAdManager(    context: Context,     adParamArg: AdParam,     adVideoPlayer: AdVideoPlayer,     adContainer: FrameLayout?,     linearAdType: LinearAdType = LinearAdType.PRE_ROLL,     playTimeOffsetMillis: Long = 0) : GfpVideoAd

Base class for managing in-stream video ads. Handles the lifecycle and events of video ads, including loading, playing, and tracking.

Link copied to clipboard
Common text non-linear (remind text in NAM) ad.
Link copied to clipboard
A type of Video (linear) and Non-linear Ad
Link copied to clipboard
Event tracking state type
Link copied to clipboard

Event of the nda richmedia expandable ad

Link copied to clipboard
Enumeration representing gender codes for user properties.
Link copied to clipboard
class Gfp
A class that fetch build phase and configure some api
Link copied to clipboard
interface GfpAd
GfpAd interface is a common interface implemented by all GFP ad class.
Link copied to clipboard
sealed interface GfpAdChoicesData

Sealed interface for ad choices data. Represents different types of ad choices information including privacy and mute feedback.

Link copied to clipboard
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.

Link copied to clipboard

An object for requesting ads such as banner, native, native simple. Provides functionality to configure and build ad requests.

Link copied to clipboard
open class GfpAdLoaderBase
A base class for a GfpAdLoader.
Link copied to clipboard
open class GfpAdMuteView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : FrameLayout
Link copied to clipboard
Only for APS (Amazon header bidding), please set parameter with this
Link copied to clipboard
interface GfpBannerAd : GfpAd
GfpBannerAd interface is a common interface implemented by all banner ad.
Link copied to clipboard
A class used to configure banner ad requests.
Link copied to clipboard
The size of a banner ad.
Link copied to clipboard

The View to display banner ads for use with this SDK.

Link copied to clipboard
A base class for GfpBannerAdView.
Link copied to clipboard
data class GfpContentInfo(val sourceType: String, val sourceSubType: String, val sourceId: String) : Parcelable
Link copied to clipboard
open class GfpDedupeManager
Internal manager class for handling ad deduplication.
Link copied to clipboard
data class GfpError(val errorType: GfpErrorType, val errorSubCode: String, val errorMessage: String, val stat: EventTrackingStatType) : Parcelable

Error information about why an ad operation failed.

Link copied to clipboard
Ad error sub code.
Link copied to clipboard
Error types.
Link copied to clipboard
class GfpInitializer : NasInitializer
Link copied to clipboard
abstract class GfpInterstitialAd : GfpAd
The GfpInterstitialAd interface represent a interstitial ad.
Link copied to clipboard
Manager class for handling interstitial ads.
Link copied to clipboard

A class used to configure interstitial ad requests.

Link copied to clipboard

Enumeration representing supported languages for the SDK. Provides functionality for locale management and string localization.

Link copied to clipboard
interface GfpMediaData

Provides media data.

Link copied to clipboard

The type of media content drawn in the GfpMediaView.

Link copied to clipboard
View for displaying native advanced ad media content.
Link copied to clipboard
The GfpNativeAd represents ad metadata to allow you to construct custom ad views.
Link copied to clipboard
class GfpNativeAdOptions(    val theme: GfpTheme?,     val adChoicesPlacement: Int,     val richMediaPaddingInDp: Rect,     activateObservingOnBackground: Boolean,     hasMediaView: Boolean,     enableMediaBackgroundBlur: Boolean,     enableMediaOverlayDim: Boolean,     enableCustomAdChoices: Boolean,     val videoOptions: GfpNativeVideoOptions) : GfpNativeAdOptionsBase

A class used to configure native ad requests.

Link copied to clipboard

Base interface for native ad options configuration. Defines common options and settings for native ad display and behavior.

Link copied to clipboard
class GfpNativeAdView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : FrameLayout, ViewExtensions

View class for displaying native ads. After loading, call {@link #setNativeAd(GfpNativeAd)} to attach each asset to the page.

Link copied to clipboard
The GfpNativeSimpleAd interface represent a native simple ad.
Link copied to clipboard
A class used to configure native simple ad requests.
Link copied to clipboard
class GfpNativeSimpleAdView @JvmOverloads constructor(    context: Context,     attrs: AttributeSet? = null,     defStyleAttr: Int = 0) : FrameLayout, ViewExtensions

Ad view for Native Simple ad To attach ad to page, should call setNativeSimpleAd after loading.

Link copied to clipboard
Common non-linear (banner or text) ad view in video ad.
Link copied to clipboard
Information about an ad response.
Link copied to clipboard
abstract class GfpRewardedAd : GfpAd
The GfpRewardedAd interface represent a rewarded ad.
Link copied to clipboard
Link copied to clipboard
Base manager class for handling rewarded ads.
Link copied to clipboard
open class GfpRewardItem
A class that describes a reward credited to a user for interacting with a rewarded ad.
Link copied to clipboard
object GfpSdk

Class contains logic that applies to the GFP SDK as a whole.

Link copied to clipboard
sealed interface GfpTheme

Represents the theme of the app. May be one of ResolvedTheme.SYSTEM, ResolvedTheme.LIGHT, ResolvedTheme.DARK, LazyTheme.

Link copied to clipboard
interface GfpVideoAd : GfpAd
GfpVideoAd interface represent a video ad.
Link copied to clipboard
A class used to configure video ad requests.
Link copied to clipboard
QoE object for tracking in video ad
Link copied to clipboard
Interface for tracking Quality of Experience (QoE) metrics in video ad events.
Link copied to clipboard
class GfpVideoAdScheduleManager(    context: Context,     adScheduleParam: VideoAdScheduleParam,     adParam: AdParam,     adVideoPlayer: AdVideoPlayer,     adContainer: FrameLayout)

Manager class for handling video ad scheduling and playback. Controls the lifecycle of video ads, including loading, playing, and managing ad breaks.

Link copied to clipboard
open class HostParam : Serializable
Meta data (string key/value) for banner ad.
Link copied to clipboard
interface Image
A native ad image asset.
Link copied to clipboard
Listener interface for receiving interstitial ad events.
Link copied to clipboard
interface LabelOption

A class used to render label asset of native ad.

Link copied to clipboard

Represents the theme that is determined to be lazy. This theme type allows for dynamic theme resolution through a resolver.

Link copied to clipboard
Enumeration defining the position of video ads (LinearAd) in content.
Link copied to clipboard
sealed class NonLinearAdInfo
Link copied to clipboard
Status in NonLinearView
Link copied to clipboard

Interface for providing privacy URL information. Used to provide URLs for privacy-related content.

Link copied to clipboard
Attributes for RemindTextAdView
Link copied to clipboard
open class ResolvedImage(    drawable: Drawable?,     uri: Uri,     scale: Double,     width: Int,     height: Int,     requiredWidth: Int = width,     requiredHeight: Int = height) : Image
Link copied to clipboard

Represents the resolved theme. This enum defines the possible theme values that can be used in the app.

Link copied to clipboard
Listener interface for receiving rewarded ad events.
Link copied to clipboard
Unified API class for handling different types of ads (banner, native, native simple).
Link copied to clipboard
class UnifiedAdMediator : AdMediator<T1, T2> , AdapterProcessorListener
Mediator class designed for unified ads.
Link copied to clipboard

A listener for the user show interest changes.

Link copied to clipboard
Ad type in NDA video module.
Link copied to clipboard
open class VideoAdListener
A listener for receiving notifications during the lifecycle of an video ad.
Link copied to clipboard
Interface for handling video ad schedule events and callbacks.
Link copied to clipboard
Parameter class for video schedule ad configuration.
Link copied to clipboard

Used in parsing VAST

Link copied to clipboard
Video information - size, bitrate, content type, URL
Link copied to clipboard

Video Mime type

Link copied to clipboard
data class VideoScheduleResponse(    val head: VideoScheduleResponse.Head?,     val requestId: String,     val videoAdScheduleId: String,     val adBreaks: List<VideoScheduleResponse.AdBreak>,     val error: VideoScheduleResponse.Error?,     val startOffsetUse: Int) : Parcelable

Functions

Link copied to clipboard

Determines if the theme represents dark mode in the given context