/// <summary>
        /// Send Message from Client to Host (such as ink data)
        /// </summary>
        public Task <ValueSet> SendMessageFromClientAsync(ValueSet message, SlideshowMessageTypeEnum queryType)
        {
            if (_remoteSystem == null || message == null)
            {
                return(null);
            }

            message.Add("type", queryType.ToString());
            message.Add("query", ConnectedServiceQuery.MessageFromClient.ToString());
            return(_remoteSystem.SendMessage(message));
        }
        /// <summary>
        /// Send Message from Host to Client (such as slide index update)
        /// </summary>
        public async Task <ValueSet> SendMessageFromHostAsync(ValueSet message, SlideshowMessageTypeEnum queryType)
        {
            if (_appServiceConnection == null)
            {
                return(null);
            }

            message.Add("type", queryType.ToString());
            message.Add("query", ConnectedServiceQuery.MessageFromHost.ToString());
            var response = await _appServiceConnection.SendMessageAsync(message).AsTask().ConfigureAwait(false);

            if (response.Status == AppServiceResponseStatus.Success)
            {
                return(response.Message);
            }
            else
            {
                return(null);
            }
        }