Companion

object Companion

Functions

Link copied to clipboard
fun buildFragmentArguments(@DrawableRes progressTrackerViewSuccessDrawableId: Int? = null, @DrawableRes progressTrackerViewFailureDrawableId: Int? = null, @DrawableRes progressTrackerViewUnprocessedDrawableId: Int? = null, @DrawableRes helpButtonDrawableId: Int? = null, timeoutDuration: Int? = null, handleOrientation: Boolean? = null): Bundle

Formats an arguments object for this fragment to use with Fragment.setArguments.

Link copied to clipboard
fun buildWorkflowSettings(@DrawableRes progressTrackerViewSuccessDrawableId: Int? = null, @DrawableRes progressTrackerViewFailureDrawableId: Int? = null, @DrawableRes progressTrackerViewUnprocessedDrawableId: Int? = null, @DrawableRes helpButtonDrawableId: Int? = null, timeoutDuration: Int? = null, handleOrientation: Boolean? = null): String

Formats an encoded workflow settings JSON string for this fragment to use with MiSnapSettings.Workflow.add.

Link copied to clipboard

Gets the default values used as workflow params on this fragment.

Properties

Link copied to clipboard

Boolean attribute for toggling the orientation handling on this fragment. When turned on the fragment will do its best to adjust the parent activity to the configured orientation while it's being used and revert it back to the original orientation once its gone.

Link copied to clipboard

Integer attribute for providing the drawable resource id for the help button.

Link copied to clipboard

Integer attribute for providing the drawable resource id for the progress tracker view when it failed the analysis checks.

Integer attribute for providing the drawable resource id for the progress tracker view when it has passed the analysis checks and has been processed.

Integer attribute for providing the drawable resource id for the progress tracker view when it hasn't been checked for analysis checks.

Link copied to clipboard

Integer attribute for providing the duration of the session until timeout in milliseconds.