Språk

Fragment.SavedState(IntPtr, JniHandleOwnership) Constructor

Definition

Initializes a managed representation of an existing Java Native Interface object.

protected SavedState(IntPtr javaReference, Android.Runtime.JniHandleOwnership transfer);
new Android.App.Fragment.SavedState : nativeint * Android.Runtime.JniHandleOwnership -> Android.App.Fragment.SavedState

Parameters

javaReference
IntPtr

nativeint

The Java Native Interface object reference.

transfer
JniHandleOwnership

Specifies how the runtime handles the JNI reference, including its release and peer registration.

Remarks

This constructor is called by the .NET for Android binding runtime when it creates a managed peer for an existing Java object.

Applies to