private void SendPlayState() { var stateMessage = new SocketMessage(Constants.PlayerState, _apiAdapter.GetState()); _hub.Publish(new PluginResponseAvailableEvent(stateMessage)); }