Javascript File hasRandomAccess

From FreeSWITCH Wiki
Jump to: navigation, search

Contents

Description

A boolean whether we have random access to this file or not (ie will (FreeSWITCH JavaScript File seek|seek) work)

Synopsis

hasRandomAccess

Example

var fd = new File("/tmp/blah");
fd.open("read");
console_log("Do we have random access? " + fd.hasRandomAccess+"\n");

See Also