Legacy Documentation: Version 4.5.0

Script language:

  • JS
  • C#
  • Boo
Script language

Select your preferred scripting language. All code snippets will be displayed in this language.

AndroidJNI.IsSameObject

static function IsSameObject(obj1: IntPtr, obj2: IntPtr): bool;
static bool IsSameObject(IntPtr obj1, IntPtr obj2);
static def IsSameObject(obj1 as IntPtr, obj2 as IntPtr) as bool

Description

Tests whether two references refer to the same Java object.