CashDrawerEventSource CashDrawerEventSource CashDrawerEventSource CashDrawerEventSource CashDrawerEventSource Class

Definition

Provides event sources that allow a developer to detect when the cash drawer is opened or closed.

public : sealed class CashDrawerEventSource
struct winrt::Windows::Devices::PointOfService::CashDrawerEventSource
public sealed class CashDrawerEventSource
Public NotInheritable Class CashDrawerEventSource
// This class does not provide a public constructor.
Attributes

Windows 10 requirements

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

Remarks

CashDrawerEventSource is created from CashDrawer.DrawerEventSource.

Events

DrawerClosed DrawerClosed DrawerClosed DrawerClosed DrawerClosed

Occurs when the cash drawer is closed.

DrawerOpened DrawerOpened DrawerOpened DrawerOpened DrawerOpened

Occurs when the cash drawer is opened.