TextLinks.TextLinkSpan Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| TextLinks.TextLinkSpan(TextLinks+TextLink) |
Creates a clickable span that retains the specified text link. |
| TextLinks.TextLinkSpan(IntPtr, JniHandleOwnership) |
Creates a managed instance that represents an existing Java object. |
TextLinks.TextLinkSpan(TextLinks+TextLink)
Creates a clickable span that retains the specified text link.
[Android.Runtime.Register(".ctor", "(Landroid/view/textclassifier/TextLinks$TextLink;)V", "", ApiSince=28)]
public TextLinkSpan(Android.Views.TextClassifiers.TextLinks.TextLink textLink);
[<Android.Runtime.Register(".ctor", "(Landroid/view/textclassifier/TextLinks$TextLink;)V", "", ApiSince=28)>]
new Android.Views.TextClassifiers.TextLinks.TextLinkSpan : Android.Views.TextClassifiers.TextLinks.TextLink -> Android.Views.TextClassifiers.TextLinks.TextLinkSpan
Parameters
- textLink
- TextLinks.TextLink
The text link to associate with this clickable span.
- Attributes
Remarks
TextLink returns the link supplied to this constructor. Creating the span does not attach it to text.
Applies to
TextLinks.TextLinkSpan(IntPtr, JniHandleOwnership)
Creates a managed instance that represents an existing Java object.
protected TextLinkSpan(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.Views.TextClassifiers.TextLinks.TextLinkSpan : nativeint * Android.Runtime.JniHandleOwnership -> Android.Views.TextClassifiers.TextLinks.TextLinkSpan
Parameters
- javaReference
-
IntPtr
nativeint
A JNI reference to the Java object.
- transfer
- JniHandleOwnership
Specifies whether ownership of the JNI reference transfers to this instance.
Remarks
The runtime calls this constructor to create a managed representation of an existing Java object.