#pragma warning restore 0649

        public void OnResult(global::IO.Anyline.Plugin.ScanResult result)
        {
            var __h = Handler;

            if (__h != null)
            {
                __h(sender, new ScanResultEventArgs(result));
            }
        }
        public unsafe void OnResult(global::IO.Anyline.Plugin.ScanResult result)
        {
            if (id_onResult_Lio_anyline_plugin_ScanResult_ == IntPtr.Zero)
            {
                id_onResult_Lio_anyline_plugin_ScanResult_ = JNIEnv.GetMethodID(class_ref, "onResult", "(Lio/anyline/plugin/ScanResult;)V");
            }
            IntPtr  native_result = JNIEnv.ToLocalJniHandle(result);
            JValue *__args        = stackalloc JValue[1];

            __args[0] = new JValue(native_result);
            JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_onResult_Lio_anyline_plugin_ScanResult_, __args);
            JNIEnv.DeleteLocalRef(native_result);
        }
 public ScanResultEventArgs(global::IO.Anyline.Plugin.ScanResult result)
 {
     this.result = result;
 }