Types

Link copied to clipboard
@Serializable
object Analysis : MiSnapWorkflowError

Returned if there was an issue analyzing an image.

Link copied to clipboard
@Serializable
object Camera : MiSnapWorkflowError

Returned if there was an issue interacting with the camera.

Link copied to clipboard
@Serializable
object Cancelled : MiSnapWorkflowError

Returned if the user cancelled the session.

Link copied to clipboard

Returned if there is an attempt to start a combined workflow step and the configuration is invalid.

Link copied to clipboard

Returned if the workflow decides to skip a step based on the configuration provided.

Link copied to clipboard
@Serializable
data class License(val reason: String) : MiSnapWorkflowError

Returned if there was an issue with license.

Link copied to clipboard
@Serializable
sealed class Nfc : MiSnapWorkflowError

Returned if there was an issue during an NFC read session.

Link copied to clipboard
@Serializable
object Permission : MiSnapWorkflowError

Returned if there was an issue obtaining a necessary permission.

Link copied to clipboard
@Serializable
object SettingState : MiSnapWorkflowError

Returned if there is an attempt to use the MiSnapSettings and are invalid or unavailable.

Link copied to clipboard
sealed class Voice : MiSnapWorkflowError

Returned if there was an issue during a Voice recording session.