static void n_OnAttachmentFailure_Ljava_lang_String_Ljava_util_List_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0, IntPtr native_p1) { global::Com.Mapbox.Android.Telemetry.IAttachmentListener __this = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Android.Telemetry.IAttachmentListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer); var p1 = global::Android.Runtime.JavaList <string> .FromJniHandle(native_p1, JniHandleOwnership.DoNotTransfer); __this.OnAttachmentFailure(p0, p1); }
static bool n_AddAttachmentListener_Lcom_mapbox_android_telemetry_AttachmentListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_listener) { global::Com.Mapbox.Android.Telemetry.MapboxTelemetry __this = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Android.Telemetry.MapboxTelemetry> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Mapbox.Android.Telemetry.IAttachmentListener listener = (global::Com.Mapbox.Android.Telemetry.IAttachmentListener)global::Java.Lang.Object.GetObject <global::Com.Mapbox.Android.Telemetry.IAttachmentListener> (native_listener, JniHandleOwnership.DoNotTransfer); bool __ret = __this.AddAttachmentListener(listener); return(__ret); }
public virtual unsafe bool AddAttachmentListener(global::Com.Mapbox.Android.Telemetry.IAttachmentListener listener) { const string __id = "addAttachmentListener.(Lcom/mapbox/android/telemetry/AttachmentListener;)Z"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((listener == null) ? IntPtr.Zero : ((global::Java.Lang.Object)listener).Handle); var __rm = _members.InstanceMethods.InvokeVirtualBooleanMethod(__id, this, __args); return(__rm); } finally { } }