function parseType(typeStr) {
    if (typeStr == DestinationCloudType.ANDROID ||
        typeStr == DestinationCloudType.IOS) {
      return print_preview.DestinationType.MOBILE;
    }
    if (typeStr == DestinationCloudType.DOCS) {
      return print_preview.DestinationType.GOOGLE_PROMOTED;
    }
    return print_preview.DestinationType.GOOGLE;
  }
/**
   * Parses the destination type.
   * @param {string} typeStr Destination type given by the Google Cloud Print
   *     server.
   * @return {!print_preview.DestinationType} Destination type.
   * @private
   */
Parses the destination type.
@param {string} typeStr Destination type given by the Google Cloud Print
server.
Parses the destination type . @param { string } typeStr Destination type given by the Google Cloud Print server .
function parseType(typeStr) {
    if (typeStr == DestinationCloudType.ANDROID ||
        typeStr == DestinationCloudType.IOS) {
      return print_preview.DestinationType.MOBILE;
    }
    if (typeStr == DestinationCloudType.DOCS) {
      return print_preview.DestinationType.GOOGLE_PROMOTED;
    }
    return print_preview.DestinationType.GOOGLE;
  }
function parseType ( typeStr ) { if ( typeStr == DestinationCloudType . ANDROID || typeStr == DestinationCloudType . IOS ) { return print_preview . DestinationType . MOBILE ; } if ( typeStr == DestinationCloudType . DOCS ) { return print_preview . DestinationType . GOOGLE_PROMOTED ; } return print_preview . DestinationType . GOOGLE ; }
Parses the destination type.
Parses the destination type .