NativeAdView

class NativeAdView : FrameLayout


תצוגת הבסיס של NativeAd.

בקובצי פריסה של XML למודעות מותאמות צריך להשתמש ב-NativeAdView כאלמנט הבסיסי של הנכסים המותאמים, ובתצוגות שנוצרות באופן דינמי שיכילו נכסים של מודעות מותאמות צריך להשתמש במופע של המחלקה הזו כאלמנט הבסיסי ViewGroup.

סיכום

יצרנים ציבוריים

NativeAdView(context: Context!)

יוצר NativeAdView מקוד.

NativeAdView(context: Context!, attrs: AttributeSet!)

יוצר NativeAdView מפריסת XML.

NativeAdView(context: Context!, attrs: AttributeSet!, defStyleAttr: Int)

יוצר NativeAdView מפריסת XML.

NativeAdView(
    context: Context!,
    attrs: AttributeSet!,
    defStyleAttr: Int,
    defStyleRes: Int
)

יוצר NativeAdView מפריסת XML.

פונקציות גלויות לכולם

Unit

הפונקציה משמידה את תצוגת המודעה המותאמת.

AdChoicesView?

הפונקציה מחזירה את התצוגה שמשויכת לתוכן של AdChoices.

View?

הפונקציה מחזירה את התצוגה שמשויכת לנכס של המפרסם.

View?

מחזירה את התצוגה שמשויכת לנכס של גוף התגובה.

View?

מחזירה את התצוגה שמשויכת לנכס הקריאה לפעולה.

View?

הפונקציה מחזירה את התצוגה המפורטת שמשויכת לנכס הכותרת.

View?

הפונקציה מחזירה את התצוגה שמשויכת לנכס הסמל.

View?

מחזירה את התצוגה שמשויכת לנכס התמונה.

MediaView?

מחזירה את התצוגה שמשויכת לתוכן המדיה.

View?

הפונקציה מחזירה את התצוגה שמשויכת לנכס המחיר.

View?

הפונקציה מחזירה את התצוגה שמשויכת לנכס של דירוג הכוכבים.

View?

מחזירה את התצוגה שמשויכת לנכס של החנות.

Unit

מגדיר AdChoicesView להצגת תוכן של AdChoices.

Unit

הגדרת תצוגה של נכס המפרסם.

Unit
setBodyView(view: View?)

הגדרת תצוגה לנכס של גוף הבקשה.

Unit

קובע תצוגה לנכס הקריאה לפעולה.

Unit

המדיניות הזו מגדירה את View שבו המשתמשים ישתמשו כדי לאשר את הקליקים שלהם.

Unit

הגדרת תצוגה של נכס הכותרת.

Unit
setIconView(view: View?)

הגדרת תצוגה לנכס הסמל.

Unit

הגדרה של תצוגה לנכס התמונות.

Unit

הגדרת צפייה במדיה לתוכן מדיה.

Unit

מגדיר את NativeAd שמוצג כרגע בתצוגה הזו.

Unit

הגדרת תצוגה לנכס המחיר.

Unit

הגדרת תצוגה של נכס דירוג כוכבים.

Unit

הגדרת תצוגה של נכס החנות.

Inherited Constants

מ-android.view.View
const Int
const Int
const Int
const Int
const Int
const Int
const Property<View!, Float!>!
const Int
const String!
AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DATE = "creditCardExpirationDate"
const String!
AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_DAY = "creditCardExpirationDay"
const String!
AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_MONTH = "creditCardExpirationMonth"
const String!
AUTOFILL_HINT_CREDIT_CARD_EXPIRATION_YEAR = "creditCardExpirationYear"
const String!
const String!
AUTOFILL_HINT_CREDIT_CARD_SECURITY_CODE = "creditCardSecurityCode"
const String!
const String!
const String!
const String!
const String!
const String!
const String!
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int

המאפיין הזה יצא משימוש.

const Int

המאפיין הזה יצא משימוש.

const Int

המאפיין הזה יצא משימוש.

