Share via


CashDrawerStatusKind Enum

Definition

Defines the constants that indicate the cash drawer power status.

public enum class CashDrawerStatusKind
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
enum class CashDrawerStatusKind
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
public enum CashDrawerStatusKind
var value = Windows.Devices.PointOfService.CashDrawerStatusKind.online
Public Enum CashDrawerStatusKind
Inheritance
CashDrawerStatusKind
Attributes

Windows requirements

Device family
Windows 10 (introduced in 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox)
API contract
Windows.Foundation.UniversalApiContract (introduced in v1.0)

Fields

Name Value Description
Online 0

The device is powered on and ready to use.

Off 1

The device is powered off or detached from the terminal.

Offline 2

The device is powered on but is not available to respond to requests.

OffOrOffline 3

The device is either off or offline, but the current state can not be distinguished.

Extended 4

The device status is not any of the above states. This is available so a POS driver can provide custom notifications to the app.

Applies to