-
public final class PDAAdSettingsConfiguration parameters for PDA ad view creation. Supports both vertical and horizontal layouts through the adType parameter.
-
-
Field Summary
Fields Modifier and Type Field Description private final NativeAdStyleadTypeprivate final Integerwidthprivate final Integerheightprivate final PDAAdCustomStylepdaAdCustomStyleprivate final StringadLabelTextprivate final IntegeradLabelAlignmentprivate final ViewcustomBadgeViewprivate final AttributeSetattributeSetprivate final ErrorCallbackerrorCallback
-
Constructor Summary
Constructors Constructor Description PDAAdSettings(NativeAdStyle adType, Integer width, Integer height, PDAAdCustomStyle pdaAdCustomStyle, String adLabelText, Integer adLabelAlignment, View customBadgeView, AttributeSet attributeSet, ErrorCallback errorCallback)
-
Method Summary
Modifier and Type Method Description final NativeAdStylegetAdType()final IntegergetWidth()final IntegergetHeight()final PDAAdCustomStylegetPdaAdCustomStyle()final StringgetAdLabelText()final IntegergetAdLabelAlignment()final ViewgetCustomBadgeView()final AttributeSetgetAttributeSet()final ErrorCallbackgetErrorCallback()-
-
Constructor Detail
-
PDAAdSettings
PDAAdSettings(NativeAdStyle adType, Integer width, Integer height, PDAAdCustomStyle pdaAdCustomStyle, String adLabelText, Integer adLabelAlignment, View customBadgeView, AttributeSet attributeSet, ErrorCallback errorCallback)
- Parameters:
adType- Type of PDA ad (VERTICAL, HORIZONTAL)width- Width of PDA ad view in pixelsheight- Optional height of PDA ad view in pixelspdaAdCustomStyle- Optional custom styling for the PDA adadLabelText- Optional text for ad labeladLabelAlignment- Optional alignment for ad labelcustomBadgeView- Optional custom badge viewattributeSet- Optional attribute set for view stylingerrorCallback- Optional callback for error handling
-
-
Method Detail
-
getAdType
final NativeAdStyle getAdType()
-
getPdaAdCustomStyle
final PDAAdCustomStyle getPdaAdCustomStyle()
-
getAdLabelText
final String getAdLabelText()
-
getAdLabelAlignment
final Integer getAdLabelAlignment()
-
getCustomBadgeView
final View getCustomBadgeView()
-
getAttributeSet
final AttributeSet getAttributeSet()
-
getErrorCallback
final ErrorCallback getErrorCallback()
-
-
-
-