NativeAdView.Type
يتوفر إصدار أحدث لهذه الفئة. يرجى التحقق أحدث إصدار.
الإضافات:Enum
الحزمة:ads
طرق الفئات
values()
public static Type values()
valueOf(String)
public static Type valueOf(String name)
المعلمةالوصف
name
طرق المثيلات
getWidth()

Gets the width of the ad control.

public int getWidth()
Returns
Width of the ad control in DP
getHeight()

Gets the height of the ad control.

public int getHeight()
Returns
Height of the ad control in DP
getValue()
public int getValue()
القيم الثابتة
HEIGHT_100
Native template with height 100dp and flexible width, includes icon, title, context, and CTA button.
public static final Type HEIGHT_100
HEIGHT_120
Native template with height 120dp and flexible width, includes icon, title, context, description, and CTA button.
public static final Type HEIGHT_120
HEIGHT_300
Native template with height 300dp and flexible width, includes image, icon, title, context, and CTA button.
public static final Type HEIGHT_300
HEIGHT_400
Native template with height 400dp and flexible width, includes image, icon, title, subtitle, description, context, and CTA button.
public static final Type HEIGHT_400