-
- All Implemented Interfaces:
-
android.os.Parcelable,com.monetization.ads.nativeads.template.appearance.NativeTemplateBannerAppearance
public final class BannerAppearance implements Parcelable, NativeTemplateBannerAppearance
BannerAppearance provides interfaces for Banner customization. BannerAppearance are created using BannerAppearance.Builder.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public final classBannerAppearance.BuilderBuilds a BannerAppearance.
-
Field Summary
Fields Modifier and Type Field Description public final static Parcelable.Creator<BannerAppearance>CREATORpublic final static intCONTENTS_FILE_DESCRIPTORpublic final static intPARCELABLE_WRITE_RETURN_VALUE
-
Method Summary
Modifier and Type Method Description intgetBackgroundColor()Returns the background color specified for Banner. intgetBorderColor()Returns the border color specified for Banner. floatgetBorderWidth()Returns the border width specified for Banner. HorizontalOffsetgetContentPadding()Returns the horizontal space between banner edge and content specified for Banner. HorizontalOffsetgetImageMargins()Returns the horizontal image margins specified for Banner. inthashCode()booleanequals(Object o)intdescribeContents()voidwriteToParcel(Parcel dest, int flags)-
-
Method Detail
-
getBackgroundColor
int getBackgroundColor()
Returns the background color specified for Banner.
-
getBorderColor
int getBorderColor()
Returns the border color specified for Banner.
-
getBorderWidth
float getBorderWidth()
Returns the border width specified for Banner.
-
getContentPadding
@Nullable() HorizontalOffset getContentPadding()
Returns the horizontal space between banner edge and content specified for Banner.
-
getImageMargins
@Nullable() HorizontalOffset getImageMargins()
Returns the horizontal image margins specified for Banner.
-
hashCode
int hashCode()
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
-
-
-
-