public virtual unsafe long FixTs(int p0, global::Java.Nio.ByteBuffer p1, bool p2) { if (id_fixTs_ILjava_nio_ByteBuffer_Z == IntPtr.Zero) { id_fixTs_ILjava_nio_ByteBuffer_Z = JNIEnv.GetMethodID(class_ref, "fixTs", "(ILjava/nio/ByteBuffer;Z)J"); } try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); long __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallLongMethod(((global::Java.Lang.Object) this).Handle, id_fixTs_ILjava_nio_ByteBuffer_Z, __args); } else { __ret = JNIEnv.CallNonvirtualLongMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "fixTs", "(ILjava/nio/ByteBuffer;Z)J"), __args); } return(__ret); } finally { } }
public virtual unsafe long CalculateEffectiveTTR(string p0, global::Com.Liveperson.Api.Response.Types.TTRType p1, long p2, long p3, long p4) { if (id_calculateEffectiveTTR_Ljava_lang_String_Lcom_liveperson_api_response_types_TTRType_JJJ == IntPtr.Zero) { id_calculateEffectiveTTR_Ljava_lang_String_Lcom_liveperson_api_response_types_TTRType_JJJ = JNIEnv.GetMethodID(class_ref, "calculateEffectiveTTR", "(Ljava/lang/String;Lcom/liveperson/api/response/types/TTRType;JJJ)J"); } IntPtr native_p0 = JNIEnv.NewString(p0); try { JValue *__args = stackalloc JValue [5]; __args [0] = new JValue(native_p0); __args [1] = new JValue(p1); __args [2] = new JValue(p2); __args [3] = new JValue(p3); __args [4] = new JValue(p4); long __ret; if (((object)this).GetType() == ThresholdType) { __ret = JNIEnv.CallLongMethod(((global::Java.Lang.Object) this).Handle, id_calculateEffectiveTTR_Ljava_lang_String_Lcom_liveperson_api_response_types_TTRType_JJJ, __args); } else { __ret = JNIEnv.CallNonvirtualLongMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "calculateEffectiveTTR", "(Ljava/lang/String;Lcom/liveperson/api/response/types/TTRType;JJJ)J"), __args); } return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p0); } }
public virtual unsafe long InitializeAndLoadNativeLibrary(string libraryName) { if (id_initializeAndLoadNativeLibrary_Ljava_lang_String_ == IntPtr.Zero) { id_initializeAndLoadNativeLibrary_Ljava_lang_String_ = JNIEnv.GetMethodID(class_ref, "initializeAndLoadNativeLibrary", "(Ljava/lang/String;)J"); } IntPtr native_libraryName = JNIEnv.NewString(libraryName); try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(native_libraryName); long __ret; if (((object)this).GetType() == ThresholdType) { __ret = JNIEnv.CallLongMethod(((global::Java.Lang.Object) this).Handle, id_initializeAndLoadNativeLibrary_Ljava_lang_String_, __args); } else { __ret = JNIEnv.CallNonvirtualLongMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "initializeAndLoadNativeLibrary", "(Ljava/lang/String;)J"), __args); } return(__ret); } finally { JNIEnv.DeleteLocalRef(native_libraryName); } }
public virtual long GetEncodedLength(byte[] p0) { if (id_getEncodedLength_arrayB == IntPtr.Zero) { id_getEncodedLength_arrayB = JNIEnv.GetMethodID(class_ref, "getEncodedLength", "([B)J"); } IntPtr native_p0 = JNIEnv.NewArray(p0); long __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallLongMethod(Handle, id_getEncodedLength_arrayB, new JValue(native_p0)); } else { __ret = JNIEnv.CallNonvirtualLongMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getEncodedLength", "([B)J"), new JValue(native_p0)); } if (p0 != null) { JNIEnv.CopyArray(native_p0, p0); JNIEnv.DeleteLocalRef(native_p0); } return(__ret); }
public virtual unsafe long GetLongValue(string p0, string p1, long p2) { if (id_getLongValue_Ljava_lang_String_Ljava_lang_String_J == IntPtr.Zero) { id_getLongValue_Ljava_lang_String_Ljava_lang_String_J = JNIEnv.GetMethodID(class_ref, "getLongValue", "(Ljava/lang/String;Ljava/lang/String;J)J"); } IntPtr native_p0 = JNIEnv.NewString(p0); IntPtr native_p1 = JNIEnv.NewString(p1); try { JValue *__args = stackalloc JValue [3]; __args [0] = new JValue(native_p0); __args [1] = new JValue(native_p1); __args [2] = new JValue(p2); long __ret; if (((object)this).GetType() == ThresholdType) { __ret = JNIEnv.CallLongMethod(((global::Java.Lang.Object) this).Handle, id_getLongValue_Ljava_lang_String_Ljava_lang_String_J, __args); } else { __ret = JNIEnv.CallNonvirtualLongMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getLongValue", "(Ljava/lang/String;Ljava/lang/String;J)J"), __args); } return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p0); JNIEnv.DeleteLocalRef(native_p1); } }
public virtual unsafe long InsertOrUpdate(global::Android.Content.ContentValues p0, global::Android.Content.ContentValues p1, string p2, string[] p3) { if (id_insertOrUpdate_Landroid_content_ContentValues_Landroid_content_ContentValues_Ljava_lang_String_arrayLjava_lang_String_ == IntPtr.Zero) { id_insertOrUpdate_Landroid_content_ContentValues_Landroid_content_ContentValues_Ljava_lang_String_arrayLjava_lang_String_ = JNIEnv.GetMethodID(class_ref, "insertOrUpdate", "(Landroid/content/ContentValues;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)J"); } IntPtr native_p2 = JNIEnv.NewString(p2); IntPtr native_p3 = JNIEnv.NewArray(p3); try { JValue *__args = stackalloc JValue [4]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); __args [2] = new JValue(native_p2); __args [3] = new JValue(native_p3); long __ret; if (((object)this).GetType() == ThresholdType) { __ret = JNIEnv.CallLongMethod(((global::Java.Lang.Object) this).Handle, id_insertOrUpdate_Landroid_content_ContentValues_Landroid_content_ContentValues_Ljava_lang_String_arrayLjava_lang_String_, __args); } else { __ret = JNIEnv.CallNonvirtualLongMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "insertOrUpdate", "(Landroid/content/ContentValues;Landroid/content/ContentValues;Ljava/lang/String;[Ljava/lang/String;)J"), __args); } return(__ret); } finally { JNIEnv.DeleteLocalRef(native_p2); if (p3 != null) { JNIEnv.CopyArray(native_p3, p3); JNIEnv.DeleteLocalRef(native_p3); } } }
public virtual unsafe long GetEncodedLength(byte[] p0) { if (id_getEncodedLength_arrayB == IntPtr.Zero) { id_getEncodedLength_arrayB = JNIEnv.GetMethodID(class_ref, "getEncodedLength", "([B)J"); } IntPtr native_p0 = JNIEnv.NewArray(p0); try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(native_p0); long __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallLongMethod(((global::Java.Lang.Object) this).Handle, id_getEncodedLength_arrayB, __args); } else { __ret = JNIEnv.CallNonvirtualLongMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getEncodedLength", "([B)J"), __args); } return(__ret); } finally { if (p0 != null) { JNIEnv.CopyArray(native_p0, p0); JNIEnv.DeleteLocalRef(native_p0); } } }
public unsafe long QueueSize() { if (id_queueSize == IntPtr.Zero) { id_queueSize = JNIEnv.GetMethodID(class_ref, "queueSize", "()J"); } return(JNIEnv.CallLongMethod(((global::Java.Lang.Object) this).Handle, id_queueSize)); }
public unsafe long CreateNativeMediaTransportFactory() { if (id_createNativeMediaTransportFactory == IntPtr.Zero) { id_createNativeMediaTransportFactory = JNIEnv.GetMethodID(class_ref, "createNativeMediaTransportFactory", "()J"); } return(JNIEnv.CallLongMethod(((global::Java.Lang.Object) this).Handle, id_createNativeMediaTransportFactory)); }
public long ReadUInt64() { if (id_readUInt64 == IntPtr.Zero) { id_readUInt64 = JNIEnv.GetMethodID(class_ref, "readUInt64", "()J"); } return(JNIEnv.CallLongMethod(Handle, id_readUInt64)); }
public unsafe long CreateNativePeerConnection() { if (id_createNativePeerConnection == IntPtr.Zero) { id_createNativePeerConnection = JNIEnv.GetMethodID(class_ref, "createNativePeerConnection", "()J"); } return(JNIEnv.CallLongMethod(((global::Java.Lang.Object) this).Handle, id_createNativePeerConnection)); }
public long Ping() { if (id_ping == IntPtr.Zero) { id_ping = JNIEnv.GetMethodID(class_ref, "ping", "()J"); } return(JNIEnv.CallLongMethod(Handle, id_ping)); }
public unsafe long ElapsedRealtime() { if (id_elapsedRealtime == IntPtr.Zero) { id_elapsedRealtime = JNIEnv.GetMethodID(class_ref, "elapsedRealtime", "()J"); } return(JNIEnv.CallLongMethod(((global::Java.Lang.Object) this).Handle, id_elapsedRealtime)); }
protected override long GetImageId(global::Android.Database.ICursor p0) { if (id_getImageId_Landroid_database_Cursor_ == IntPtr.Zero) { id_getImageId_Landroid_database_Cursor_ = JNIEnv.GetMethodID(class_ref, "getImageId", "(Landroid/database/Cursor;)J"); } long __ret = JNIEnv.CallLongMethod(Handle, id_getImageId_Landroid_database_Cursor_, new JValue(p0)); return(__ret); }
public unsafe long Read (global::Okio.Buffer p0, long p1) { if (id_read_Lokio_Buffer_J == IntPtr.Zero) id_read_Lokio_Buffer_J = JNIEnv.GetMethodID (class_ref, "read", "(Lokio/Buffer;J)J"); JValue* __args = stackalloc JValue [2]; __args [0] = new JValue ((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object) p0).Handle); __args [1] = new JValue (p1); long __ret = JNIEnv.CallLongMethod (((global::Java.Lang.Object) this).Handle, id_read_Lokio_Buffer_J, __args); return __ret; }
public unsafe long Size() { if (id_size == IntPtr.Zero) { id_size = JNIEnv.GetMethodID(class_ref, "size", "()J"); } try { return(JNIEnv.CallLongMethod(((global::Java.Lang.Object) this).Handle, id_size)); } finally { } }
protected unsafe long BytesSkipped() { if (id_bytesSkipped == IntPtr.Zero) { id_bytesSkipped = JNIEnv.GetMethodID(class_ref, "bytesSkipped", "()J"); } try { return(JNIEnv.CallLongMethod(((global::Java.Lang.Object) this).Handle, id_bytesSkipped)); } finally { } }
public unsafe long CurPos() { if (id_curPos == IntPtr.Zero) { id_curPos = JNIEnv.GetMethodID(class_ref, "curPos", "()J"); } try { return(JNIEnv.CallLongMethod(((global::Java.Lang.Object) this).Handle, id_curPos)); } finally { } }
public unsafe long ReadLittleEndianUnsignedInt() { if (id_readLittleEndianUnsignedInt == IntPtr.Zero) { id_readLittleEndianUnsignedInt = JNIEnv.GetMethodID(class_ref, "readLittleEndianUnsignedInt", "()J"); } try { return(JNIEnv.CallLongMethod(((global::Java.Lang.Object) this).Handle, id_readLittleEndianUnsignedInt)); } finally { } }
public unsafe long ReadUnsignedLongToLong() { if (id_readUnsignedLongToLong == IntPtr.Zero) { id_readUnsignedLongToLong = JNIEnv.GetMethodID(class_ref, "readUnsignedLongToLong", "()J"); } try { return(JNIEnv.CallLongMethod(((global::Java.Lang.Object) this).Handle, id_readUnsignedLongToLong)); } finally { } }
public unsafe long FileCount() { if (id_fileCount == IntPtr.Zero) { id_fileCount = JNIEnv.GetMethodID(class_ref, "fileCount", "()J"); } try { return(JNIEnv.CallLongMethod(((global::Java.Lang.Object) this).Handle, id_fileCount)); } finally { } }
public unsafe long 鷭() { if (id_鷭 == IntPtr.Zero) { id_鷭 = JNIEnv.GetMethodID(class_ref, "鷭", "()J"); } try { return(JNIEnv.CallLongMethod(Handle, id_鷭)); } finally { } }
public unsafe long Skip(int p0) { if (id_skip_I == IntPtr.Zero) { id_skip_I = JNIEnv.GetMethodID(class_ref, "skip", "(I)J"); } JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); return(JNIEnv.CallLongMethod(((global::Java.Lang.Object) this).Handle, id_skip_I, __args)); }
public override sealed unsafe long 櫯() { if (id_櫯 == IntPtr.Zero) { id_櫯 = JNIEnv.GetMethodID(class_ref, "櫯", "()J"); } try { return(JNIEnv.CallLongMethod(Handle, id_櫯)); } finally { } }
public unsafe long Size() { if (id_size == IntPtr.Zero) { id_size = JNIEnv.GetMethodID(class_ref, "size", "()J"); } try { return(JNIEnv.CallLongMethod(Handle, id_size)); } finally { } }
public unsafe long GetPosition(long p0) { if (id_getPosition_J == IntPtr.Zero) { id_getPosition_J = JNIEnv.GetMethodID(class_ref, "getPosition", "(J)J"); } JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); return(JNIEnv.CallLongMethod(((global::Java.Lang.Object) this).Handle, id_getPosition_J, __args)); }
public long GetLong(string p0, long p1) { if (id_getLong_Ljava_lang_String_J == IntPtr.Zero) { id_getLong_Ljava_lang_String_J = JNIEnv.GetMethodID(class_ref, "getLong", "(Ljava/lang/String;J)J"); } IntPtr native_p0 = JNIEnv.NewString(p0); long __ret = JNIEnv.CallLongMethod(Handle, id_getLong_Ljava_lang_String_J, new JValue(native_p0), new JValue(p1)); JNIEnv.DeleteLocalRef(native_p0); return(__ret); }
public unsafe long Size(global::Java.IO.File p0) { if (id_size_Ljava_io_File_ == IntPtr.Zero) { id_size_Ljava_io_File_ = JNIEnv.GetMethodID(class_ref, "size", "(Ljava/io/File;)J"); } JValue *__args = stackalloc JValue [1]; __args [0] = new JValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); long __ret = JNIEnv.CallLongMethod(((global::Java.Lang.Object) this).Handle, id_size_Ljava_io_File_, __args); return(__ret); }
public unsafe long GetEventTime(int p0) { if (id_getEventTime_I == IntPtr.Zero) { id_getEventTime_I = JNIEnv.GetMethodID(class_ref, "getEventTime", "(I)J"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); return(JNIEnv.CallLongMethod(((global::Java.Lang.Object) this).Handle, id_getEventTime_I, __args)); } finally { } }
public unsafe long AdjustTimestamp(long p0) { if (id_adjustTimestamp_J == IntPtr.Zero) { id_adjustTimestamp_J = JNIEnv.GetMethodID(class_ref, "adjustTimestamp", "(J)J"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); return(JNIEnv.CallLongMethod(((global::Java.Lang.Object) this).Handle, id_adjustTimestamp_J, __args)); } finally { } }