castModeSelected_(castMode) {
    this.selectCastMode(castMode.type);
    this.fire('cast-mode-selected', {castModeType: castMode.type});
    this.showSinkList_();
    this.maybeReportUserFirstAction(
        media_router.MediaRouterUserAction.CHANGE_MODE);
  }
/**
   * Calls all the functions to set the UI to a given cast mode.
   * @param {!media_router.CastMode} castMode The cast mode to set things to.
   * @private
   */
Calls all the functions to set the UI to a given cast mode.
@param {!media_router.CastMode} castMode The cast mode to set things to.
@private
Calls all the functions to set the UI to a given cast mode . @param { !media_router . CastMode } castMode The cast mode to set things to . @private
castModeSelected_(castMode) {
    this.selectCastMode(castMode.type);
    this.fire('cast-mode-selected', {castModeType: castMode.type});
    this.showSinkList_();
    this.maybeReportUserFirstAction(
        media_router.MediaRouterUserAction.CHANGE_MODE);
  }
castModeSelected_ ( castMode ) { this . selectCastMode ( castMode . type ) ; this . fire ( 'cast-mode-selected' , { castModeType : castMode . type } ) ; this . showSinkList_ ( ) ; this . maybeReportUserFirstAction ( media_router . MediaRouterUserAction . CHANGE_MODE ) ; }
Calls all the functions to set the UI to a given cast mode.
Calls all the functions to set the UI to a given cast mode .