Ejemplo n.º 1
0
        /// <summary>
        /// Sets the action to be called when new chat message or notification arrives. First param is new notifications number, second - unread chat messages number.
        /// </summary>
        public void SetOnUnreadNotificationsCountChangeListener(Action <int> onUnreadNotificationsCountChange)
        {
            Check.Argument.IsNotNull(onUnreadNotificationsCountChange, "onUnreadNotificationsCountChange", "Listener cannot be null");

            getSocialImpl.SetOnUnreadNotificationsCountChangeListener(onUnreadNotificationsCountChange);
        }