Object Creation
To create a storage object, first load the brightsign/storage
module using the require()
method. Then create an instance of the storage class.
Code Block | ||
---|---|---|
| ||
var storageClass = require("@brightsign/storage"); var storage = new storageClass(); |
Storage
Use this interface to call the following methods:
eject()
Code Block | ||
---|---|---|
| ||
Promise<void> eject(String mountPoint) |
Ejects the player storage
format()
Code Block | ||
---|---|---|
| ||
Promise<void> format(String mountPoint, String fileSystemType) |
Formats the player storage