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 void
consumeContentFromLoadedObject
(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 String
Returns intent extra that will be used for transferring object unique ID.protected void
readFromParcel
(android.os.Parcel in) void
saveToIntent
(android.content.Intent intent) Saves thisBaseIntentTransferable
toIntent
so it can be passed to anotherActivity
.void
writeToParcel
(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.BaseIntentTransferable
Returns 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:
getUniqueIdIntentExtraKey
in 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.BaseIntentTransferable
Returns parcelable creator for concrete intent transferable type.- Specified by:
getConcreteCreator
in classcom.microblink.photopay.intent.BaseIntentTransferable<FieldByFieldBundle>
- Returns:
- parcelable creator for concrete intent transferable type.
-
consumeContentFromLoadedObject
Description copied from class:com.microblink.photopay.intent.BaseIntentTransferable
Consumes content from object loaded from intent.- Specified by:
consumeContentFromLoadedObject
in classcom.microblink.photopay.intent.BaseIntentTransferable<FieldByFieldBundle>
-
saveToIntent
public void saveToIntent(@NonNull android.content.Intent intent) Description copied from class:com.microblink.photopay.intent.BaseIntentTransferable
Saves thisBaseIntentTransferable
toIntent
so it can be passed to anotherActivity
.- Specified by:
saveToIntent
in interfacecom.microblink.photopay.intent.MBIntentTransferable
- Overrides:
saveToIntent
in classcom.microblink.photopay.intent.BaseIntentTransferable<FieldByFieldBundle>
- Parameters:
intent
- Intent to whichBaseIntentTransferable
should be saved.
-
readFromParcel
protected void readFromParcel(@NonNull android.os.Parcel in) - Overrides:
readFromParcel
in classcom.microblink.photopay.intent.BaseIntentTransferable<FieldByFieldBundle>
-
writeToParcel
public void writeToParcel(@NonNull android.os.Parcel dest, int flags) - Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
- Overrides:
writeToParcel
in classcom.microblink.photopay.intent.BaseIntentTransferable<FieldByFieldBundle>
-