Language

JniObjectReference.NewWeakGlobalRef Method

Definition

Creates a weak global reference through the runtime's object reference manager.

public Java.Interop.JniObjectReference NewWeakGlobalRef();
member this.NewWeakGlobalRef : unit -> Java.Interop.JniObjectReference

Returns

A weak global reference to the same Java object, or an invalid reference for a zero handle.

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