/**
   * Sets the visible data about the channel of the currently logged in user.
   *
   * @param channel The name of the channel.
   * @param game The name of the game. If the empty string or null then this parameter is ignored.
   * @param title The title of the channel. If the empty string or null then this parameter is
   *     ignored.
   * @return Whether or not the request was made
   */
  public boolean setStreamInfo(String channel, String game, String title) {
    if (!m_LoggedIn) {
      return false;
    }

    if (channel == null || channel == "") {
      channel = m_UserName;
    }

    if (game == null) {
      game = "";
    }

    if (title == null) {
      title = "";
    }

    StreamInfoForSetting info = new StreamInfoForSetting();
    info.streamTitle = title;
    info.gameName = game;

    ErrorCode err = m_Stream.setStreamInfo(m_AuthToken, channel, info);
    checkError(err);

    return ErrorCode.succeeded(err);
  }