Class SuccessFrameGrabberRecognizer.Result

    • Constructor Detail

      • Result

        protected Result​(long nativeResult,
                         @NonNull
                         Recognizer.Result slaveResult)
    • Method Detail

      • getSuccessFrame

        @Nullable
        public Image getSuccessFrame()
        Returns the camera frame image on which given recognizer's result has become valid. If given recognizer's result never became valid, returns null. NOTE: Internal buffers of the returned image are valid as long as Result object (this) is alive.
        Returns:
        the camera frame image on which given recognizer's result has become valid
      • getSlaveResult

        @NonNull
        public Recognizer.Result getSlaveResult()
        Returns the result of given recognizer.
        Returns:
        the result of given recognizer.
      • toString

        @NonNull
        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object
      • writeToParcel

        public void writeToParcel​(@NonNull
                                  android.os.Parcel dest,
                                  int i)
        Specified by:
        writeToParcel in interface android.os.Parcelable
        Overrides:
        writeToParcel in class Entity.Result