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)
Link copied to clipboard
Link copied to clipboard
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>
Link copied to clipboard
Only for NDA module, some banner support MRAID spec.
Link copied to clipboard
abstract class BaseInStreamAdManager(context: Context, adParamArg: AdParam, adVideoPlayer: AdVideoPlayer, adContainer: FrameLayout?, linearAdType: LinearAdType = LinearAdType.PRE_ROLL, playTimeOffsetMillis: Long = 0) : GfpVideoAd
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
Gender code
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
Link copied to clipboard
class GfpAdChoicesView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, defStyleAttr: Int = 0) : FrameLayout

In FAN, NDA module. This is used in opt-out icon.

Link copied to clipboard

An object for requesting ads such as banner, native, native simple

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
Only for internal using
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
To apply interstitial ad, you should use this manager (not a GfpAdLoader)
Link copied to clipboard

A class used to configure interstitial ad requests.

Link copied to clipboard
Link copied to clipboard
interface GfpMediaData

Provides media data.

Link copied to clipboard
Link copied to clipboard
MediaView displays native 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, enableCustomAdChoices: Boolean, val videoOptions: GfpNativeVideoOptions) : GfpNativeAdOptionsBase

A class used to configure native ad requests.

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

Ad view for Native ad To attach each asset to page, should call {@link #setNativeAd(GfpNativeAd)} after loading.

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
To apply Rewarded ad, you should use this manager (not a GfpAdLoader
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
Can track QoE in each video ad event
Link copied to clipboard
class GfpVideoAdScheduleManager(context: Context, adScheduleParam: VideoAdScheduleParam, adParam: AdParam, adVideoPlayer: AdVideoPlayer, adContainer: FrameLayout)
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
Interstitial Ad exclusive listener to receive an ad event.
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.

Link copied to clipboard
Video ad(LinearAd) position in content.
Link copied to clipboard
sealed class NonLinearAdInfo
Link copied to clipboard
Status in NonLinearView
Link copied to clipboard
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.

Link copied to clipboard
Rewarded Ad exclusive listener to receive an ad event.
Link copied to clipboard
Link copied to clipboard
class UnifiedAdMediator : AdMediator<T1, T2> , AdapterProcessorListener
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
Link copied to clipboard
Parameter for video schedule ad.
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