public unsafe void RemoveCallback(global::Com.Google.Ads.Interactivemedia.V3.Api.Player.IVideoStreamPlayerVideoStreamPlayerCallback p0) { if (id_removeCallback_Lcom_google_ads_interactivemedia_v3_api_player_VideoStreamPlayer_VideoStreamPlayerCallback_ == IntPtr.Zero) { id_removeCallback_Lcom_google_ads_interactivemedia_v3_api_player_VideoStreamPlayer_VideoStreamPlayerCallback_ = JNIEnv.GetMethodID(class_ref, "removeCallback", "(Lcom/google/ads/interactivemedia/v3/api/player/VideoStreamPlayer$VideoStreamPlayerCallback;)V"); } JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_removeCallback_Lcom_google_ads_interactivemedia_v3_api_player_VideoStreamPlayer_VideoStreamPlayerCallback_, __args); }
static void n_OnUserTextReceived_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Google.Ads.Interactivemedia.V3.Api.Player.IVideoStreamPlayerVideoStreamPlayerCallback __this = global::Java.Lang.Object.GetObject <global::Com.Google.Ads.Interactivemedia.V3.Api.Player.IVideoStreamPlayerVideoStreamPlayerCallback> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer); __this.OnUserTextReceived(p0); }
static void n_RemoveCallback_Lcom_google_ads_interactivemedia_v3_api_player_VideoStreamPlayer_VideoStreamPlayerCallback_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Google.Ads.Interactivemedia.V3.Api.Player.IVideoStreamPlayer __this = global::Java.Lang.Object.GetObject <global::Com.Google.Ads.Interactivemedia.V3.Api.Player.IVideoStreamPlayer> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Google.Ads.Interactivemedia.V3.Api.Player.IVideoStreamPlayerVideoStreamPlayerCallback p0 = (global::Com.Google.Ads.Interactivemedia.V3.Api.Player.IVideoStreamPlayerVideoStreamPlayerCallback)global::Java.Lang.Object.GetObject <global::Com.Google.Ads.Interactivemedia.V3.Api.Player.IVideoStreamPlayerVideoStreamPlayerCallback> (native_p0, JniHandleOwnership.DoNotTransfer); __this.RemoveCallback(p0); }