getPositionXml static method

String getPositionXml()

Implementation

static String getPositionXml() {
  return '''<?xml version="1.0" encoding="utf-8" standalone="no"?>
  <s:Envelope xmlns:s="http://schemas.xmlsoap.org/soap/envelope/" s:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
      <s:Body>
          <u:GetPositionInfo xmlns:u="urn:schemas-upnp-org:service:AVTransport:1">
              <InstanceID>0</InstanceID>
              <MediaDuration />
          </u:GetPositionInfo>
      </s:Body>
  </s:Envelope>''';
}