android-components / mozilla.components.concept.engine.prompt / PromptRequest / Color

Color

data class Color : PromptRequest, Dismissible (source)

Value type that represents a request for a selecting one or multiple files.

Constructors

Name Summary
<init> Color(defaultColor: String, onConfirm: (String) -> Unit, onDismiss: () -> Unit)
Value type that represents a request for a selecting one or multiple files.

Properties

Name Summary
defaultColor val defaultColor: String
true if the user can select more that one file false otherwise.
onConfirm val onConfirm: (String) -> Unit
callback to notify that the user has selected a color.
onDismiss val onDismiss: () -> Unit
callback to notify that the user has canceled the dialog.