public static extern void EncodeAuthRspCallbackNative( IntPtr authPtr, IntPtr authReq, uint reqId, [MarshalAs(UnmanagedType.U1)] bool isGranted, IntPtr self, EncodeAuthRspCb callback);
public void EncodeAuthRsp(IntPtr authPtr, IntPtr authReq, uint reqId, bool isGranted, IntPtr self, EncodeAuthRspCb callback) { EncodeAuthRspCallbackNative(authPtr, authReq, reqId, isGranted, self, callback); }
public void EncodeAuthRsp(IntPtr authPtr, IntPtr authReq, uint reqId, bool isGranted, EncodeAuthRspCb callback) { EncodeAuthRspCallbackNative(authPtr, authReq, reqId, isGranted, callback.ToHandlePtr(), OnEncodeAuthRspCb); }