Package-level declarations

Types

Link copied to clipboard
sealed class AccessChange

How to change access to a repository.

Link copied to clipboard

Access mode of a repository.

Link copied to clipboard
interface Callback : Callback
Link copied to clipboard

A read-only snapshot of a directory stored in a Ouisync repository

Link copied to clipboard
data class DirectoryEntry(val name: String, val entryType: EntryType)

A directory entry

Link copied to clipboard

Disable access

Link copied to clipboard

Enable read or write access, optionally with local secret

Link copied to clipboard

Type of filesystem entry.

Link copied to clipboard
class Error(val code: ErrorCode, message: String) : Exception
Link copied to clipboard
Link copied to clipboard

Receiver for events of type E

Link copied to clipboard
class File

A File stored in a Ouisync repository.

Link copied to clipboard

Password provided by the user to set local repository access.

Link copied to clipboard
interface LocalSecret

Type of secret to unlock a repository.

Link copied to clipboard

265-bit (32 bytes) secret key to set local repository access.

Link copied to clipboard

Use to directly (without doing password hashing) set the LocalSecretKey and PasswordSalt for read or write access.

Link copied to clipboard
Link copied to clipboard

Network notification event.

Link copied to clipboard
class PasswordSalt(val bytes: ByteArray)
Link copied to clipboard
data class PeerInfo(val addr: String, val source: PeerSource, val state: PeerStateKind, val runtimeId: String?)

Information about a peer.

Link copied to clipboard

How was the peer discovered.

Link copied to clipboard

State of the peer connection.

Link copied to clipboard
data class Progress(val value: Long, val total: Long)
Link copied to clipboard

A Ouisync repository.

Link copied to clipboard
class Session

The entry point to the ouisync library.

Link copied to clipboard

What type of session to create.

Link copied to clipboard
interface SetLocalSecret

Used to set or change the read or write local secret of a repository.

Link copied to clipboard

A share token for a Ouisync repository.