#pragma warning restore 0649 public void OnMetricEvent(global::Com.Amazon.Clouddrive.Metrics.MetricEvent p0) { var __h = Handler; if (__h != null) { __h(sender, new MetricEventArgs(p0)); } }
public unsafe void OnMetricEvent(global::Com.Amazon.Clouddrive.Metrics.MetricEvent p0) { if (id_onMetricEvent_Lcom_amazon_clouddrive_metrics_MetricEvent_ == IntPtr.Zero) { id_onMetricEvent_Lcom_amazon_clouddrive_metrics_MetricEvent_ = JNIEnv.GetMethodID(class_ref, "onMetricEvent", "(Lcom/amazon/clouddrive/metrics/MetricEvent;)V"); } JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); JNIEnv.CallVoidMethod(Handle, id_onMetricEvent_Lcom_amazon_clouddrive_metrics_MetricEvent_, __args); }
public MetricEventArgs(global::Com.Amazon.Clouddrive.Metrics.MetricEvent p0) { this.p0 = p0; }
static void n_OnMetricEvent_Lcom_amazon_clouddrive_metrics_MetricEvent_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Amazon.Clouddrive.Metrics.IMetricListener __this = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Metrics.IMetricListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Amazon.Clouddrive.Metrics.MetricEvent p0 = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Metrics.MetricEvent> (native_p0, JniHandleOwnership.DoNotTransfer); __this.OnMetricEvent(p0); }
static IntPtr n_GetCloudDriveException(IntPtr jnienv, IntPtr native__this) { global::Com.Amazon.Clouddrive.Metrics.MetricEvent __this = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Metrics.MetricEvent> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.CloudDriveException)); }
static long n_GetTimeInMillis(IntPtr jnienv, IntPtr native__this) { global::Com.Amazon.Clouddrive.Metrics.MetricEvent __this = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Metrics.MetricEvent> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.TimeInMillis); }
static int n_GetRetryCount(IntPtr jnienv, IntPtr native__this) { global::Com.Amazon.Clouddrive.Metrics.MetricEvent __this = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Metrics.MetricEvent> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.RetryCount); }
static IntPtr n_GetOperationName(IntPtr jnienv, IntPtr native__this) { global::Com.Amazon.Clouddrive.Metrics.MetricEvent __this = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Metrics.MetricEvent> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewString(__this.OperationName)); }
static bool n_HasSucceeded(IntPtr jnienv, IntPtr native__this) { global::Com.Amazon.Clouddrive.Metrics.MetricEvent __this = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Metrics.MetricEvent> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.HasSucceeded); }