Hello,
I'm trying to download a file from a remote server for an application written using the TVML kit.
function downloadFile(path)
{
var xmlhttp = new XMLHttpRequest();
xmlhttp.open("GET", path, false);
xmlhttp.responseType = "blob";
xmlhttp.send();
return xmlhttp.response;
}
The xmlhttp.response is IKJSBlob kind of object. I've searched Apple's TVML documentation and there is no information about it.
Does anyone familiar with a method to do it properly?
Thanks