internal static IGetSocialChatNativeBridge GetInstance() { if (instance == null) { instance = new GetSocialChatEditorMock(); } return(instance); }
public static IGetSocialChatNativeBridge GetInstance() { if (instance == null) { instance = new GetSocialChatIOS(); } return(instance); }
private GetSocialChat() { unreadRoomCountChangedListeners = new List <IUnreadRoomCountChangedListener>(); messagesListeners = new List <IChatMessageListener>(); typingStatusListeners = new List <ITypingStatusListener>(); getSocialImpl = GetSocialFactory.InstantiateGetSocial(); getSocialChatImpl = GetSocialChatFactory.InstantiateGetSocialChat(); getSocialChatImpl.SetOnUnreadCountChangedListenerInternal(OnPublicRoomCountChange, OnPrivateRoomCountChange); getSocialChatImpl.SetMessagesListenerInternal(OnPublicRoomMessageReceived, OnPrivateRoomMessageReceived); getSocialChatImpl.SetTypingStatusListenerInternal(OnPublicRoomTypingStatusReceived, OnPrivateRoomTypingStatusReceived); }