Share via


CashDrawerCloseAlarm Class

Definition

The cash drawer close alarm. Parameter defaults are provided, however the user can update them as appropriate.

public ref class CashDrawerCloseAlarm sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
class CashDrawerCloseAlarm final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class CashDrawerCloseAlarm final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Threading(Windows.Foundation.Metadata.ThreadingModel.Both)]
public sealed class CashDrawerCloseAlarm
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class CashDrawerCloseAlarm
Public NotInheritable Class CashDrawerCloseAlarm
Inheritance
Object Platform::Object IInspectable CashDrawerCloseAlarm
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)

Properties

AlarmTimeout

Gets or sets the alarm timeout for the cash drawer close alarm.

BeepDelay

Delay between cash drawer closed alarm beeps.

BeepDuration

Duration of the cash drawer close alarm beep.

BeepFrequency

Frequency of beep tone.

Methods

StartAsync()

Starts the alarm countdown, returning an awaitable object that completes when the cash drawer is closed.

Events

AlarmTimeoutExpired

Event allowing the app to be notified if the alarm timeout has been triggered.

Applies to