nn::swkbd::CTR::TextCheckFlag Enumerated Typeenum TextCheckFlag;
| Value | Description |
|---|---|
TEXT_CHECK_DISABLE |
No text checking is performed. |
TEXT_CHECK_NUMBER |
The number of numbers that can be input is restricted. |
TEXT_CHECK_AT_MARK |
Input of the @ symbol is prohibited. |
TEXT_CHECK_PERCENT_SIGN |
Input of the percent symbol (%) is prohibited. |
TEXT_CHECK_BACKSLASH |
Input of the backslash (\) is prohibited. |
TEXT_CHECK_BANNED_WORDS |
Input of profanity in strings that are displayed on screen is prohibited. |
TEXT_CHECK_APP |
Text checking is performed by the application. |
TEXT_CHECK_MAX_BIT |
(This enumerator is used for internal processing. It cannot be used from the application.) |
Flags indicating the types of text checks.
The TEXT_CHECK_BANNED_WORDS text check is used in the following function.
nn::ngc::CTR::ProfanityFilter::CheckProfanityWords( bit32 *, bool, const wchar_t **, size_t )
The value of the communicateWithOtherRegions member variable of the nn::swkbd::CTR::Config structure (set at software keyboard startup) is passed unchanged to the second argument in the above function. For details, see the Function Reference for the above function.
CheckProfanityWords function.CONFIDENTIAL