Package com.intercom.input.gallery
Class GalleryImage
- java.lang.Object
-
- com.intercom.input.gallery.GalleryImage
-
- All Implemented Interfaces:
Parcelable
public class GalleryImage extends Object implements Parcelable
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classGalleryImage.Builder-
Nested classes/interfaces inherited from interface android.os.Parcelable
Parcelable.ClassLoaderCreator<T extends Object>, Parcelable.Creator<T extends Object>
-
-
Field Summary
Fields Modifier and Type Field Description static Parcelable.Creator<GalleryImage>CREATOR-
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
-
Constructor Summary
Constructors Modifier Constructor Description protectedGalleryImage(Parcel in)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intdescribeContents()booleanequals(Object o)StringgetAttribution()StringgetFileName()intgetFileSize()intgetImageHeight()intgetImageWidth()StringgetImageWidthXHeight()StringgetMimeType()StringgetPreviewPath()UrigetUri()inthashCode()booleanisGif()voidwriteToParcel(Parcel dest, int flags)
-
-
-
Field Detail
-
CREATOR
public static final Parcelable.Creator<GalleryImage> CREATOR
-
-
Constructor Detail
-
GalleryImage
protected GalleryImage(Parcel in)
-
-
Method Detail
-
getUri
@NonNull public Uri getUri()
-
getFileName
@NonNull public String getFileName()
-
getMimeType
@NonNull public String getMimeType()
-
getPreviewPath
@NonNull public String getPreviewPath()
-
getAttribution
@NonNull public String getAttribution()
-
getImageWidth
public int getImageWidth()
-
getImageHeight
public int getImageHeight()
-
getFileSize
public int getFileSize()
-
getImageWidthXHeight
public String getImageWidthXHeight()
-
isGif
public boolean isGif()
-
writeToParcel
public void writeToParcel(Parcel dest, int flags)
- Specified by:
writeToParcelin interfaceParcelable
-
describeContents
public int describeContents()
- Specified by:
describeContentsin interfaceParcelable
-
-