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

Version 1 Next »

The storage object provides functions related to the system software.

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 storage methods.

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

Instructs the player to eject storage

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

Instruct the player to format the storage

  • No labels