目录

Overview

Contains base classes of Petal Ads APIs.

Interface Summary

Interface

Description

ActivateStyle

Style of an app activation reminder pop-up.

AdParam.ErrorCode

Result codes to ad requests.

AppDownloadButton.OnDownloadStatusChangedListener

Listener for download/installation status changes of the advertised app.

AppDownloadButton.OnNonWifiDownloadListener

Listener for app download without Wi-Fi.

AudioFocusType

Scenarios in which your app will or won't obtain the audio focus.

ContentClassification

Ad content ratings.

Gender

Gender.

MediaMuteListener

Listener that checks whether an ad is muted.

NonPersonalizedAd

Sets whether to request only non-personalized ads.

TagForChild

Child-directed setting.

UnderAge

Setting directed to users under the age of consent.

VideoOperator

Video controller, which implements video controls such as playing, pausing, and muting a video.

2.2.2.13-AdFeedbackListener

Ad feedback component listener.

IsQueryUseEnabled

Whether search keywords can be used.

AutoPlayNetType

Type of the network allowed for automatic playback.

ReportUrlListener

Listener for reporting the bidding result.

Class Summary

Class

Description

AdListener

Ad status listener.

AdParam

Ad request.

AdParam.Builder

Ad request builder.

AdSize

Ad dimensions.

AppDownloadButton

App download button.

AppDownloadButtonStyle

Overall style of the app download button.

AppDownloadButtonStyle.Style

Basic style information of the app download button.

BannerAdSize

Banner ad dimensions.

ChoicesView

Ad choice view.

HwAds

Class used for Petal Ads API initialization.

Image

Ad image.

RequestOptions

Settings directed to children, settings directed to users under the age of consent, and ad content ratings.

RequestOptions.Builder

Builder for global request configuration.

Video

Ad video.

VideoConfiguration

Video configuration that controls video playback.

VideoConfiguration.Builder

Video configuration builder.

VideoOperator.VideoLifecycleListener

Video lifecycle listener.

AppInfo

Information about the promoted app.

PromoteInfo

Promotion object attribute.

InformationController

Privacy information collection controller.

InformationController.Builder

Builder of a privacy information collection controller.

BiddingInfo

Real-time bidding data returned to the app.

BiddingParam

Ad parameters requested by apps for real-time bidding.

BiddingParam.Builder

Builder for ad parameters requested by apps for real-time bidding.

Enum Value Summary

Enum

Description

AppDownloadStatus

Enum class of app download/installation status.