Język

SpannedString.GetSpanFlags(Object) Method

Definition

Return the flags that were specified when Spannable.setSpan was used to attach the specified markup object, or 0 if the specified object has not been attached.

[Android.Runtime.Register("getSpanFlags", "(Ljava/lang/Object;)I", "")]
public override Android.Text.SpanTypes GetSpanFlags(Java.Lang.Object? what);
[<Android.Runtime.Register("getSpanFlags", "(Ljava/lang/Object;)I", "")>]
override this.GetSpanFlags : Java.Lang.Object -> Android.Text.SpanTypes

Parameters

what
Object

Returns

Implements

Attributes

Remarks

Return the flags that were specified when Spannable.setSpan was used to attach the specified markup object, or 0 if the specified object has not been attached.

Android reference for android.text.SpannedString.getSpanFlags.

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