Condividi tramite


Annotation Constructors

Definition

Overloads

Annotation(Parcel)
Annotation(IntPtr, JniHandleOwnership)

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

Annotation(String, String)

Annotation(Parcel)

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

Parameters

src
Parcel
Attributes

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

Annotation(IntPtr, JniHandleOwnership)

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

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

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

Annotation(String, String)

[Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")]
public Annotation (string? key, string? value);
[<Android.Runtime.Register(".ctor", "(Ljava/lang/String;Ljava/lang/String;)V", "")>]
new Android.Text.Annotation : string * string -> Android.Text.Annotation

Parameters

key
String
value
String
Attributes

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