示例#1
0
        static void n_Timeline_IILjava_lang_String_(IntPtr jnienv, IntPtr native__this, int count, int page, IntPtr native_account)
        {
            global::CN.Sharesdk.Twitter.Twitter __this = global::Java.Lang.Object.GetObject <global::CN.Sharesdk.Twitter.Twitter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string account = JNIEnv.GetString(native_account, JniHandleOwnership.DoNotTransfer);

            __this.Timeline(count, page, account);
        }
示例#2
0
        static void n_UserInfor_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_account)
        {
            global::CN.Sharesdk.Twitter.Twitter __this = global::Java.Lang.Object.GetObject <global::CN.Sharesdk.Twitter.Twitter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string account = JNIEnv.GetString(native_account, JniHandleOwnership.DoNotTransfer);

            __this.UserInfor(account);
        }
示例#3
0
        static void n_InitDevInfo_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_name)
        {
            global::CN.Sharesdk.Twitter.Twitter __this = global::Java.Lang.Object.GetObject <global::CN.Sharesdk.Twitter.Twitter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string name = JNIEnv.GetString(native_name, JniHandleOwnership.DoNotTransfer);

            __this.InitDevInfo(name);
        }
示例#4
0
        static void n_GetFriendList_IILjava_lang_String_(IntPtr jnienv, IntPtr native__this, int count, int page, IntPtr native_nextCursor)
        {
            global::CN.Sharesdk.Twitter.Twitter __this = global::Java.Lang.Object.GetObject <global::CN.Sharesdk.Twitter.Twitter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string nextCursor = JNIEnv.GetString(native_nextCursor, JniHandleOwnership.DoNotTransfer);

            __this.GetFriendList(count, page, nextCursor);
        }
示例#5
0
        static IntPtr n_GetFollowings_IILjava_lang_String_(IntPtr jnienv, IntPtr native__this, int count, int page, IntPtr native_nextCursor)
        {
            global::CN.Sharesdk.Twitter.Twitter __this = global::Java.Lang.Object.GetObject <global::CN.Sharesdk.Twitter.Twitter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string nextCursor = JNIEnv.GetString(native_nextCursor, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret      = global::Android.Runtime.JavaDictionary <string, global::Java.Lang.Object> .ToLocalJniHandle(__this.GetFollowings(count, page, nextCursor));

            return(__ret);
        }
示例#6
0
        static bool n_CheckAuthorize_ILjava_lang_Object_(IntPtr jnienv, IntPtr native__this, int action, IntPtr native_extra)
        {
            global::CN.Sharesdk.Twitter.Twitter __this = global::Java.Lang.Object.GetObject <global::CN.Sharesdk.Twitter.Twitter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            global::Java.Lang.Object            extra  = global::Java.Lang.Object.GetObject <global::Java.Lang.Object> (native_extra, JniHandleOwnership.DoNotTransfer);
            bool __ret = __this.CheckAuthorize(action, extra);

            return(__ret);
        }
示例#7
0
        static IntPtr n_GetBilaterals_IILjava_lang_String_(IntPtr jnienv, IntPtr native__this, int count, int cursor, IntPtr native_account)
        {
            global::CN.Sharesdk.Twitter.Twitter __this = global::Java.Lang.Object.GetObject <global::CN.Sharesdk.Twitter.Twitter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string account = JNIEnv.GetString(native_account, JniHandleOwnership.DoNotTransfer);
            IntPtr __ret   = global::Android.Runtime.JavaDictionary <string, global::Java.Lang.Object> .ToLocalJniHandle(__this.GetBilaterals(count, cursor, account));

            return(__ret);
        }
示例#8
0
        static IntPtr n_FilterFriendshipInfo_ILjava_util_HashMap_(IntPtr jnienv, IntPtr native__this, int action, IntPtr native_res)
        {
            global::CN.Sharesdk.Twitter.Twitter __this = global::Java.Lang.Object.GetObject <global::CN.Sharesdk.Twitter.Twitter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            var res = global::Android.Runtime.JavaDictionary <string, global::Java.Lang.Object> .FromJniHandle(native_res, JniHandleOwnership.DoNotTransfer);

            IntPtr __ret = global::Android.Runtime.JavaDictionary <string, global::Java.Lang.Object> .ToLocalJniHandle(__this.FilterFriendshipInfo(action, res));

            return(__ret);
        }
示例#9
0
 static void n_DoAuthorize_arrayLjava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_permission)
 {
     global::CN.Sharesdk.Twitter.Twitter __this = global::Java.Lang.Object.GetObject <global::CN.Sharesdk.Twitter.Twitter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     string[] permission = (string[])JNIEnv.GetArray(native_permission, JniHandleOwnership.DoNotTransfer, typeof(string));
     __this.DoAuthorize(permission);
     if (permission != null)
     {
         JNIEnv.CopyArray(permission, native_permission);
     }
 }
