Språk

JniEnvironment.WithinNewObjectScope Property

Definition

Gets the current thread's JNI NewObject scope flag.

public static bool WithinNewObjectScope { get; }
static member WithinNewObjectScope : bool

Property Value

Each NewObject call sets this flag to true on entry and false on exit. A nested call does not restore the outer call's flag.

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