public class ParserGroupProcessor extends Processor
Modifier and Type | Class and Description |
---|---|
static class |
ParserGroupProcessor.Result |
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator |
CREATOR |
CLASS_NAME
Constructor and Description |
---|
ParserGroupProcessor(Parser[] parsers) |
Modifier and Type | Method and Description |
---|---|
ParserGroupProcessor |
clone()
Create a copy of the entity.
|
void |
consumeResultFrom(Entity other)
Consume result from other entity.
|
protected void |
deserializeNativeSettings(byte[] serializedSettings) |
Parser[] |
getParsers()
Returns array of parsers in the parser group.
|
static void |
nativeSetParsers(long nativeContext,
long[] nativeParsersContexts) |
protected byte[] |
serializeNativeSettings() |
protected void |
terminateNative(long nativeContext) |
void |
writeToParcel(android.os.Parcel dest,
int i) |
describeContents, finalize, getNativeContext, getResult, nativeGetNativeResultContext, readFromParcel
public ParserGroupProcessor(@NonNull Parser[] parsers)
parsers
- Parsers that are members of the parser group.@NonNull public Parser[] getParsers()
protected void terminateNative(long nativeContext)
terminateNative
in class Entity
@Nullable protected byte[] serializeNativeSettings()
serializeNativeSettings
in class Entity
protected void deserializeNativeSettings(@NonNull byte[] serializedSettings)
deserializeNativeSettings
in class Entity
@NonNull public ParserGroupProcessor clone()
Entity
RecognizerRunnerView
or RecognizerRunner
with the updated entity hierarchy.public void consumeResultFrom(@NonNull Entity other)
Entity
com.microblink.blinkinput.entities.recognizers.RecognizerBundle#loadFromIntent(Intent)
and similar methods to replace the result content of the saved entities with results that
have arrived over Intent
consumeResultFrom
in class Entity
other
- Entity from which result should be consumed.public void writeToParcel(@NonNull android.os.Parcel dest, int i)
writeToParcel
in interface android.os.Parcelable
writeToParcel
in class Entity
public static void nativeSetParsers(long nativeContext, @NonNull long[] nativeParsersContexts)