Example #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));
        }
Example #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);
        }
Example #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));
        }
Example #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));
        }
Example #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));
        }
Example #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));
        }
Example #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));
        }
Example #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);
        }
Example #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);
        }