EUC BLE Library
Toggle table of contents
1.2.0
common
Target filter
common
Switch theme
Search in API
Skip to content
EUC BLE Library
euc-ble-protocols
/
io.github.tritbool.euc.ble.protocols
/
CommandInput
/
Text
Text
data
class
Text
(
val
minLength
:
Int
,
val
maxLength
:
Int
,
val
pattern
:
String
,
val
sensitive
:
Boolean
)
:
CommandInput
(
source
)
Members
Constructors
Text
Link copied to clipboard
constructor
(
minLength
:
Int
,
maxLength
:
Int
,
pattern
:
String
,
sensitive
:
Boolean
)
Properties
kind
Link copied to clipboard
open
override
val
kind
:
String
max
Length
Link copied to clipboard
val
maxLength
:
Int
min
Length
Link copied to clipboard
val
minLength
:
Int
pattern
Link copied to clipboard
val
pattern
:
String
sensitive
Link copied to clipboard
val
sensitive
:
Boolean
Functions
validation
Error
Link copied to clipboard
open
override
fun
validationError
(
value
:
CommandValue
)
:
String
?
A value-free explanation, or null when the input satisfies this contract.