public interface UITextDocumentProxy extends UIKeyInput
| Modifier and Type | Method and Description |
|---|---|
void |
adjustTextPositionByCharacterOffset(long offset) |
java.lang.String |
documentContextAfterInput() |
java.lang.String |
documentContextBeforeInput() |
NSUUID |
documentIdentifier() |
UITextInputMode |
documentInputMode()
An app can store UITextInputMode in its document context, when user switches to the document, the host will pass the inputMode as documentInputMode to the UIInputViewController,
which can switch to the inputMode and set primaryLanguage if it supports it.
|
java.lang.String |
selectedText() |
void |
setMarkedTextSelectedRange(java.lang.String markedText,
NSRange selectedRange)
Setting marked text either replaces the existing marked text or, if none is present, inserts it in place of the current input location.
|
void |
unmarkText()
Unmark the currently marked text.
|
deleteBackward, hasText, insertTextautocapitalizationType, autocorrectionType, enablesReturnKeyAutomatically, isSecureTextEntry, keyboardAppearance, keyboardType, passwordRules, returnKeyType, setAutocapitalizationType, setAutocorrectionType, setEnablesReturnKeyAutomatically, setKeyboardAppearance, setKeyboardType, setPasswordRules, setReturnKeyType, setSecureTextEntry, setSmartDashesType, setSmartInsertDeleteType, setSmartQuotesType, setSpellCheckingType, setTextContentType, smartDashesType, smartInsertDeleteType, smartQuotesType, spellCheckingType, textContentTypevoid adjustTextPositionByCharacterOffset(long offset)
java.lang.String documentContextAfterInput()
java.lang.String documentContextBeforeInput()
UITextInputMode documentInputMode()
NSUUID documentIdentifier()
java.lang.String selectedText()
void setMarkedTextSelectedRange(java.lang.String markedText,
NSRange selectedRange)
void unmarkText()