static void n_SetAuthToken_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Parse.Twitter.Twitter __this = global::Java.Lang.Object.GetObject <global::Com.Parse.Twitter.Twitter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer); __this.AuthToken = p0; }
static void n_Authorize_Landroid_content_Context_Lcom_parse_internal_AsyncCallback_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1) { global::Com.Parse.Twitter.Twitter __this = global::Java.Lang.Object.GetObject <global::Com.Parse.Twitter.Twitter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Content.Context p0 = global::Java.Lang.Object.GetObject <global::Android.Content.Context> (native_p0, JniHandleOwnership.DoNotTransfer); global::Com.Parse.Internal.IAsyncCallback p1 = (global::Com.Parse.Internal.IAsyncCallback)global::Java.Lang.Object.GetObject <global::Com.Parse.Internal.IAsyncCallback> (native_p1, JniHandleOwnership.DoNotTransfer); __this.Authorize(p0, p1); }
public TwitterAuthenticationProvider(global::Com.Parse.Twitter.Twitter p0) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (Handle != IntPtr.Zero) { return; } if (GetType() != typeof(TwitterAuthenticationProvider)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Lcom/parse/twitter/Twitter;)V", new JValue(p0)), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(Lcom/parse/twitter/Twitter;)V", new JValue(p0)); return; } if (id_ctor_Lcom_parse_twitter_Twitter_ == IntPtr.Zero) { id_ctor_Lcom_parse_twitter_Twitter_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/parse/twitter/Twitter;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_parse_twitter_Twitter_, new JValue(p0)), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Lcom_parse_twitter_Twitter_, new JValue(p0)); }
static IntPtr n_GetAuthToken(IntPtr jnienv, IntPtr native__this) { global::Com.Parse.Twitter.Twitter __this = global::Java.Lang.Object.GetObject <global::Com.Parse.Twitter.Twitter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewString(__this.AuthToken)); }
static void n_SignRequest_Lorg_apache_http_client_methods_HttpUriRequest_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Parse.Twitter.Twitter __this = global::Java.Lang.Object.GetObject <global::Com.Parse.Twitter.Twitter> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Org.Apache.Http.Client.Methods.IHttpUriRequest p0 = (global::Org.Apache.Http.Client.Methods.IHttpUriRequest)global::Java.Lang.Object.GetObject <global::Org.Apache.Http.Client.Methods.IHttpUriRequest> (native_p0, JniHandleOwnership.DoNotTransfer); __this.SignRequest(p0); }