const IntArray<Int>!
const IntArray<Int>!
const IntArray<Int>!
const IntArray<Int>!
const IntArray<Int>!
const IntArray<Int>!
const IntArray<Int>!
const IntArray<Int>!
const IntArray<Int>!
const Int
const Int
const Int
const Int
const Int
const Int
const IntArray<Int>!
const IntArray<Int>!
const IntArray<Int>!
const IntArray<Int>!
const Int
const Int
const Int
const Int
const Int
const Int
const Int
GONE = 8
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
KEEP_SCREEN_ON = 67108864
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
NO_ID = -1
const Int
const Int
const Int
const Int
const Int
const Int
const IntArray<Int>!
const IntArray<Int>!
const IntArray<Int>!
const IntArray<Int>!
const IntArray<Int>!
const IntArray<Int>!
const IntArray<Int>!
const IntArray<Int>!
const IntArray<Int>!
const IntArray<Int>!
const IntArray<Int>!
const IntArray<Int>!
const IntArray<Int>!
const IntArray<Int>!
const IntArray<Int>!
const IntArray<Int>!
const Int
const Int
const Int
const Int
const Float
const Float
const Float
const Float
const Float
const Property<View!, Float!>!
const Property<View!, Float!>!
const Property<View!, Float!>!
const Property<View!, Float!>!
const Property<View!, Float!>!
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const IntArray<Int>!
const IntArray<Int>!
const Int
const Int

המאפיין הזה יצא משימוש.

const Int

המאפיין הזה יצא משימוש.

const Int

המאפיין הזה יצא משימוש.

const Int

המאפיין הזה יצא משימוש.

const Int

המאפיין הזה יצא משימוש.

const Int

המאפיין הזה יצא משימוש.

const Int

המאפיין הזה יצא משימוש.

const Int

המאפיין הזה יצא משימוש.

const Int

המאפיין הזה יצא משימוש.

const Int

המאפיין הזה יצא משימוש.

const Int

המאפיין הזה יצא משימוש.

const Int

המאפיין הזה יצא משימוש.

const Int

המאפיין הזה יצא משימוש.

const Int

המאפיין הזה יצא משימוש.

const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Int
const Property<View!, Float!>!
const Property<View!, Float!>!
const Property<View!, Float!>!
const String!
VIEW_LOG_TAG = "View"
const Int
const IntArray<Int>!
const Property<View!, Float!>!
const Property<View!, Float!>!
const Property<View!, Float!>!
מתוך android.view.ViewGroup
const Int
const Int
const Int
const Int
const Int
const Int
const Int

המאפיין הזה יצא משימוש.

const Int

המאפיין הזה יצא משימוש.

const Int

המאפיין הזה יצא משימוש.

const Int

המאפיין הזה יצא משימוש.

פונקציות שעברו בירושה

מתוך android.widget.FrameLayout
מ-android.view.View
Unit
Unit
Unit
ViewPropertyAnimator!
Unit

הפונקציה הזו יצאה משימוש.

Unit
Boolean
Unit
Unit

הפונקציה הזו יצאה משימוש.

Unit
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Unit
Unit
Unit
Boolean
Unit
Unit
Unit
java-static Int
Int
Int
Int
Unit
WindowInsets!
Int
Int
Int
AccessibilityNodeInfo!
Unit
Unit

הפונקציה הזו יצאה משימוש.

Boolean
Boolean
Boolean
Boolean
Boolean
dispatchNestedPreScroll(p: Int, p1: Int, p2: IntArray!, p3: IntArray!)
Boolean
dispatchNestedScroll(p: Int, p1: Int, p2: Int, p3: Int, p4: IntArray!)
Boolean
Unit
draw(p: Canvas!)
Unit
OnBackInvokedDispatcher!
T!
<T : View?> findViewById(p: Int)
T!
<T : View?> findViewWithTag(p: Any!)
Boolean

הפונקציה הזו יצאה משימוש.

