Direction

A direction indicates whether a given Progress-flow created with SyncSession.progressAsFlow is reporting changes when either uploading or downloading data.

Entries

Link copied to clipboard

Used to pass to SyncSession.progressAsFlow to create a flow that reports Progress when downloading data from the server.

Link copied to clipboard

Used to pass to SyncSession.progressAsFlow to create a flow that reports Progress when uploading data from the device to the server.

Properties

Link copied to clipboard

Returns a representation of an immutable list of all enum entries, in the order they're declared.

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): Direction

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared.