Class FieldByFieldBundle
java.lang.Object
com.microblink.photopay.intent.BaseIntentTransferable<FieldByFieldBundle>
com.microblink.photopay.entities.parsers.config.fieldbyfield.FieldByFieldBundle
- All Implemented Interfaces:
android.os.Parcelable,com.microblink.photopay.intent.MBIntentTransferable
public final class FieldByFieldBundle
extends com.microblink.photopay.intent.BaseIntentTransferable<FieldByFieldBundle>
Represents a bundle of
FieldByFieldElement objects that can travel via Intent.
Used inside FieldByFieldUISettings which is used by
FieldByFieldOverlayController and
FieldByFieldScanActivity.-
Nested Class Summary
-
Field Summary
FieldsFields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidconsumeContentFromLoadedObject(FieldByFieldBundle loadedBundle) Consumes content from object loaded from intent.protected android.os.Parcelable.Creator<FieldByFieldBundle>Returns parcelable creator for concrete intent transferable type.Returns the array of field by field scan elements associated with this bundle.protected StringReturns intent extra that will be used for transferring object unique ID.protected voidreadFromParcel(android.os.Parcel in) voidsaveToIntent(android.content.Intent intent) Saves thisBaseIntentTransferabletoIntentso it can be passed to anotherActivity.voidwriteToParcel(android.os.Parcel dest, int flags) Methods inherited from class com.microblink.photopay.intent.BaseIntentTransferable
clearSavedState, describeContents, existsInIntent, loadFromIntent, saveState
-
Field Details
-
CREATOR
-
-
Constructor Details
-
FieldByFieldBundle
-
-
Method Details
-
getElements
Returns the array of field by field scan elements associated with this bundle.- Returns:
- the array of field by field scan elements associated with this bundle.
-
getUniqueIdIntentExtraKey
Description copied from class:com.microblink.photopay.intent.BaseIntentTransferableReturns intent extra that will be used for transferring object unique ID. Different concrete classes cannot use the same intent extra key for this purpose because that will make sending objects from different concrete classes over the same intent impossible.- Specified by:
getUniqueIdIntentExtraKeyin classcom.microblink.photopay.intent.BaseIntentTransferable<FieldByFieldBundle>- Returns:
- intent extra that will be used for transferring object unique ID.
-
getConcreteCreator
Description copied from class:com.microblink.photopay.intent.BaseIntentTransferableReturns parcelable creator for concrete intent transferable type.- Specified by:
getConcreteCreatorin classcom.microblink.photopay.intent.BaseIntentTransferable<FieldByFieldBundle>- Returns:
- parcelable creator for concrete intent transferable type.
-
consumeContentFromLoadedObject
Description copied from class:com.microblink.photopay.intent.BaseIntentTransferableConsumes content from object loaded from intent.- Specified by:
consumeContentFromLoadedObjectin classcom.microblink.photopay.intent.BaseIntentTransferable<FieldByFieldBundle>
-
saveToIntent
public void saveToIntent(@NonNull android.content.Intent intent) Description copied from class:com.microblink.photopay.intent.BaseIntentTransferableSaves thisBaseIntentTransferabletoIntentso it can be passed to anotherActivity.- Specified by:
saveToIntentin interfacecom.microblink.photopay.intent.MBIntentTransferable- Overrides:
saveToIntentin classcom.microblink.photopay.intent.BaseIntentTransferable<FieldByFieldBundle>- Parameters:
intent- Intent to whichBaseIntentTransferableshould be saved.
-
readFromParcel
protected void readFromParcel(@NonNull android.os.Parcel in) - Overrides:
readFromParcelin classcom.microblink.photopay.intent.BaseIntentTransferable<FieldByFieldBundle>
-
writeToParcel
public void writeToParcel(@NonNull android.os.Parcel dest, int flags) - Specified by:
writeToParcelin interfaceandroid.os.Parcelable- Overrides:
writeToParcelin classcom.microblink.photopay.intent.BaseIntentTransferable<FieldByFieldBundle>
-