-
- All Implemented Interfaces:
-
android.os.Parcelable,net.gini.android.capture.Document
public class PdfDocument extends GiniCaptureDocument
A document containing a PDF.
-
-
Field Summary
Fields Modifier and Type Field Description private Stringfilenamepublic final static Parcelable.Creator<PdfDocument>CREATOR
-
Method Summary
Modifier and Type Method Description StringgetFilename()Get the filename of the PDF. voidloadFilename(@NonNull() Context context)Loads the filename of the PDF from the Uri. intdescribeContents()Internal use only. voidwriteToParcel(Parcel dest, int flags)Internal use only. -
Methods inherited from class net.gini.android.capture.document.GiniCaptureDocument
equals, generateUploadMetadata, getData, getId, getImportMethod, getIntent, getMimeType, getParcelableMemoryCacheTag, getSource, getType, getUri, hashCode, 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
-
getFilename
@Nullable() String getFilename()
Get the filename of the PDF.
-
loadFilename
void loadFilename(@NonNull() Context context)
Loads the filename of the PDF from the Uri. If the filename can't be determined it will be null.
- Parameters:
context- Android context
-
describeContents
int describeContents()
Internal use only.
-
writeToParcel
void writeToParcel(Parcel dest, int flags)
Internal use only.
-
-
-
-