public static unsafe bool RegisterProduct(global::Com.Mob.Commons.IMobProduct p0) { const string __id = "registerProduct.(Lcom/mob/commons/MobProduct;)Z"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); var __rm = _members.StaticMethods.InvokeBooleanMethod(__id, __args); return(__rm); } finally { } }
public static unsafe string Authorize(global::Com.Mob.Commons.IMobProduct p0) { const string __id = "authorize.(Lcom/mob/commons/MobProduct;)Ljava/lang/String;"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); var __rm = _members.StaticMethods.InvokeObjectMethod(__id, __args); return(JNIEnv.GetString(__rm.Handle, JniHandleOwnership.TransferLocalRef)); } finally { } }
static IntPtr n_GetProductTag(IntPtr jnienv, IntPtr native__this) { global::Com.Mob.Commons.IMobProduct __this = global::Java.Lang.Object.GetObject <global::Com.Mob.Commons.IMobProduct> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewString(__this.ProductTag)); }
static int n_GetSdkver(IntPtr jnienv, IntPtr native__this) { global::Com.Mob.Commons.IMobProduct __this = global::Java.Lang.Object.GetObject <global::Com.Mob.Commons.IMobProduct> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.Sdkver); }
public static unsafe global::Com.Mob.Commons.Filesys.FileUploader.UploadedVideo UploadVideo(global::Com.Mob.Commons.IMobProduct p0, string p1, bool p2) { const string __id = "uploadVideo.(Lcom/mob/commons/MobProduct;Ljava/lang/String;Z)Lcom/mob/commons/filesys/FileUploader$UploadedVideo;"; IntPtr native_p1 = JNIEnv.NewString(p1); try { JniArgumentValue *__args = stackalloc JniArgumentValue [3]; __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle); __args [1] = new JniArgumentValue(native_p1); __args [2] = new JniArgumentValue(p2); var __rm = _members.StaticMethods.InvokeObjectMethod(__id, __args); return(global::Java.Lang.Object.GetObject <global::Com.Mob.Commons.Filesys.FileUploader.UploadedVideo> (__rm.Handle, JniHandleOwnership.TransferLocalRef)); } finally { JNIEnv.DeleteLocalRef(native_p1); } }