Package-level declarations

Views for creating and interacting with the SDK sciences.

Types

Link copied to clipboard
class CountdownTimerView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, @AttrRes defStyleAttr: Int = R.attr.countdownTimerViewStyle, @StyleRes defStyleRes: Int = R.style.MiSnapTheme_TextAppearance_CountdownTimerView) : MaterialTextView

A view to display a countdown to the user with a specific set of labels and an overall duration.

Link copied to clipboard
class GuideView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, @AttrRes defStyleAttr: Int = 0, @StyleRes defStyleRes: Int = 0) : View

A view to help users correctly position their document, barcode or face for analysis.

Link copied to clipboard
class HintView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, @AttrRes defStyleAttr: Int = R.attr.hintViewStyle, @StyleRes defStyleRes: Int = R.style.MiSnapTheme_View_HintView) : MaterialTextView

A view to provide feedback to the end users based on image analysis results. When a frame is processed, the controller provides feedback to help direct end users towards a higher quality image. This feedback is then briefly presented to the end user.

Link copied to clipboard
class MiSnapView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, @AttrRes defStyleAttr: Int = 0, @StyleRes defStyleRes: Int = 0) : ConstraintLayout

The MiSnapView provides a simple way to start and manage a session. The view automatically scales its size to match the camera preview dimensions, and provides camera control and access to analysis results.

Link copied to clipboard
class ProgressTrackerView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, @AttrRes defStyleAttr: Int = 0, @StyleRes defStyleRes: Int = 0) : LinearLayout

A view to help with the visualization of progress and state of a process that consists on one or more steps.

Link copied to clipboard
class RecordingIconView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, @AttrRes defStyleAttr: Int = 0, @StyleRes defStyleRes: Int = 0) : MaterialTextView

A view to indicate the user that video recording is in progress.

Link copied to clipboard
class SuccessView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, @AttrRes defStyleAttr: Int = 0, @StyleRes defStyleRes: Int = R.style.MiSnapTheme_View_SuccessView) : FrameLayout

A view to display a success splash page after receiving the final frame.

Link copied to clipboard
class TorchView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, @AttrRes defStyleAttr: Int = 0, @StyleRes defStyleRes: Int = 0) : AppCompatImageView

The TorchView provides a way for end users to view and modify the camera's torch state.

Link copied to clipboard
class VisualizerView @JvmOverloads constructor(context: Context, attrs: AttributeSet? = null, @AttrRes defStyleAttr: Int = 0, @StyleRes defStyleRes: Int = 0) : View

A view to help with the visualization of constant changes in the value of a normalized scale translated to changes in the alpha and the radius of a circle of this view.