-
- All Implemented Interfaces:
-
android.os.Parcelable
public class Document.Source implements Parcelable
Source of the document (e.g. camera or external).
-
-
Field Summary
Fields Modifier and Type Field Description public final static Parcelable.Creator<Document.Source>CREATOR
-
Method Summary
Modifier and Type Method Description static Document.SourcenewCameraSource()Create a new camera source. static Document.SourcenewExternalSource()Create a new external source. static Document.SourcenewSource(@NonNull() String name)Create a new custom source. static Document.SourcenewUnknownSource()Create a new unknown source. StringgetName()booleanequals(Object o)inthashCode()intdescribeContents()voidwriteToParcel(@NonNull() Parcel dest, int flags)-
-
Method Detail
-
newCameraSource
static Document.Source newCameraSource()
Create a new camera source.
-
newExternalSource
static Document.Source newExternalSource()
Create a new external source.
-
newSource
static Document.Source newSource(@NonNull() String name)
Create a new custom source.
-
newUnknownSource
static Document.Source newUnknownSource()
Create a new unknown source.
-
hashCode
int hashCode()
-
describeContents
int describeContents()
-
writeToParcel
void writeToParcel(@NonNull() Parcel dest, int flags)
-
-
-
-