Ejemplo n.º 1
0
        void Initialize()
        {
            if (_isIntialized)
            {
                return;
            }

            UserId               = "fizz_user";
            UserName             = "******";
            IsTranslationEnabled = true;
            Language             = FizzLanguageCodes.English;

            Client   = new FizzClient(APP_ID, APP_SECRET);
            Channels = new List <FizzChannel>();

            channelLoopup = new Dictionary <string, FizzChannel>();

            _isIntialized = true;
        }
Ejemplo n.º 2
0
        void Initialize()
        {
            if (_isIntialized)
            {
                return;
            }

            UserId               = "fizz_user";
            UserName             = "******";
            IsTranslationEnabled = true;
            Language             = FizzLanguageCodes.English;

            Client = new FizzClient(APP_ID, APP_SECRET);

            Channels      = new List <FizzChannelModel>();
            channelLookup = new Dictionary <string, FizzChannelModel>();

            _groupRepository = new FizzGroupRepository(Client, UI_GROUP_TAG);
            _userRepository  = new FizzUserRepository(Client);

            AddInternalListeners();

            _isIntialized = true;
        }