OperationKind

The kind of value-bearing wallet operation tracked by OperationRegistry and surfaced by the background foreground service (#261-264).

This is a state, not a display string — the SDK never emits user-facing English. The presentation edge (the foreground-service notification) maps each kind to a host-overridable label resource, exactly like SyncPhase.

Custom is the open door for third-party dApps: any caller can run its own long-running work via MidnightSdk.runForegroundOperation with a label it owns, and get the same process-survival + notification treatment the SDK's own built-ins receive.

Entries

Link copied to clipboard

A NIGHT transfer (MidnightSdk.sendNight).

Link copied to clipboard
Link copied to clipboard

A contract circuit call (execute → prove → balance → submit).

Link copied to clipboard

A caller-defined operation — the dApp supplies its own label.

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

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.