PrintStatus

Enum representing the main state of the printing.

PosLink specifics:

  • If the update flow connection is lost, then the state will not change, but PrintFailure would be PrintFailure.NetworkError, this is something that can be recovered automatically, but may be good to show on the UI so the user can try to fix the network issue on his side.

Entries

Link copied to clipboard

Non-final state used only on PosLink integration - it will be the first one. It means that we are communicating with the backend to create this print request.

Link copied to clipboard

Non-final state that means we are connecting to the printer to initiate the printing action. It will be the first state for All In One integration.

Link copied to clipboard

Non-final state that means the terminal is actively printing or connection to printer was done so printing is expected to start, unless there will be an error, in which case the state will move to a final one.

Link copied to clipboard

Final state for successful printing actions.

Link copied to clipboard

Final state for unsuccessful printing actions.

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
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.