Exemplo n.º 1
0
        static void n_SetUsers_Ljava_util_Set_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
        {
            global::Com.Applozic.Mobicomkit.Feed.RegisteredUsersApiResponse __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Feed.RegisteredUsersApiResponse> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            var p0 = global::Android.Runtime.JavaSet <global::Com.Applozic.Mobicomkit.Api.Account.User.UserDetail> .FromJniHandle(native_p0, JniHandleOwnership.DoNotTransfer);

            __this.Users = p0;
        }
#pragma warning restore 0649

            public void OnSuccess(global::Com.Applozic.Mobicomkit.Feed.RegisteredUsersApiResponse p0, string[] p1)
            {
                var __h = OnSuccessHandler;

                if (__h != null)
                {
                    __h(sender, new SuccessEventArgs(p0, p1));
                }
            }
#pragma warning restore 0649

            public void OnFailure(global::Com.Applozic.Mobicomkit.Feed.RegisteredUsersApiResponse p0, string[] p1, global::Java.Lang.Exception p2)
            {
                var __h = OnFailureHandler;

                if (__h != null)
                {
                    __h(sender, new FailureEventArgs(p0, p1, p2));
                }
            }
 static void n_OnSuccess_Lcom_applozic_mobicomkit_feed_RegisteredUsersApiResponse_arrayLjava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1)
 {
     global::Com.Applozic.Mobicomkit.Api.Account.User.RegisteredUsersAsyncTask.ITaskListener __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Api.Account.User.RegisteredUsersAsyncTask.ITaskListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Applozic.Mobicomkit.Feed.RegisteredUsersApiResponse p0 = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Feed.RegisteredUsersApiResponse> (native_p0, JniHandleOwnership.DoNotTransfer);
     string[] p1 = (string[])JNIEnv.GetArray(native_p1, JniHandleOwnership.DoNotTransfer, typeof(string));
     __this.OnSuccess(p0, p1);
     if (p1 != null)
     {
         JNIEnv.CopyArray(p1, native_p1);
     }
 }
            public unsafe void OnSuccess(global::Com.Applozic.Mobicomkit.Feed.RegisteredUsersApiResponse p0, string[] p1)
            {
                if (id_onSuccess_Lcom_applozic_mobicomkit_feed_RegisteredUsersApiResponse_arrayLjava_lang_String_ == IntPtr.Zero)
                {
                    id_onSuccess_Lcom_applozic_mobicomkit_feed_RegisteredUsersApiResponse_arrayLjava_lang_String_ = JNIEnv.GetMethodID(class_ref, "onSuccess", "(Lcom/applozic/mobicomkit/feed/RegisteredUsersApiResponse;[Ljava/lang/String;)V");
                }
                IntPtr  native_p1 = JNIEnv.NewArray(p1);
                JValue *__args    = stackalloc JValue [2];

                __args [0] = new JValue(p0);
                __args [1] = new JValue(native_p1);
                JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onSuccess_Lcom_applozic_mobicomkit_feed_RegisteredUsersApiResponse_arrayLjava_lang_String_, __args);
                if (p1 != null)
                {
                    JNIEnv.CopyArray(native_p1, p1);
                    JNIEnv.DeleteLocalRef(native_p1);
                }
            }
 public SuccessEventArgs(global::Com.Applozic.Mobicomkit.Feed.RegisteredUsersApiResponse p0, string[] p1)
 {
     this.p0 = p0;
     this.p1 = p1;
 }
 public FailureEventArgs(global::Com.Applozic.Mobicomkit.Feed.RegisteredUsersApiResponse p0, string[] p1, global::Java.Lang.Exception p2)
 {
     this.p0 = p0;
     this.p1 = p1;
     this.p2 = p2;
 }
Exemplo n.º 8
0
 static void n_SetLastFetchTime_J(IntPtr jnienv, IntPtr native__this, long p0)
 {
     global::Com.Applozic.Mobicomkit.Feed.RegisteredUsersApiResponse __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Feed.RegisteredUsersApiResponse> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.LastFetchTime = p0;
 }
Exemplo n.º 9
0
 static long n_GetLastFetchTime(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Applozic.Mobicomkit.Feed.RegisteredUsersApiResponse __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Feed.RegisteredUsersApiResponse> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.LastFetchTime);
 }
Exemplo n.º 10
0
 static IntPtr n_GetUsers(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Applozic.Mobicomkit.Feed.RegisteredUsersApiResponse __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Feed.RegisteredUsersApiResponse> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(global::Android.Runtime.JavaSet <global::Com.Applozic.Mobicomkit.Api.Account.User.UserDetail> .ToLocalJniHandle(__this.Users));
 }
Exemplo n.º 11
0
 static void n_SetTotalUnreadCount_Ljava_lang_Integer_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Applozic.Mobicomkit.Feed.RegisteredUsersApiResponse __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Feed.RegisteredUsersApiResponse> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Java.Lang.Integer p0 = global::Java.Lang.Object.GetObject <global::Java.Lang.Integer> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.TotalUnreadCount = p0;
 }
Exemplo n.º 12
0
 static IntPtr n_GetTotalUnreadCount(IntPtr jnienv, IntPtr native__this)
 {
     global::Com.Applozic.Mobicomkit.Feed.RegisteredUsersApiResponse __this = global::Java.Lang.Object.GetObject <global::Com.Applozic.Mobicomkit.Feed.RegisteredUsersApiResponse> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.ToLocalJniHandle(__this.TotalUnreadCount));
 }