AlertStrings

data class AlertStrings(@StringRes val errorDialogMessageScanningUnavailable: Int = R.string.mb_capture_error_dialog_message_scanning_unavailable, @StringRes val errorDialogMessageCheckInternet: Int = R.string.mb_capture_error_dialog_message_check_internet, @StringRes val errorDialogMessageNetworkCommunicationError: Int = R.string.mb_capture_error_dialog_message_network_error, @StringRes val errorDialogButtonText: Int = R.string.mb_capture_close) : Parcelable

String customisations for alert dialogs displayed to the user.

Constructors

Link copied to clipboard
constructor(@StringRes errorDialogMessageScanningUnavailable: Int = R.string.mb_capture_error_dialog_message_scanning_unavailable, @StringRes errorDialogMessageCheckInternet: Int = R.string.mb_capture_error_dialog_message_check_internet, @StringRes errorDialogMessageNetworkCommunicationError: Int = R.string.mb_capture_error_dialog_message_network_error, @StringRes errorDialogButtonText: Int = R.string.mb_capture_close)

Properties

Link copied to clipboard

Text displayed on dialog dismiss button.

Link copied to clipboard

Message displayed when internet connection is required, for example when license key needs online validation, but internet connection is not available.

Message displayed when network communication occurs.

Link copied to clipboard

Message displayed when scanning is not available, for example when license key validation didn't pass.

Functions

Link copied to clipboard
abstract fun describeContents(): Int
Link copied to clipboard
abstract fun writeToParcel(p0: Parcel, p1: Int)