SurroundingText.Offset Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Returns text offset between the start of the editor's text and the start of the surrounding text.
public int Offset { [Android.Runtime.Register("getOffset", "()I", "", ApiSince=31)] get; }
[<get: Android.Runtime.Register("getOffset", "()I", "", ApiSince=31)>]
member this.Offset : int
Property Value
- Attributes
Remarks
Returns text offset between the start of the editor's text and the start of the surrounding text.
-1 indicates the offset information is unknown.
Java documentation for android.view.inputmethod.SurroundingText.getOffset()
.
Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.