Spec-Zone.ru › Dart 1

dart:html

Метод createObjectUrl

String createObjectUrl(blob_OR_source_OR_stream)

Источник

static String createObjectUrl(blob_OR_source_OR_stream) {
  if ((blob_OR_source_OR_stream is Blob)) {
    return _blink.BlinkURL.instance
        .createObjectURL_Callback_1_(blob_OR_source_OR_stream);
  }
  if ((blob_OR_source_OR_stream is MediaSource)) {
    return _blink.BlinkURL.instance
        .createObjectURL_Callback_1_(blob_OR_source_OR_stream);
  }
  if ((blob_OR_source_OR_stream is MediaStream)) {
    return _blink.BlinkURL.instance
        .createObjectURL_Callback_1_(blob_OR_source_OR_stream);
  }
  throw new ArgumentError("Incorrect number or type of arguments");
}

© 2012 the Dart project authors
Licensed under the Creative Commons Attribution-ShareAlike License v4.0.
https://api.dartlang.org/stable/1.24.3/dart-html/Url/createObjectUrl.html

Spec-Zone.ru

Настройки Оффлайн Что нового Помощь О нас
Spec-Zone .ru
спецификации, руководства, описания, API