Interface

ICryptoStorageProvider

ICryptoStorageProvider

A storage provider capable of only providing crypto-related storage.

View Source storage/ICryptoStorageProvider.ts, line 5

Members

Promise.<string>

# getDeviceId

Gets the client's device ID, if known.

View Source storage/ICryptoStorageProvider.ts, line 17

Promise.<ICryptoRoomInformation>

# getRoom

Gets a room's configuration. If the room is unknown, a falsy value is returned.

View Source storage/ICryptoStorageProvider.ts, line 31

Promise.<void>

# setDeviceId

Sets the client's device ID.

View Source storage/ICryptoStorageProvider.ts, line 10

Promise.<void>

# storeRoom

Stores a room's configuration.

View Source storage/ICryptoStorageProvider.ts, line 23