static IntPtr n_Await_JLjava_util_concurrent_TimeUnit_(IntPtr jnienv, IntPtr native__this, long timeout, IntPtr native_timeUnit) { global::Com.Spotify.Protocol.Client.PendingResultBase __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Protocol.Client.PendingResultBase> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Java.Util.Concurrent.TimeUnit timeUnit = global::Java.Lang.Object.GetObject <global::Java.Util.Concurrent.TimeUnit> (native_timeUnit, JniHandleOwnership.DoNotTransfer); IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.Await(timeout, timeUnit)); return(__ret); }
static IntPtr n_SetErrorCallback_Lcom_spotify_protocol_client_ErrorCallback_(IntPtr jnienv, IntPtr native__this, IntPtr native_errorCallback) { global::Com.Spotify.Protocol.Client.PendingResultBase __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Protocol.Client.PendingResultBase> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Spotify.Protocol.Client.IErrorCallback errorCallback = (global::Com.Spotify.Protocol.Client.IErrorCallback)global::Java.Lang.Object.GetObject <global::Com.Spotify.Protocol.Client.IErrorCallback> (native_errorCallback, JniHandleOwnership.DoNotTransfer); IntPtr __ret = JNIEnv.ToLocalJniHandle(__this.SetErrorCallback(errorCallback)); return(__ret); }
static void n_OnResultDelivered(IntPtr jnienv, IntPtr native__this) { global::Com.Spotify.Protocol.Client.PendingResultBase __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Protocol.Client.PendingResultBase> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.OnResultDelivered(); }
static void n_DeliverResult_Lcom_spotify_protocol_client_Result_(IntPtr jnienv, IntPtr native__this, IntPtr native_result) { global::Com.Spotify.Protocol.Client.PendingResultBase __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Protocol.Client.PendingResultBase> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Spotify.Protocol.Client.IResult result = (global::Com.Spotify.Protocol.Client.IResult)global::Java.Lang.Object.GetObject <global::Com.Spotify.Protocol.Client.IResult> (native_result, JniHandleOwnership.DoNotTransfer); __this.DeliverResult(result); }
static void n_DeliverError_Ljava_lang_Throwable_(IntPtr jnienv, IntPtr native__this, IntPtr native_t) { global::Com.Spotify.Protocol.Client.PendingResultBase __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Protocol.Client.PendingResultBase> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Java.Lang.Throwable t = global::Java.Lang.Object.GetObject <global::Java.Lang.Throwable> (native_t, JniHandleOwnership.DoNotTransfer); __this.DeliverError(t); }
static IntPtr n_Await(IntPtr jnienv, IntPtr native__this) { global::Com.Spotify.Protocol.Client.PendingResultBase __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Protocol.Client.PendingResultBase> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.Await())); }
static bool n_IsCanceled(IntPtr jnienv, IntPtr native__this) { global::Com.Spotify.Protocol.Client.PendingResultBase __this = global::Java.Lang.Object.GetObject <global::Com.Spotify.Protocol.Client.PendingResultBase> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.IsCanceled); }