Freigeben über


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
limit
Int32
type
Class

Returns

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