listenForRouteMessages(routeId) {
    if (this.listeningRouteIds_.has(routeId)) {
      return;
    }

    this.listeningRouteIds_.add(routeId);
    if (this.hasMessageFrom_(routeId)) {
      this.scheduleSend();
    }
  }
/**
   * Starts listening for route messages associated with |routeId|, and schedule
   * a task to send any available messages to the Media Router.
   *
   * @param {string} routeId
   */
Starts listening for route messages associated with |routeId|, and schedule
a task to send any available messages to the Media Router.

@param {string} routeId
Starts listening for route messages associated with |routeId| and schedule a task to send any available messages to the Media Router . @param { string } routeId
listenForRouteMessages(routeId) {
    if (this.listeningRouteIds_.has(routeId)) {
      return;
    }
    this.listeningRouteIds_.add(routeId);
    if (this.hasMessageFrom_(routeId)) {
      this.scheduleSend();
    }
  }
listenForRouteMessages ( routeId ) { if ( this . listeningRouteIds_ . has ( routeId ) ) { return ; } this . listeningRouteIds_ . add ( routeId ) ; if ( this . hasMessageFrom_ ( routeId ) ) { this . scheduleSend ( ) ; } }
Starts listening for route messages associated with |routeId|, and schedule
 a task to send any available messages to the Media Router.
Starts listening for route messages associated with |routeId| and schedule a task to send any available messages to the Media Router .