예제 #1
0
        private static void on_participant_device_added(IntPtr cr, IntPtr eventLog)
        {
            ChatRoom thiz = fromNativePtr <ChatRoom>(cr);

            ChatRoomListener listener = thiz.CurrentCallbacks;

            listener.on_participant_device_added_public?.Invoke(thiz, fromNativePtr <EventLog>(eventLog));
        }
예제 #2
0
        private static void on_state_changed(IntPtr cr, int newState)
        {
            ChatRoom thiz = fromNativePtr <ChatRoom>(cr);

            ChatRoomListener listener = thiz.CurrentCallbacks;

            listener.on_state_changed_public?.Invoke(thiz, (ChatRoomState)newState);
        }
예제 #3
0
        private static void on_conference_joined(IntPtr cr, IntPtr eventLog)
        {
            ChatRoom thiz = fromNativePtr <ChatRoom>(cr);

            ChatRoomListener listener = thiz.CurrentCallbacks;

            listener.on_conference_joined_public?.Invoke(thiz, fromNativePtr <EventLog>(eventLog));
        }
예제 #4
0
        private static void on_participant_device_fetch_requested(IntPtr cr, IntPtr participantAddr)
        {
            ChatRoom thiz = fromNativePtr <ChatRoom>(cr);

            ChatRoomListener listener = thiz.CurrentCallbacks;

            listener.on_participant_device_fetch_requested_public?.Invoke(thiz, fromNativePtr <Address>(participantAddr));
        }
예제 #5
0
        private static void on_participants_capabilities_checked(IntPtr cr, IntPtr deviceAddr, IntPtr participantsAddr)
        {
            ChatRoom thiz = fromNativePtr <ChatRoom>(cr);

            ChatRoomListener listener = thiz.CurrentCallbacks;

            listener.on_participants_capabilities_checked_public?.Invoke(thiz, fromNativePtr <Address>(deviceAddr), MarshalBctbxList <Address>(participantsAddr));
        }
예제 #6
0
        private static void on_message_received(IntPtr cr, IntPtr msg)
        {
            ChatRoom thiz = fromNativePtr <ChatRoom>(cr);

            ChatRoomListener listener = thiz.CurrentCallbacks;

            listener.on_message_received_public?.Invoke(thiz, fromNativePtr <ChatMessage>(msg));
        }
예제 #7
0
        private static void on_chat_message_sent(IntPtr cr, IntPtr eventLog)
        {
            ChatRoom thiz = fromNativePtr <ChatRoom>(cr);

            ChatRoomListener listener = thiz.CurrentCallbacks;

            listener.on_chat_message_sent_public?.Invoke(thiz, fromNativePtr <EventLog>(eventLog));
        }
예제 #8
0
        private static void on_conference_address_generation(IntPtr cr)
        {
            ChatRoom thiz = fromNativePtr <ChatRoom>(cr);

            ChatRoomListener listener = thiz.CurrentCallbacks;

            listener.on_conference_address_generation_public?.Invoke(thiz);
        }
예제 #9
0
        private static void on_is_composing_received(IntPtr cr, IntPtr remoteAddr, char isComposing)
        {
            ChatRoom thiz = fromNativePtr <ChatRoom>(cr);

            ChatRoomListener listener = thiz.CurrentCallbacks;

            listener.on_is_composing_received_public?.Invoke(thiz, fromNativePtr <Address>(remoteAddr), isComposing == 0);
        }