Språk

NotificationEvent(IntPtr, JniHandleOwnership) Constructor

Definition

Creates a managed instance that represents an existing Java object.

protected NotificationEvent(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.PersonalContext.Hint.NotificationEvent : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.PersonalContext.Hint.NotificationEvent

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.

Applies to