static bool n_RegisterAllResource_Lcom_aliyun_alink_linksdk_alcs_coap_resources_AlcsCoAPResource_(IntPtr jnienv, IntPtr native__this, IntPtr native_resource) { global::Com.Aliyun.Alink.Linksdk.Alcs.Api.Server.AlcsServer __this = global::Java.Lang.Object.GetObject <global::Com.Aliyun.Alink.Linksdk.Alcs.Api.Server.AlcsServer> (jnienv, native__this, JniHandleOwnership.DoNotTransfer); global::Com.Aliyun.Alink.Linksdk.Alcs.Coap.Resources.AlcsCoAPResource resource = global::Java.Lang.Object.GetObject <global::Com.Aliyun.Alink.Linksdk.Alcs.Coap.Resources.AlcsCoAPResource> (native_resource, JniHandleOwnership.DoNotTransfer); bool __ret = __this.RegisterAllResource(resource); return(__ret); }
public virtual unsafe bool RegisterAllResource(global::Com.Aliyun.Alink.Linksdk.Alcs.Coap.Resources.AlcsCoAPResource resource) { const string __id = "registerAllResource.(Lcom/aliyun/alink/linksdk/alcs/coap/resources/AlcsCoAPResource;)Z"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [1]; __args [0] = new JniArgumentValue((resource == null) ? IntPtr.Zero : ((global::Java.Lang.Object)resource).Handle); var __rm = _members.InstanceMethods.InvokeVirtualBooleanMethod(__id, this, __args); return(__rm); } finally { } }