UnityEngine.AndroidJNISafe.DeleteGlobalRef C# (CSharp) Method

DeleteGlobalRef() public static method

public static DeleteGlobalRef ( IntPtr globalref ) : void
globalref System.IntPtr
return void
        public static void DeleteGlobalRef(IntPtr globalref)
        {
            if (globalref != IntPtr.Zero)
            {
                AndroidJNI.DeleteGlobalRef(globalref);
            }
        }

Usage Example

コード例 #1
0
 protected virtual void Dispose(bool disposing)
 {
     if (!this.m_disposed)
     {
         this.m_disposed = true;
         AndroidJNISafe.DeleteGlobalRef(this.m_jobject);
         AndroidJNISafe.DeleteGlobalRef(this.m_jclass);
     }
 }
All Usage Examples Of UnityEngine.AndroidJNISafe::DeleteGlobalRef
AndroidJNISafe