CaptureFilter

Interface for implementing capture filter. It filters capture results after each successful side capture (accepts or drops captured side). If the captured image is filtered out, the capture process is restarted for the current side and the same side is captured again in the same camera session.

Types

Link copied to clipboard

Currently captured side that is being examined by the filter.

Functions

Link copied to clipboard
abstract fun cleanup()

Called when capture activity is being destroyed (when capture has been finished successfully or closed for any reason). Usually this method is used to free any resources used by the concrete filter implementation.

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun onDocumentCaptured()

Called when document is successfully captured (all sides).

Link copied to clipboard

Main method for filtering implementation.

Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)