public virtual unsafe void AddObserver(global::Com.Baidu.Platform.Comapi.Util.ISysUpdateObserver p0) { if (id_addObserver_Lcom_baidu_platform_comapi_util_SysUpdateObserver_ == IntPtr.Zero) { id_addObserver_Lcom_baidu_platform_comapi_util_SysUpdateObserver_ = JNIEnv.GetMethodID(class_ref, "addObserver", "(Lcom/baidu/platform/comapi/util/SysUpdateObserver;)V"); } try { JValue *__args = stackalloc JValue [1]; __args [0] = new JValue(p0); if (((object)this).GetType() == ThresholdType) { JNIEnv.CallVoidMethod(((global::Java.Lang.Object) this).Handle, id_addObserver_Lcom_baidu_platform_comapi_util_SysUpdateObserver_, __args); } else { JNIEnv.CallNonvirtualVoidMethod(((global::Java.Lang.Object) this).Handle, ThresholdClass, JNIEnv.GetMethodID(ThresholdClass, "addObserver", "(Lcom/baidu/platform/comapi/util/SysUpdateObserver;)V"), __args); } } finally { } }
static void n_Init(IntPtr jnienv, IntPtr native__this) { global::Com.Baidu.Platform.Comapi.Util.ISysUpdateObserver __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Platform.Comapi.Util.ISysUpdateObserver> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); __this.Init(); }
static void n_UpdateNetworkProxy_Landroid_content_Context_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Baidu.Platform.Comapi.Util.ISysUpdateObserver __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Platform.Comapi.Util.ISysUpdateObserver> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Android.Content.Context p0 = global::Java.Lang.Object.GetObject <global::Android.Content.Context> (native_p0, JniHandleOwnership.DoNotTransfer); __this.UpdateNetworkProxy(p0); }
static void n_AddObserver_Lcom_baidu_platform_comapi_util_SysUpdateObserver_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0) { global::Com.Baidu.Platform.Comapi.Util.SysUpdateObservable __this = global::Java.Lang.Object.GetObject <global::Com.Baidu.Platform.Comapi.Util.SysUpdateObservable> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Baidu.Platform.Comapi.Util.ISysUpdateObserver p0 = (global::Com.Baidu.Platform.Comapi.Util.ISysUpdateObserver)global::Java.Lang.Object.GetObject <global::Com.Baidu.Platform.Comapi.Util.ISysUpdateObserver> (native_p0, JniHandleOwnership.DoNotTransfer); __this.AddObserver(p0); }