Language

JniObjectReference.NewGlobalRef Method

Definition

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

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

Returns

A 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