CaptureTipData

data class CaptureTipData(@DrawableRes() tipIcon: Int, @DrawableRes() iconFill: Int?, @StringRes() tipTitle: Int, @StringRes() tipDescription: Int) : Parcelable

Parcelable data class used to define tips as displayed in the CaptureTipsActivity.

Parameters

tipIcon

DrawableRes of the icon displayed.

iconFill

DrawableRes used to overlay the icon to apply colour or design.

tipTitle

StringRes for the title displayed for the tip.

tipDescription

StringRes of the description displayed for the tip.

Constructors

CaptureTipData
Link copied to clipboard
fun CaptureTipData(@DrawableRes() tipIcon: Int, @DrawableRes() iconFill: Int? = R.drawable.sb__tips_gradient_icon_fill, @StringRes() tipTitle: Int, @StringRes() tipDescription: Int)
DrawableRes of the icon displayed.

Properties

iconFill
Link copied to clipboard
val iconFill: Int?
DrawableRes used to overlay the icon to apply colour or design.
tipDescription
Link copied to clipboard
val tipDescription: Int
StringRes of the description displayed for the tip.
tipIcon
Link copied to clipboard
val tipIcon: Int
DrawableRes of the icon displayed.
tipTitle
Link copied to clipboard
val tipTitle: Int
StringRes for the title displayed for the tip.