setUrl method

Future<String> setUrl(
  1. String url, {
  2. String title = "",
  3. PlayType type = PlayType.Video,
})

Implementation

Future<String> setUrl(
  String url, {
  String title = "",
  PlayType type = PlayType.Video,
}) {
  final data = XmlText.setPlayURLXml(url, title: title, type: type);
  return request('SetAVTransportURI', Utf8Encoder().convert(data));
}