Language

JniObjectReference.NewLocalRef Method

Definition

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

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

Returns

A local 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