Unit
Unit
Unit
generateDisplayHash(
    p: String!,
    p1: Rect!,
    p2: Executor!,
    p3: DisplayHashResultCallback!
)
java-static Int
View.AccessibilityDelegate!
Int
AccessibilityNodeProvider!
CharSequence!
Int
Int
String!
String!
Float
Animation!
Matrix!
IBinder!
IntArray<Int>!
(Mutable)Map<Int!, Int!>!
Array<String!>!
AutofillId!
Int
AutofillValue!
Drawable!
BlendMode!
ColorStateList!
PorterDuff.Mode!
Int
Int
Float
Int
Float
Rect!
Boolean
Boolean
ContentCaptureSession!
CharSequence!
Int
Context!
ContextMenu.ContextMenuInfo!
Boolean
java-static Int
getDefaultSize(p: Int, p1: Int)
Display!
IntArray<Int>!
Bitmap!

הפונקציה הזו יצאה משימוש.

Int

הפונקציה הזו יצאה משימוש.

Int

הפונקציה הזו יצאה משימוש.

Unit
Long
Float
Int
Boolean
Boolean
Int
ArrayList<View!>!
Unit
Drawable!
Int
BlendMode!
ColorStateList!
PorterDuff.Mode!
Float
Boolean
Handler!
Float
Float
Float
Float
Int
Runnable!
Boolean
Int
Unit
Int
Int
Drawable!
Drawable!
Int
Int
Int
Int
Boolean
KeyEvent.DispatcherState!
Int
Int
Int
ViewGroup.LayoutParams!
Int
Float
Int
Boolean
Unit
Unit
Unit
Matrix!
Int
Int
Int
Int
Int
Int
Int
Int
Int
Int
Int
Int
Int
View.OnFocusChangeListener!
Int
ViewOutlineProvider!
Int
Int
ViewOverlay!
Int
Int
Int
Int
Int
Int
ViewParent!
ViewParent!
OutcomeReceiver<GetCredentialResponse!, GetCredentialException!>!
GetCredentialRequest!
Float
Float
PointerIcon!
(Mutable)List<Rect!>!
Array<String!>!
Float
Resources!
Boolean
Int
Float
Int
AttachedSurfaceControl!
View!
WindowInsets!
Float
Float
Float
Float
Float
Int
Int
Int
Int
Int
Int
Int
Int
Int
Int
CharSequence!
StateListAnimator!
Int
Int
CharSequence!
(Mutable)List<Rect!>!
Int

הפונקציה הזו יצאה משימוש.

Any!
Int
Int
CharSequence!
Int
Float
Int
TouchDelegate!
ArrayList<View!>!
Float
String!
Float
Float
Float
Long
Int
Int
Drawable!
Drawable!
Int
ViewTranslationResponse!
ViewTreeObserver!
Int
Int
Int
WindowId!
WindowInsetsController!
Int

הפונקציה הזו יצאה משימוש.

IBinder!
Int
Unit
Float
Float
Float
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
java-static View!
inflate(p: Context!, p1: Int, p2: ViewGroup!)
Unit
Unit
Unit
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean

הפונקציה הזו יצאה משימוש.

Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
View!
Unit
measure(p: Int, p1: Int)
java-static IntArray<Int>!
Unit
Unit
Unit
Unit
WindowInsets!
Unit
Boolean
Boolean
Unit
Unit
InputConnection!
Unit
Unit
Unit
Boolean
Unit
Unit
Unit
Boolean
Unit
Unit
Unit
onFocusChanged(p: Boolean, p1: Int, p2: Rect!)
Boolean
Unit
Boolean
Unit
Unit
Boolean
onKeyDown(p: Int, p1: KeyEvent!)
Boolean
Boolean
onKeyMultiple(p: Int, p1: Int, p2: KeyEvent!)
Boolean
onKeyPreIme(p: Int, p1: KeyEvent!)
Boolean
Boolean
onKeyUp(p: Int, p1: KeyEvent!)
Unit
onOverScrolled(p: Int, p1: Int, p2: Boolean, p3: Boolean)
Unit
Unit
Unit
Unit
Unit
Unit
Unit
ContentInfo!
Unit
Unit
Parcelable!
Unit
Unit
onScrollCaptureSearch(
    p: Rect!,
    p1: Point!,
    p2: Consumer<ScrollCaptureTarget!>!
)
Unit
onScrollChanged(p: Int, p1: Int, p2: Int, p3: Int)
Boolean
Unit
onSizeChanged(p: Int, p1: Int, p2: Int, p3: Int)
Unit
Boolean
Boolean
Unit
Unit
Unit
Unit
Unit