示例#10
0
        static void n_DoCustomerProtocol_Ljava_lang_String_Ljava_lang_String_ILjava_util_HashMap_Ljava_util_HashMap_(IntPtr jnienv, IntPtr native__this, IntPtr native_url, IntPtr native_method, int customerAction, IntPtr native_values, IntPtr native_filePathes)
        {
            global::CN.Sharesdk.Twitter.Twitter __this = global::Java.Lang.Object.GetObject <global::CN.Sharesdk.Twitter.Twitter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
            string url    = JNIEnv.GetString(native_url, JniHandleOwnership.DoNotTransfer);
            string method = JNIEnv.GetString(native_method, JniHandleOwnership.DoNotTransfer);
            var    values = global::Android.Runtime.JavaDictionary <string, global::Java.Lang.Object> .FromJniHandle(native_values, JniHandleOwnership.DoNotTransfer);

            var filePathes = global::Android.Runtime.JavaDictionary <string, string> .FromJniHandle(native_filePathes, JniHandleOwnership.DoNotTransfer);

            __this.DoCustomerProtocol(url, method, customerAction, values, filePathes);
        }
示例#11
0
 static void n_SetNetworkDevinfo(IntPtr jnienv, IntPtr native__this)
 {
     global::CN.Sharesdk.Twitter.Twitter __this = global::Java.Lang.Object.GetObject <global::CN.Sharesdk.Twitter.Twitter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     __this.SetNetworkDevinfo();
 }
示例#12
0
 static void n_DoShare_Lcn_sharesdk_framework_Platform_ShareParams_(IntPtr jnienv, IntPtr native__this, IntPtr native__params)
 {
     global::CN.Sharesdk.Twitter.Twitter __this = global::Java.Lang.Object.GetObject <global::CN.Sharesdk.Twitter.Twitter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::CN.Sharesdk.Framework.Platform.ShareParams @params = global::Java.Lang.Object.GetObject <global::CN.Sharesdk.Framework.Platform.ShareParams> (native__params, JniHandleOwnership.DoNotTransfer);
     __this.DoShare(@params);
 }
示例#13
0
 static int n_GetVersion(IntPtr jnienv, IntPtr native__this)
 {
     global::CN.Sharesdk.Twitter.Twitter __this = global::Java.Lang.Object.GetObject <global::CN.Sharesdk.Twitter.Twitter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.Version);
 }
示例#14
0
 static IntPtr n_GetName(IntPtr jnienv, IntPtr native__this)
 {
     global::CN.Sharesdk.Twitter.Twitter __this = global::Java.Lang.Object.GetObject <global::CN.Sharesdk.Twitter.Twitter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(JNIEnv.NewString(__this.Name));
 }
示例#15
0
 static bool n_HasShareCallback(IntPtr jnienv, IntPtr native__this)
 {
     global::CN.Sharesdk.Twitter.Twitter __this = global::Java.Lang.Object.GetObject <global::CN.Sharesdk.Twitter.Twitter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     return(__this.HasShareCallback);
 }