CaptureTipData

data class CaptureTipData(@DrawableRes() tipIcon: Int, @AttrRes() iconTint: 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.

iconTint

Theme element used to overlay the icon to apply colour.

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, @AttrRes() iconTint: Int? = R.attr.sb__colourOnSurfaceFocus, @StringRes() tipTitle: Int, @StringRes() tipDescription: Int)
DrawableRes of the icon displayed.

Properties

iconTint
Link copied to clipboard
val iconTint: Int?
Theme element used to overlay the icon to apply colour.
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.