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