Compartir a través de


URLSpan Constructors

Definition

Overloads

URLSpan(Parcel)

Constructs a URLSpan from a parcel.

URLSpan(String)

Constructs a URLSpan from a url string.

URLSpan(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

URLSpan(Parcel)

Constructs a URLSpan from a parcel.

[Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")]
public URLSpan (Android.OS.Parcel src);
[<Android.Runtime.Register(".ctor", "(Landroid/os/Parcel;)V", "")>]
new Android.Text.Style.URLSpan : Android.OS.Parcel -> Android.Text.Style.URLSpan

Parameters

src
Parcel
Attributes

Remarks

Constructs a URLSpan from a parcel.

Java documentation for android.text.style.URLSpan.URLSpan(android.os.Parcel).

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

URLSpan(String)

Constructs a URLSpan from a url string.

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")]
public URLSpan (string? url);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;)V", "")>]
new Android.Text.Style.URLSpan : string -> Android.Text.Style.URLSpan

Parameters

url
String

the url string

Attributes

Remarks

Constructs a URLSpan from a url string.

Java documentation for android.text.style.URLSpan.URLSpan(java.lang.String).

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

URLSpan(IntPtr, JniHandleOwnership)

A constructor used when creating managed representations of JNI objects; called by the runtime.

protected URLSpan (IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Text.Style.URLSpan : nativeint * Android.Runtime.JniHandleOwnership -> Android.Text.Style.URLSpan

Parameters

javaReference
IntPtr

nativeint

A IntPtrcontaining a Java Native Interface (JNI) object reference.

transfer
JniHandleOwnership

A JniHandleOwnershipindicating how to handle javaReference

Remarks

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