rejectWithSinkNotFoundError_(sinkId, sourceUrn, searchCriteria) {
    this.mediaRouterService_.onSearchSinkIdReceived(sinkId, '');
    return Promise.reject(new mr.RouteRequestError(
        mr.RouteRequestResultCode.UNKNOWN_ERROR,
        'No sink found for search input: ' + searchCriteria.input +
            ' and source: ' + sourceUrn));
  }
/**
   * Get the rejection promise when sink is not found.
   * @param {string} sinkId Sink ID of the pseudo sink that generated the
   *   request.
   * @param {string} sourceUrn Source to be used with the sink.
   * @param {!mr.SinkSearchCriteria} searchCriteria Sink search criteria for the
   *   MRP's which includes the user's current domain.
   * @return {!Promise}
   * @private
   */
Get the rejection promise when sink is not found.
@param {string} sinkId Sink ID of the pseudo sink that generated the
request.
@param {string} sourceUrn Source to be used with the sink.
@param {!mr.SinkSearchCriteria} searchCriteria Sink search criteria for the
MRP's which includes the user's current domain.
@return {!Promise}
@private
Get the rejection promise when sink is not found . @param { string } sinkId Sink ID of the pseudo sink that generated the request . @param { string } sourceUrn Source to be used with the sink . @param { !mr . SinkSearchCriteria } searchCriteria Sink search criteria for the MRP ' s which includes the user ' s current domain . @return { !Promise } @private
rejectWithSinkNotFoundError_(sinkId, sourceUrn, searchCriteria) {
    this.mediaRouterService_.onSearchSinkIdReceived(sinkId, '');
    return Promise.reject(new mr.RouteRequestError(
        mr.RouteRequestResultCode.UNKNOWN_ERROR,
        'No sink found for search input: ' + searchCriteria.input +
            ' and source: ' + sourceUrn));
  }
rejectWithSinkNotFoundError_ ( sinkId , sourceUrn , searchCriteria ) { this . mediaRouterService_ . onSearchSinkIdReceived ( sinkId , '' ) ; return Promise . reject ( new mr . RouteRequestError ( mr . RouteRequestResultCode . UNKNOWN_ERROR , 'No sink found for search input: ' + searchCriteria . input + ' and source: ' + sourceUrn ) ) ; }
Get the rejection promise when sink is not found.
Get the rejection promise when sink is not found .