public static final class SrnRemoteInputAction.KeyboardInputMode extends Object
Modifier and Type | Class and Description |
---|---|
static class |
SrnRemoteInputAction.KeyboardInputMode.KeyboardType |
Modifier and Type | Method and Description |
---|---|
SrnRemoteInputAction.KeyboardInputMode |
setCharacterLimit(int characterLimit)
Sets the character limit for the input result.
|
SrnRemoteInputAction.KeyboardInputMode |
setKeyboardType(SrnRemoteInputAction.KeyboardInputMode.KeyboardType keyboardType)
Sets the preferred keyboard type.
|
SrnRemoteInputAction.KeyboardInputMode |
setPrefillString(String prefillString)
Sets the string to prefill the input result.
|
public SrnRemoteInputAction.KeyboardInputMode setPrefillString(String prefillString)
It might be considered to use this on non-screen capable clients with speaker and a microphone.
prefillString
- The prefilling string.IllegalStateException
- If the character limit less than prefillString.length().public SrnRemoteInputAction.KeyboardInputMode setKeyboardType(SrnRemoteInputAction.KeyboardInputMode.KeyboardType keyboardType)
keyboardType
- the preferred keyboard type to setSrnRemoteInputAction.KeyboardInputMode.KeyboardType
public SrnRemoteInputAction.KeyboardInputMode setCharacterLimit(int characterLimit)
characterLimit
- the number of allowed charactersIllegalArgumentException
- if characterLimit is negative or
zero.IllegalStateException
- If a prefill string is set and the character limit less than a length of a prefill string.Copyright © Samsung Electronics, Co., Ltd. All rights reserved.