public long GetDirectBufferCapacity(JniGlobalHandle buf) { long res = getDirectBufferCapacity.Invoke(envPtr, buf); ExceptionTest(); return(res); }
public void Init(JNIEnv env, JniLocalHandle handle) { if (JniLocalHandle.IsNull(handle)) mJvmHandle = null; else mJvmHandle = env.NewGlobalRef(handle); }
public IntPtr GetDirectBufferAddress(JniGlobalHandle buf) { IntPtr res = getDirectBufferAddress.Invoke(envPtr, buf); ExceptionTest(); return(res); }
public bool IsSameObject(JniGlobalHandle o1, JniGlobalHandle o2) { bool res = isSameObject(envPtr, o1, o2) != 0; ExceptionTest(); return(res); }
internal void DeleteGlobalRef(JniGlobalHandle gref) { if (JniGlobalHandle.IsNull(gref)) { throw new ArgumentNullException("gref"); } deleteGlobalRef(envPtr, gref); //optimized away ExceptionTest(); }
public bool IsSameObject(JniGlobalHandle o1, JniGlobalHandle o2) { bool res = isSameObject(envPtr, o1, o2) != 0; ExceptionTest(); return res; }
public long GetDirectBufferCapacity(JniGlobalHandle buf) { long res = getDirectBufferCapacity.Invoke(envPtr, buf); ExceptionTest(); return res; }
public IntPtr GetDirectBufferAddress(JniGlobalHandle buf) { IntPtr res = getDirectBufferAddress.Invoke(envPtr, buf); ExceptionTest(); return res; }
public void Init(JNIEnv env, JniLocalHandle handle) { mJvmHandle = env.NewGlobalRef(handle); }
public static bool IsNull(JniGlobalHandle handle) { return handle == null || handle.IsInvalid; }
public static bool IsNull(JniGlobalHandle handle) { return(handle == null || handle.IsInvalid); }