示例#1
0
 static void n_OnDisConnect_Lcom_aliyun_alink_linksdk_alcs_data_ica_ICADeviceInfo_(IntPtr jnienv, IntPtr native__this, IntPtr native_p0)
 {
     global::Com.Aliyun.Alink.Linksdk.Alcs.Api.ICADisconnectListener __this = global::Java.Lang.Object.GetObject <global::Com.Aliyun.Alink.Linksdk.Alcs.Api.ICADisconnectListener> (jnienv, native__this, JniHandleOwnership.DoNotTransfer);
     global::Com.Aliyun.Alink.Linksdk.Alcs.Data.Ica.ICADeviceInfo    p0     = global::Java.Lang.Object.GetObject <global::Com.Aliyun.Alink.Linksdk.Alcs.Data.Ica.ICADeviceInfo> (native_p0, JniHandleOwnership.DoNotTransfer);
     __this.OnDisConnect(p0);
 }
        protected static unsafe bool SetDeviceDisconnectListenerNative(global::Com.Aliyun.Alink.Linksdk.Alcs.Data.Ica.ICADeviceInfo p0, global::Com.Aliyun.Alink.Linksdk.Alcs.Api.ICADisconnectListener p1)
        {
            const string __id = "setDeviceDisconnectListenerNative.(Lcom/aliyun/alink/linksdk/alcs/data/ica/ICADeviceInfo;Lcom/aliyun/alink/linksdk/alcs/api/ICADisconnectListener;)Z";

            try {
                JniArgumentValue *__args = stackalloc JniArgumentValue [2];
                __args [0] = new JniArgumentValue((p0 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p0).Handle);
                __args [1] = new JniArgumentValue((p1 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p1).Handle);
                var __rm = _members.StaticMethods.InvokeBooleanMethod(__id, __args);
                return(__rm);
            } finally {
            }
        }