ISpannable Interface

Definition

This is the interface for text to which markup objects can be attached and detached.

[Android.Runtime.Register("android/text/Spannable", "", "Android.Text.ISpannableInvoker", ApiSince=1)]
public interface ISpannable : Android.Text.ISpanned, IDisposable, System.Collections.Generic.IEnumerable<char>
type ISpannable = interface
    interface ISpanned
    interface ICharSequence
    interface IJavaObject
    interface IDisposable
    interface seq<char>
    interface IEnumerable
Derived
Attributes
Implements

Remarks

Android platform documentation

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.

Properties

Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)

Methods

CharAt(Int32)

Returns the character at index.

(Inherited from ICharSequence)
GetSpanEnd(Object)

Return the end of the range of text to which the specified markup object is attached, or -1 if the object is not attached.

(Inherited from ISpanned)
GetSpanFlags(Object) (Inherited from ISpanned)
GetSpans(Int32, Int32, Class) (Inherited from ISpanned)
GetSpanStart(Object)

Return the beginning of the range of text to which the specified markup object is attached, or -1 if the object is not attached.

(Inherited from ISpanned)
Length()

Returns the number of characters in this sequence.

(Inherited from ICharSequence)
NextSpanTransition(Int32, Int32, Class)

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.

(Inherited from ISpanned)
RemoveSpan(Object)

Remove the specified object from the range of text to which it was attached, if any.

SetSpan(Object, Int32, Int32, SpanTypes)

Attach the specified markup object to the range start&hellip;end of the text, or move the object to that range if it was already attached elsewhere.

SubSequenceFormatted(Int32, Int32)

Returns a CharSequence from the start index (inclusive) to the end index (exclusive) of this sequence.

(Inherited from ICharSequence)
ToString()

Returns a string with the same characters in the same order as in this sequence.

(Inherited from ICharSequence)

Extension Methods

JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject)
SubSequence(ICharSequence, Int32, Int32)

Applies to