Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 4 Next »

The storage object provides functions related to the player storage. This object is available as of BOS 9.0.168.

system IDL

[
    constructor()
] interface Storage {
    Promise<void> eject(String mountPoint);
    Promise<void> format(String mountPoint, String fileSystemType);
};

ON THIS PAGE

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.

var storageClass = require("@brightsign/storage");
var storage = new storageClass();

Storage

Use this interface to call the following methods:

eject()
Promise<void> eject(String mountPoint)

Ejects the player storage

format()
Promise<void> format(String mountPoint, String fileSystemType)

Formats the player storage

  • No labels