SpannableStringInternal.NextSpanTransition(Int32, Int32, Class) Method
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.
Finds the next start or end boundary of a matching span.
[Android.Runtime.Register("nextSpanTransition", "(IILjava/lang/Class;)I", "GetNextSpanTransition_IILjava_lang_Class_Handler")]
public virtual int NextSpanTransition(int start, int limit, Java.Lang.Class? kind);
[<Android.Runtime.Register("nextSpanTransition", "(IILjava/lang/Class;)I", "GetNextSpanTransition_IILjava_lang_Class_Handler")>]
abstract member NextSpanTransition : int * int * Java.Lang.Class -> int
override this.NextSpanTransition : int * int * Java.Lang.Class -> int
Parameters
- start
- Int32
The offset after which to look for a span boundary.
- limit
- Int32
The upper search bound, returned when no earlier boundary is found.
- kind
- Class
The span class to consider, or null to consider all span classes.
Returns
The first matching boundary greater than start and less than limit, or limit if none exists.
- Attributes
Remarks
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.