-
- All Implemented Interfaces:
-
android.os.Parcelable,net.gini.android.capture.Document
public class ImageDocument extends GiniCaptureDocument
A document containing an image.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public enumImageDocument.ImageFormatSupported image formats.
-
Field Summary
Fields Modifier and Type Field Description public final static Parcelable.Creator<ImageDocument>CREATOR
-
Method Summary
Modifier and Type Method Description ImageDocument.ImageFormatgetFormat()Retrieve the format of the image. intgetRotationForDisplay()The amount of clockwise rotation needed to display the image in the correct orientation. voidsetRotationForDisplay(int degrees)intgetRotationDelta()voidupdateRotationDeltaBy(int degrees)StringgetDeviceOrientation()Internal use only. StringgetDeviceType()Internal use only. intdescribeContents()Internal use only. voidwriteToParcel(Parcel dest, int flags)Internal use only. booleanequals(Object o)inthashCode()-
Methods inherited from class net.gini.android.capture.document.GiniCaptureDocument
generateUploadMetadata, getData, getId, getImportMethod, getIntent, getMimeType, getParcelableMemoryCacheTag, getSource, getType, getUri, isImported, isReviewable, loadData, setData, setParcelableMemoryCacheTag, toString, unloadData -
Methods inherited from class android.os.Parcelable
describeContents, writeToParcel -
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
-
Method Detail
-
getFormat
@NonNull() ImageDocument.ImageFormat getFormat()
Retrieve the format of the image.
-
getRotationForDisplay
int getRotationForDisplay()
The amount of clockwise rotation needed to display the image in the correct orientation.
Degrees are positive and multiples of 90.
-
setRotationForDisplay
void setRotationForDisplay(int degrees)
-
getRotationDelta
int getRotationDelta()
-
updateRotationDeltaBy
void updateRotationDeltaBy(int degrees)
-
getDeviceOrientation
String getDeviceOrientation()
Internal use only.
-
getDeviceType
String getDeviceType()
Internal use only.
-
describeContents
int describeContents()
Internal use only.
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
Internal use only.
-
hashCode
int hashCode()
-
-
-
-