static void n_SetUserAgent_Ljava_lang_String_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Amazon.Clouddrive.Configuration.ClientConfiguration __this = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Configuration.ClientConfiguration> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); string p0 = JNIEnv.GetString(native_p0, JniHandleOwnership.DoNotTransfer); __this.UserAgent = p0; }
public unsafe ClientConfiguration(global::Com.Amazon.Clouddrive.Configuration.ClientConfiguration p0) : base(IntPtr.Zero, JniHandleOwnership.DoNotTransfer) { if (Handle != IntPtr.Zero) { return; } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (GetType() != typeof(ClientConfiguration)) { SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(GetType(), "(Lcom/amazon/clouddrive/configuration/ClientConfiguration;)V", __args), JniHandleOwnership.TransferLocalRef); global::Android.Runtime.JNIEnv.FinishCreateInstance(Handle, "(Lcom/amazon/clouddrive/configuration/ClientConfiguration;)V", __args); return; } if (id_ctor_Lcom_amazon_clouddrive_configuration_ClientConfiguration_ == IntPtr.Zero) { id_ctor_Lcom_amazon_clouddrive_configuration_ClientConfiguration_ = JNIEnv.GetMethodID(class_ref, "<init>", "(Lcom/amazon/clouddrive/configuration/ClientConfiguration;)V"); } SetHandle( global::Android.Runtime.JNIEnv.StartCreateInstance(class_ref, id_ctor_Lcom_amazon_clouddrive_configuration_ClientConfiguration_, __args), JniHandleOwnership.TransferLocalRef); JNIEnv.FinishCreateInstance(Handle, class_ref, id_ctor_Lcom_amazon_clouddrive_configuration_ClientConfiguration_, __args); } finally { } }
static IntPtr n_GetUserAgent(IntPtr jnienv, IntPtr native__this) { global::Com.Amazon.Clouddrive.Configuration.ClientConfiguration __this = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Configuration.ClientConfiguration> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.NewString(__this.UserAgent)); }
static void n_SetReadTimeOutMillis_I(IntPtr jnienv, IntPtr native__this, int p0) { global::Com.Amazon.Clouddrive.Configuration.ClientConfiguration __this = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Configuration.ClientConfiguration> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.ReadTimeOutMillis = p0; }
static int n_GetReadTimeOutMillis(IntPtr jnienv, IntPtr native__this) { global::Com.Amazon.Clouddrive.Configuration.ClientConfiguration __this = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Configuration.ClientConfiguration> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(__this.ReadTimeOutMillis); }
static void n_SetMetricListener_Lcom_amazon_clouddrive_metrics_MetricListener_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Amazon.Clouddrive.Configuration.ClientConfiguration __this = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Configuration.ClientConfiguration> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Amazon.Clouddrive.Metrics.IMetricListener p0 = (global::Com.Amazon.Clouddrive.Metrics.IMetricListener)global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Metrics.IMetricListener> (native_p0, JniHandleOwnership.DoNotTransfer); __this.MetricListener = p0; }
static IntPtr n_GetMetricListener(IntPtr jnienv, IntPtr native__this) { global::Com.Amazon.Clouddrive.Configuration.ClientConfiguration __this = global::Java.Lang.Object.GetObject <global::Com.Amazon.Clouddrive.Configuration.ClientConfiguration> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); return(JNIEnv.ToLocalJniHandle(__this.MetricListener)); }