הפונקציה הזו יצאה משימוש.

Unit
Boolean
overScrollBy(
    p: Int,
    p1: Int,
    p2: Int,
    p3: Int,
    p4: Int,
    p5: Int,
    p6: Int,
    p7: Int,
    p8: Boolean
)
Boolean
Boolean
Boolean
Boolean
Boolean
ContentInfo!
Unit
Boolean
Boolean
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Boolean
Unit
Unit
Unit
Unit
Unit
Unit

הפונקציה הזו יצאה משימוש.

Boolean
Unit
Unit
Boolean
Unit
T!
<T : View?> requireViewById(p: Int)
Unit
java-static Int
resolveSize(p: Int, p1: Int)
java-static Int
resolveSizeAndState(p: Int, p1: Int, p2: Int)
Unit
Unit
saveAttributeDataForStyleable(
    p: Context!,
    p1: IntArray!,
    p2: AttributeSet!,
    p3: TypedArray!,
    p4: Int,
    p5: Int
)
Unit
Unit
scheduleDrawable(p: Drawable!, p1: Runnable!, p2: Long)
Unit
scrollBy(p: Int, p1: Int)
Unit
scrollTo(p: Int, p1: Int)
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit

הפונקציה הזו יצאה משימוש.

Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit

הפונקציה הזו יצאה משימוש.

Unit

הפונקציה הזו יצאה משימוש.

Unit

הפונקציה הזו יצאה משימוש.

Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
setId(p: Int)
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
setLayerType(p: Int, p1: Paint!)
Unit
Unit
Unit
Unit
setLeftTopRightBottom(p: Int, p1: Int, p2: Int, p3: Int)
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit

הפונקציה הזו יצאה משימוש.

Unit
Unit
Unit
Unit
Unit
Unit
setPadding(p: Int, p1: Int, p2: Int, p3: Int)
Unit
setPaddingRelative(p: Int, p1: Int, p2: Int, p3: Int)
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit

הפונקציה הזו יצאה משימוש.

Unit
setTag(p: Int, p1: Any!)
Unit
Unit
Unit
Unit
setTop(p: Int)
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit

הפונקציה הזו יצאה משימוש.

Unit
Unit
setX(p: Float)
Unit
setY(p: Float)
Unit
setZ(p: Float)
Boolean
ActionMode!
Unit
Boolean
startDrag(p: ClipData!, p1: View.DragShadowBuilder!, p2: Any!, p3: Int)

הפונקציה הזו יצאה משימוש.

Boolean
Boolean
Unit
String!
Unit
Unit
Unit
Unit
Boolean
Boolean

הפונקציה הזו יצאה משימוש.

Boolean
מתוך android.view.ViewGroup
Unit
Unit
Unit
addFocusables(p: ArrayList<View!>!, p1: Int, p2: Int)
Unit
Boolean
Unit
Unit
Boolean
Unit
attachLayoutAnimationParameters(
    p: View!,
    p1: ViewGroup.LayoutParams!,
    p2: Int,
    p3: Int
)
Unit
Boolean
Unit
Unit
Unit
Unit
Unit
Unit
Unit
debug(p: Int)
Unit
Unit
Unit
WindowInsets!
Boolean
Unit
Unit
Unit
Boolean
Unit
Unit
Unit
Unit
Boolean
Boolean
Boolean
Boolean
Boolean
Boolean
Unit
Unit
Unit
Unit
Unit
Unit
dispatchScrollCaptureSearch(
    p: Rect!,
    p1: Point!,
    p2: Consumer<ScrollCaptureTarget!>!
)
Unit
Unit
Unit
Unit
Unit

