protected static unsafe int SendGroupRequestNative(global::Com.Aliyun.Alink.Linksdk.Alcs.Data.Ica.ICAGroupReqMessage p0, global::Com.Aliyun.Alink.Linksdk.Alcs.Data.Ica.ICAAuthParams p1, global::Com.Aliyun.Alink.Linksdk.Alcs.Api.ICAMsgListener p2) { const string __id = "sendGroupRequestNative.(Lcom/aliyun/alink/linksdk/alcs/data/ica/ICAGroupReqMessage;Lcom/aliyun/alink/linksdk/alcs/data/ica/ICAAuthParams;Lcom/aliyun/alink/linksdk/alcs/api/ICAMsgListener;)I"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [3]; __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); __args [2] = new JniArgumentValue((p2 == null) ? IntPtr.Zero : ((global::Java.Lang.Object)p2).Handle); var __rm = _members.StaticMethods.InvokeInt32Method(__id, __args); return(__rm); } finally { } }
public static unsafe bool SendGroupRequest(global::Com.Aliyun.Alink.Linksdk.Alcs.Data.Ica.ICAGroupReqMessage groupReqMessage, global::Com.Aliyun.Alink.Linksdk.Alcs.Data.Ica.ICAAuthParams authInfo, global::Com.Aliyun.Alink.Linksdk.Alcs.Api.ICAMsgListener @callback) { const string __id = "sendGroupRequest.(Lcom/aliyun/alink/linksdk/alcs/data/ica/ICAGroupReqMessage;Lcom/aliyun/alink/linksdk/alcs/data/ica/ICAAuthParams;Lcom/aliyun/alink/linksdk/alcs/api/ICAMsgListener;)Z"; try { JniArgumentValue *__args = stackalloc JniArgumentValue [3]; __args [0] = new JniArgumentValue((groupReqMessage == null) ? IntPtr.Zero : ((global::Java.Lang.Object)groupReqMessage).Handle); __args [1] = new JniArgumentValue((authInfo == null) ? IntPtr.Zero : ((global::Java.Lang.Object)authInfo).Handle); __args [2] = new JniArgumentValue((@callback == null) ? IntPtr.Zero : ((global::Java.Lang.Object)@callback).Handle); var __rm = _members.StaticMethods.InvokeBooleanMethod(__id, __args); return(__rm); } finally { } }