#[repr(i8)]pub enum Error {
InvalidParameters = -2,
OutOfMem = -3,
HomePressed = 10,
ResetPressed = 11,
PowerPressed = 12,
ParentalOk = 20,
ParentalFail = 21,
BannedInput = 30,
ButtonPressed = 0,
}
Expand description
Error returned by an unsuccessful SoftwareKeyboard::launch()
.
Variants§
InvalidParameters = -2
Invalid parameters given to the SoftwareKeyboard
configuration.
OutOfMem = -3
SoftwareKeyboard
ran out of memory.
HomePressed = 10
Home button was pressed while SoftwareKeyboard
was running.
ResetPressed = 11
Reset button was pressed while SoftwareKeyboard
was running.
PowerPressed = 12
Power button was pressed while SoftwareKeyboard
was running.
ParentalOk = 20
The parental lock PIN was correct.
This variant should never be returned by normal operations made using this module,
and is listed here only for compatibility purposes.
Refer to the return value of ParentalLock::launch()
to confirm the outcome
of the Parental Lock PIN operation.
ParentalFail = 21
The parental lock PIN was incorrect.
Refer to the return value of ParentalLock::launch()
to confirm the outcome
of the Parental Lock PIN operation.
BannedInput = 30
Input triggered the filter.
You can have a look at Filters
to activate custom filters.
ButtonPressed = 0
An on-screen button was pressed to exit the prompt.