com.yandex.mobile.ads.nativeads.template.appearance
Class ImageAppearance
java.lang.Object
com.yandex.mobile.ads.nativeads.template.appearance.ImageAppearance
- All Implemented Interfaces:
- android.os.Parcelable
public final class ImageAppearance
extends java.lang.Object
implements android.os.Parcelable
ImageAppearance provides interfaces for ImageView customization. ImageAppearance are created using
ImageAppearance.Builder
.Nested Class Summary
Modifier and Type | Class and Description |
---|---|
static class | ImageAppearance.Builder
Builds a
ImageAppearance . |
Field Summary
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<ImageAppearance> | CREATOR |
Method Summary
Modifier and Type | Method and Description |
---|---|
int | describeContents() |
boolean | equals(java.lang.Object o) |
SizeConstraint | getWidthConstraint()
Returns the size constraint specified for ImageView.
|
int | hashCode() |
void | writeToParcel(android.os.Parcel dest, int flags) |
Method Detail
getWidthConstraint
@Nullable public SizeConstraint getWidthConstraint()
Returns the size constraint specified for ImageView.
- Returns:
- width constraint of the ImageView.
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classjava.lang.Object
describeContents
public int describeContents()
- Specified by:
describeContents
in interfaceandroid.os.Parcelable
writeToParcel
public void writeToParcel(android.os.Parcel dest, int flags)
- Specified by:
writeToParcel
in interfaceandroid.os.Parcelable