State

enum State : Enum<State>

Entries

Link copied to clipboard

Data created locally that does not exist in the server yet.

Link copied to clipboard

Data modified locally that exists in the server.

Link copied to clipboard

Data that received an error from the server after the last upload.

Link copied to clipboard

The element is synced with the server. There are no local changes for this value.

Link copied to clipboard

Data that received a warning from the server after the last upload.

Link copied to clipboard

Data is being uploaded. If it is modified before receiving any server response, its state is back to TO_UPDATE. When the server response arrives, its state does not change to SYNCED, but it remains in TO_UPDATE to indicate that there are local changes.

Link copied to clipboard

This TrackedEntityInstance has been downloaded with the sole purpose of fulfilling a relationship to another TEI. This RELATIONSHIP TEI only has basic information (uid, type, etc) and the list of TrackedEntityAttributes to be able to print meaningful information about the relationship. Other data such enrollments, events or relationships is not downloaded for this TEI. Also, this TEI cannot be modified or uploaded to the server.

Link copied to clipboard

Data is sent by sms and there is no server response yet. Some servers does not have the capability to send a response, so this state means that data has been sent, but we do not know if it has been correctly imported in the server or not.

Link copied to clipboard

Data is sent by sms and there is a successful response from the server.

Types

Link copied to clipboard
object Companion

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): State

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.