Class HighResImagesBundle
java.lang.Object
com.microblink.blinkid.intent.BaseIntentTransferable<HighResImagesBundle>
com.microblink.blinkid.entities.recognizers.HighResImagesBundle
- All Implemented Interfaces:
android.os.Parcelable
,com.microblink.blinkid.intent.MBIntentTransferable
public class HighResImagesBundle
extends com.microblink.blinkid.intent.BaseIntentTransferable<HighResImagesBundle>
-
Nested Class Summary
-
Field Summary
Fields inherited from interface android.os.Parcelable
CONTENTS_FILE_DESCRIPTOR, PARCELABLE_WRITE_RETURN_VALUE
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
addImage
(HighResImageWrapper image) void
protected void
consumeContentFromLoadedObject
(HighResImagesBundle loadedObject) Consumes content from object loaded from intent.protected android.os.Parcelable.Creator<? extends HighResImagesBundle>
Returns parcelable creator for concrete intent transferable type.protected String
Returns intent extra that will be used for transferring object unique ID.protected void
readFromParcel
(android.os.Parcel in) void
writeToParcel
(android.os.Parcel dest, int flags) Methods inherited from class com.microblink.blinkid.intent.BaseIntentTransferable
clearSavedState, describeContents, existsInIntent, loadFromIntent, saveState, saveToIntent
-
Field Details
-
CREATOR
-
-
Constructor Details
-
HighResImagesBundle
public HighResImagesBundle() -
HighResImagesBundle
public HighResImagesBundle(@NonNull android.content.Intent intent)
-
-
Method Details
-
addImage
-
clearImages
public void clearImages() -
getImages
-
getUniqueIdIntentExtraKey
Description copied from class:com.microblink.blinkid.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.blinkid.intent.BaseIntentTransferable<HighResImagesBundle>
- Returns:
- intent extra that will be used for transferring object unique ID.
-
getConcreteCreator
@NonNull protected android.os.Parcelable.Creator<? extends HighResImagesBundle> getConcreteCreator()Description copied from class:com.microblink.blinkid.intent.BaseIntentTransferable
Returns parcelable creator for concrete intent transferable type.- Specified by:
getConcreteCreator
in classcom.microblink.blinkid.intent.BaseIntentTransferable<HighResImagesBundle>
- Returns:
- parcelable creator for concrete intent transferable type.
-
consumeContentFromLoadedObject
Description copied from class:com.microblink.blinkid.intent.BaseIntentTransferable
Consumes content from object loaded from intent.- Specified by:
consumeContentFromLoadedObject
in classcom.microblink.blinkid.intent.BaseIntentTransferable<HighResImagesBundle>
-
readFromParcel
protected void readFromParcel(@NonNull android.os.Parcel in) - Overrides:
readFromParcel
in classcom.microblink.blinkid.intent.BaseIntentTransferable<HighResImagesBundle>
-
writeToParcel
public void writeToParcel(@NonNull android.os.Parcel dest, int flags) - Specified by:
writeToParcel
in interfaceandroid.os.Parcelable
- Overrides:
writeToParcel
in classcom.microblink.blinkid.intent.BaseIntentTransferable<HighResImagesBundle>
-