public virtual unsafe void AddAttachment(global::Com.Mapbox.Android.Telemetry.FileAttachment attachment) { const string __id = "addAttachment.(Lcom/mapbox/android/telemetry/FileAttachment;)V"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((attachment == null) ? IntPtr.Zero : ((global::Java.Lang.Object)attachment).Handle); _members.InstanceMethods.InvokeVirtualVoidMethod(__id, this, __args); } finally { } }
static void n_AddAttachment_Lcom_mapbox_android_telemetry_FileAttachment_(IntPtr jnienv, IntPtr native__this, IntPtr native_attachment) { global::Com.Mapbox.Android.Telemetry.Attachment __this = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Android.Telemetry.Attachment> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Mapbox.Android.Telemetry.FileAttachment attachment = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Android.Telemetry.FileAttachment> (native_attachment, JniHandleOwnership.DoNotTransfer); __this.AddAttachment(attachment); }
static IntPtr n_GetFileData(IntPtr jnienv, IntPtr native__this) { global::Com.Mapbox.Android.Telemetry.FileAttachment __this = global::Java.Lang.Object.GetObject <global::Com.Mapbox.Android.Telemetry.FileAttachment> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.FileData)); }