Kind

public enum Kind

Entries

Link copied to clipboard

200 OK — fetch succeeded, content saved to inbox.

Link copied to clipboard

304 Not Modified — backend confirmed our If-Modified-Since cache. Healthy.

Link copied to clipboard

404 — backend hasn't produced this file yet. Common on first boot before mix completes.

Link copied to clipboard

Non-2xx/3xx/4xx response — backend is reachable but returning the wrong code.

Link copied to clipboard

IOException during the request — backend unreachable at network layer.

Link copied to clipboard

Other exception (URI parse, etc.).

Functions

Link copied to clipboard
public static NetworkSync.FetchOutcome.Kind valueOf(String name)

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
public static Array<NetworkSync.FetchOutcome.Kind> values()

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.