Package org.robovm.apple.uikit
Interface NSTextElementProvider
- All Superinterfaces:
NSObjectProtocol,ObjCProtocol
- All Known Implementing Classes:
NSTextContentManager,NSTextContentStorage,NSTextElementProviderAdapter
public interface NSTextElementProvider extends NSObjectProtocol
- Since:
- Available in iOS 15.0 and later.
-
Method Summary
Modifier and Type Method Description NSTextRangeadjustedRange(NSTextRange textRange, boolean forEditingTextSelection)NSTextLocationenumerateTextElements(NSTextLocation textLocation, NSTextContentManagerEnumerationOptions options, Block1<NSTextElement,Boolean> block)NSTextRangegetDocumentRange()NSTextLocationgetLocationFromLocation(NSTextLocation location, long offset)longgetOffsetFromLocation(NSTextLocation from, NSTextLocation to)voidreplaceContents(NSTextRange range, NSArray<NSTextElement> textElements)voidsynchronizeToBackingStore(VoidBlock1<NSError> completionHandler)
-
Method Details
-
getDocumentRange
NSTextRange getDocumentRange() -
enumerateTextElements
NSTextLocation enumerateTextElements(NSTextLocation textLocation, NSTextContentManagerEnumerationOptions options, Block1<NSTextElement,Boolean> block) -
replaceContents
-
synchronizeToBackingStore
-
getLocationFromLocation
-
getOffsetFromLocation
-
adjustedRange
-