Język

SpannableStringBuilder.NextSpanTransition(Int32, Int32, Class) Method

Definition

Return the next offset after start but less than or equal to limit where a span of the specified type begins or ends.

[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.

Implements

Attributes

Remarks

Return the next offset after start but less than or equal to limit where a span of the specified type begins or ends.

Java documentation for android.text.SpannableStringBuilder.nextSpanTransition(int, int, java.lang.Class).

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.

Applies to