static void n_WriteToParcel_Landroid_os_Parcel_I(IntPtr jnienv, IntPtr native__this, IntPtr native_dest, int native_flags) { global::Com.Spotify.Sdk.Android.Authentication.AuthenticationResponse __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Sdk.Android.Authentication.AuthenticationResponse> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.OS.Parcel dest = global::Java.Lang.Object.GetObject <global::Android.OS.Parcel> (native_dest, JniHandleOwnership.DoNotTransfer); global::Android.OS.ParcelableWriteFlags flags = (global::Android.OS.ParcelableWriteFlags)native_flags; __this.WriteToParcel(dest, flags); }
#pragma warning restore 0649 public void OnComplete(global::Com.Spotify.Sdk.Android.Authentication.AuthenticationResponse p0) { var __h = OnCompleteHandler; if (__h != null) { __h(sender, new CompleteEventArgs(p0)); } }
public virtual unsafe void OnClientComplete(global::Com.Spotify.Sdk.Android.Authentication.AuthenticationResponse response) { const string __id = "onClientComplete.(Lcom/spotify/sdk/android/authentication/AuthenticationResponse;)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((response == null) ? IntPtr.Zero : ((global::Java.Lang.Object)response).Handle); _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args); } finally { } }
public unsafe void OnComplete(global::Com.Spotify.Sdk.Android.Authentication.AuthenticationResponse p0) { if (id_onComplete_Lcom_spotify_sdk_android_authentication_AuthenticationResponse_ == IntPtr.Zero) { id_onComplete_Lcom_spotify_sdk_android_authentication_AuthenticationResponse_ = JNIEnv.GetMethodID(class_ref, "onComplete", "(Lcom/spotify/sdk/android/authentication/AuthenticationResponse;)V"); } JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onComplete_Lcom_spotify_sdk_android_authentication_AuthenticationResponse_, __args); }
public virtual unsafe void OnClientComplete(global::Com.Spotify.Sdk.Android.Authentication.AuthenticationResponse p0) { if (id_onClientComplete_Lcom_spotify_sdk_android_authentication_AuthenticationResponse_ == IntPtr.Zero) { id_onClientComplete_Lcom_spotify_sdk_android_authentication_AuthenticationResponse_ = JNIEnv.GetMethodID(class_ref, "onClientComplete", "(Lcom/spotify/sdk/android/authentication/AuthenticationResponse;)V"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (((object)this).GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onClientComplete_Lcom_spotify_sdk_android_authentication_AuthenticationResponse_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "onClientComplete", "(Lcom/spotify/sdk/android/authentication/AuthenticationResponse;)V"), __args); } } finally { } }
static void n_OnClientComplete_Lcom_spotify_sdk_android_authentication_AuthenticationResponse_(IntPtr jnienv, IntPtr native__this, IntPtr native_response) { global::Com.Spotify.Sdk.Android.Authentication.LoginActivity __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Sdk.Android.Authentication.LoginActivity> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Spotify.Sdk.Android.Authentication.AuthenticationResponse response = global::Java.Lang.Object.GetObject <global::Com.Spotify.Sdk.Android.Authentication.AuthenticationResponse> (native_response, JniHandleOwnership.DoNotTransfer); __this.OnClientComplete(response); }
public CompleteEventArgs(global::Com.Spotify.Sdk.Android.Authentication.AuthenticationResponse p0) { this.p0 = p0; }
static void n_OnComplete_Lcom_spotify_sdk_android_authentication_AuthenticationResponse_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Spotify.Sdk.Android.Authentication.IAuthenticationHandlerOnCompleteListener __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Sdk.Android.Authentication.IAuthenticationHandlerOnCompleteListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Spotify.Sdk.Android.Authentication.AuthenticationResponse p0 = global::Java.Lang.Object.GetObject <global::Com.Spotify.Sdk.Android.Authentication.AuthenticationResponse> (native_p0, JniHandleOwnership.DoNotTransfer); __this.OnComplete(p0); }
static IntPtr n_GetType(IntPtr jnienv, IntPtr native__this) { global::Com.Spotify.Sdk.Android.Authentication.AuthenticationResponse __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Sdk.Android.Authentication.AuthenticationResponse> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.GetType())); }
static int n_DescribeContents(IntPtr jnienv, IntPtr native__this) { global::Com.Spotify.Sdk.Android.Authentication.AuthenticationResponse __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Sdk.Android.Authentication.AuthenticationResponse> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.DescribeContents()); }
static IntPtr n_GetAccessToken(IntPtr jnienv, IntPtr native__this) { global::Com.Spotify.Sdk.Android.Authentication.AuthenticationResponse __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Sdk.Android.Authentication.AuthenticationResponse> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewString(__this.AccessToken)); }
public static unsafe global::Com.Spotify.Sdk.Android.Authentication.AuthenticationResponse GetResponse(int p0, global::Android.Content.Intent p1) { if (id_getResponse_ILandroid_content_Intent_ == IntPtr.Zero) { id_getResponse_ILandroid_content_Intent_ = JNIEnv.GetStaticMethodID(class_ref, "getResponse", "(ILandroid/content/Intent;)Lcom/spotify/sdk/android/authentication/AuthenticationResponse;"); } try { JValue *__args = stackalloc JValue [2]; __args [0] = new JValue(p0); __args [1] = new JValue(p1); global::Com.Spotify.Sdk.Android.Authentication.AuthenticationResponse __ret = global::Java.Lang.Object.GetObject <global::Com.Spotify.Sdk.Android.Authentication.AuthenticationResponse> (JNIEnv.CallStaticObjectMethod(class_ref, id_getResponse_ILandroid_content_Intent_, __args), JniHandleOwnership.TransferLocalRef); return(__ret); } finally { } }