ChatterBox.Server.RegisteredClient.RegisterClientForPushNotifications C# (CSharp) Method

RegisterClientForPushNotifications() public method

public RegisterClientForPushNotifications ( string channelURI ) : bool
channelURI string
return bool
        public bool RegisterClientForPushNotifications(string channelURI)
        {
            bool ret = false;
            if (!String.IsNullOrEmpty(channelURI))
            {
                _pushNotificationSender = new PushNotificationSender();
                _pushNotificationSender.OnChannelURIExpired += OnUserChannelURIExpired;
                _pushNotificationSender.ChannelURI = channelURI;
                ret = true;
            }

            return ret;
        }
    }