הפונקציה הזו יצאה משימוש.

Unit
Boolean
Boolean
Unit
Unit
Unit
Unit
WindowInsets!
WindowInsetsAnimation.Bounds!
Unit

הפונקציה הזו יצאה משימוש.

Unit
Boolean
drawChild(p: Canvas!, p1: View!, p2: Long)
Unit
Unit
View!
OnBackInvokedDispatcher!
Unit
View!
focusSearch(p: View!, p1: Int)
Unit
Boolean
View!
Int
Int
java-static Int
getChildMeasureSpec(p: Int, p1: Int, p2: Int)
Boolean
Boolean
getChildVisibleRect(p: View!, p1: Rect!, p2: Point!)
Boolean
Boolean
Int
View!
LayoutAnimationController!
Animation.AnimationListener!
Int
LayoutTransition!
Int
ViewGroupOverlay!
Int

הפונקציה הזו יצאה משימוש.

Boolean
Boolean
Boolean
Int
Unit
invalidateChild(p: View!, p1: Rect!)

הפונקציה הזו יצאה משימוש.

ViewParent!

הפונקציה הזו יצאה משימוש.

Boolean

הפונקציה הזו יצאה משימוש.

Boolean

הפונקציה הזו יצאה משימוש.

Boolean
Boolean

הפונקציה הזו יצאה משימוש.

Boolean
Boolean
Boolean
Unit
Unit
layout(p: Int, p1: Int, p2: Int, p3: Int)
Unit
measureChild(p: View!, p1: Int, p2: Int)
Unit
measureChildWithMargins(p: View!, p1: Int, p2: Int, p3: Int, p4: Int)
Unit
measureChildren(p: Int, p1: Int)
Unit
Unit
Unit
Unit
IntArray<Int>!
Unit
Unit
Boolean
Boolean
Boolean
onNestedFling(p: View!, p1: Float, p2: Float, p3: Boolean)
Boolean
onNestedPreFling(p: View!, p1: Float, p2: Float)
Boolean
Unit
onNestedPreScroll(p: View!, p1: Int, p2: Int, p3: IntArray!)
Unit
onNestedScroll(p: View!, p1: Int, p2: Int, p3: Int, p4: Int)
Unit
onNestedScrollAccepted(p: View!, p1: View!, p2: Int)
Boolean
Boolean
PointerIcon!
Boolean
onStartNestedScroll(p: View!, p1: View!, p2: Int)
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
removeViews(p: Int, p1: Int)
Unit
Unit
Boolean
Unit
Boolean
requestFocus(p: Int, p1: Rect!)
Boolean
Unit
Boolean
Unit
Unit
Unit

הפונקציה הזו יצאה משימוש.

Unit

הפונקציה הזו יצאה משימוש.

Unit

הפונקציה הזו יצאה משימוש.

Unit
Unit

הפונקציה הזו יצאה משימוש.

Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit
Unit

הפונקציה הזו יצאה משימוש.

Unit
Unit
Unit
Unit
Unit
Boolean
ActionMode!
Unit
Unit
Unit
Unit

יצרנים ציבוריים

NativeAdView

NativeAdView(context: Context!)

יוצר NativeAdView מקוד.

פרמטרים
context: Context!

ה-Context שבו NativeAdView פועל.

NativeAdView

NativeAdView(context: Context!, attrs: AttributeSet!)

יוצר NativeAdView מפריסת XML.

NativeAdView

NativeAdView(context: Context!, attrs: AttributeSet!, defStyleAttr: Int)

יוצר NativeAdView מפריסת XML.

NativeAdView

NativeAdView(
    context: Context!,
    attrs: AttributeSet!,
    defStyleAttr: Int,
    defStyleRes: Int
)

יוצר NativeAdView מפריסת XML.

פונקציות גלויות לכולם

כיבוי סופי

fun destroy(): Unit

הפונקציה משמידה את תצוגת המודעה המותאמת. אסור לקרוא לשיטות אחרות בתצוגת המודעה אחרי הקריאה ל-destroy.

getAdChoicesView

