Język

ISpanned.NextSpanTransition(Int32, Int32, Class) Method

Definition

Return the first offset greater than start where a markup object of class type begins or ends, or limit if there are no starts or ends greater than start but less than limit.

[Android.Runtime.Register("nextSpanTransition", "(IILjava/lang/Class;)I", "GetNextSpanTransition_IILjava_lang_Class_Handler:Android.Text.ISpannedInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public int NextSpanTransition(int start, int limit, Java.Lang.Class? type);
[<Android.Runtime.Register("nextSpanTransition", "(IILjava/lang/Class;)I", "GetNextSpanTransition_IILjava_lang_Class_Handler:Android.Text.ISpannedInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member 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.

type
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

Return the first offset greater than start where a markup object of class type begins or ends, or limit if there are no starts or ends greater than start but less than limit. Specify null or Object.class for the type if you want every transition regardless of type.

Java documentation for android.text.Spanned.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