duncan3dc\Sonos\Tracks\TextToSpeech::getMetaData PHP Method

getMetaData() public method

Get the metadata xml for this message.
public getMetaData ( ) : string
return string
    public function getMetaData()
    {
        return Helper::createMetaDataXml("-1", "-1", ["res" => $this->getUri(), "upnp:albumArtURI" => "", "dc:title" => $this->text, "upnp:class" => "object.item.audioItem.musicTrack", "dc:creator" => "Google", "upnp:album" => "Text To Speech"]);
    }