fun getAdChoicesView(): AdChoicesView?

הפונקציה מחזירה את התצוגה שמשויכת לתוכן של AdChoices.

getAdvertiserView

fun getAdvertiserView(): View?

הפונקציה מחזירה את התצוגה שמשויכת לנכס של המפרסם.

getBodyView

fun getBodyView(): View?

מחזירה את התצוגה שמשויכת לנכס של גוף התגובה.

getCallToActionView

fun getCallToActionView(): View?

מחזירה את התצוגה שמשויכת לנכס הקריאה לפעולה.

getHeadlineView

fun getHeadlineView(): View?

הפונקציה מחזירה את התצוגה המפורטת שמשויכת לנכס הכותרת.

getIconView

fun getIconView(): View?

הפונקציה מחזירה את התצוגה שמשויכת לנכס הסמל.

getImageView

fun getImageView(): View?

מחזירה את התצוגה שמשויכת לנכס התמונה.

getMediaView

fun getMediaView(): MediaView?

מחזירה את התצוגה שמשויכת לתוכן המדיה.

getPriceView

fun getPriceView(): View?

הפונקציה מחזירה את התצוגה שמשויכת לנכס המחיר.

getStarRatingView

fun getStarRatingView(): View?

הפונקציה מחזירה את התצוגה שמשויכת לנכס של דירוג הכוכבים.

getStoreView

fun getStoreView(): View?

מחזירה את התצוגה שמשויכת לנכס של החנות.

setAdChoicesView

fun setAdChoicesView(adChoicesView: AdChoicesView?): Unit

מגדיר AdChoicesView להצגת תוכן של AdChoices.

פרמטרים
adChoicesView: AdChoicesView?

הערך של AdChoicesView שצריך להגדיר

setAdvertiserView

fun setAdvertiserView(view: View?): Unit

הגדרת תצוגה של נכס המפרסם.

פרמטרים
view: View?

התצוגה להגדרה

setBodyView

fun setBodyView(view: View?): Unit

הגדרת תצוגה לנכס של גוף הבקשה.

פרמטרים
view: View?

התצוגה להגדרה

setCallToActionView

fun setCallToActionView(view: View?): Unit

קובע תצוגה לנכס הקריאה לפעולה.

פרמטרים
view: View?

התצוגה להגדרה

setClickConfirmingView

fun setClickConfirmingView(view: View?): Unit

המדיניות הזו מגדירה את View שבו המשתמשים ישתמשו כדי לאשר את הקליקים שלהם.

פרמטרים
view: View?

הערך View שרוצים להגדיר.

setHeadlineView

fun setHeadlineView(view: View?): Unit

הגדרת תצוגה של נכס הכותרת.

פרמטרים
view: View?

התצוגה להגדרה

setIconView

fun setIconView(view: View?): Unit

הגדרת תצוגה לנכס הסמל.

פרמטרים
view: View?

התצוגה להגדרה

setImageView

fun setImageView(view: View?): Unit

הגדרה של תצוגה לנכס התמונות.

פרמטרים
view: View?

התצוגה להגדרה

setMediaView

fun setMediaView(view: MediaView?): Unit

הגדרת צפייה במדיה לתוכן מדיה.

פרמטרים
view: MediaView?

הערך של MediaView שצריך להגדיר

setNativeAd

fun setNativeAd(ad: NativeAd!): Unit

מגדיר את NativeAd שמוצג כרגע בתצוגה הזו.

פרמטרים
ad: NativeAd!

המודעה המותאמת שמוצגת כרגע בתצוגה

setPriceView

fun setPriceView(view: View?): Unit

הגדרת תצוגה לנכס המחיר.

פרמטרים
view: View?

התצוגה להגדרה

setStarRatingView

fun setStarRatingView(view: View?): Unit

הגדרת תצוגה של נכס דירוג כוכבים.

פרמטרים
view: View?

התצוגה להגדרה

setStoreView

fun setStoreView(view: View?): Unit

הגדרת תצוגה של נכס החנות.

פרמטרים
view: View?

התצוגה להגדרה