static void n_SetName_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Parse.ParseRole __this = global::Java.Lang.Object.GetObject <global::Com.Parse.ParseRole> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer); __this.Name = p0; }
static bool n_GetRoleWriteAccess_Lcom_parse_ParseRole_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Parse.ParseACL __this = global::Java.Lang.Object.GetObject <global::Com.Parse.ParseACL> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Parse.ParseRole p0 = global::Java.Lang.Object.GetObject <global::Com.Parse.ParseRole> (native_p0, JniHandleOwnership.DoNotTransfer); bool __ret = __this.GetRoleWriteAccess(p0); return(__ret); }
public virtual void SetRoleWriteAccess(global::Com.Parse.ParseRole p0, bool p1) { if (id_setRoleWriteAccess_Lcom_parse_ParseRole_Z == IntPtr.Zero) { id_setRoleWriteAccess_Lcom_parse_ParseRole_Z = JNIEnv.GetMethodID(class_ref, "setRoleWriteAccess", "(Lcom/parse/ParseRole;Z)V"); } if (GetType() == ThresholdType) { JNIEnv.CallVoidMethod(Handle, id_setRoleWriteAccess_Lcom_parse_ParseRole_Z, new JValue(p0), new JValue(p1)); } else { JNIEnv.CallNonvirtualVoidMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "setRoleWriteAccess", "(Lcom/parse/ParseRole;Z)V"), new JValue(p0), new JValue(p1)); } }
public virtual bool GetRoleWriteAccess(global::Com.Parse.ParseRole p0) { if (id_getRoleWriteAccess_Lcom_parse_ParseRole_ == IntPtr.Zero) { id_getRoleWriteAccess_Lcom_parse_ParseRole_ = JNIEnv.GetMethodID(class_ref, "getRoleWriteAccess", "(Lcom/parse/ParseRole;)Z"); } bool __ret; if (GetType() == ThresholdType) { __ret = JNIEnv.CallBooleanMethod(Handle, id_getRoleWriteAccess_Lcom_parse_ParseRole_, new JValue(p0)); } else { __ret = JNIEnv.CallNonvirtualBooleanMethod(Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "getRoleWriteAccess", "(Lcom/parse/ParseRole;)Z"), new JValue(p0)); } return(__ret); }
static void n_SetRoleWriteAccess_Lcom_parse_ParseRole_Z(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, bool p1) { global::Com.Parse.ParseACL __this = global::Java.Lang.Object.GetObject <global::Com.Parse.ParseACL> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Parse.ParseRole p0 = global::Java.Lang.Object.GetObject <global::Com.Parse.ParseRole> (native_p0, JniHandleOwnership.DoNotTransfer); __this.SetRoleWriteAccess(p0, p1); }
static IntPtr n_GetUsers(IntPtr jnienv, IntPtr native__this) { global::Com.Parse.ParseRole __this = global::Java.Lang.Object.GetObject <global::Com.Parse.ParseRole> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.Users)); }
static IntPtr n_GetName(IntPtr jnienv, IntPtr native__this) { global::Com.Parse.ParseRole __this = global::Java.Lang.Object.GetObject <global::Com.Parse.ParseRole> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewString(__this.Name)); }