CashDrawerCloseAlarm 类

定义

收银机关闭警报。 提供了参数默认值,但用户可以根据需要更新它们。

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
继承
Object Platform::Object IInspectable CashDrawerCloseAlarm
属性

Windows 要求

设备系列
Windows 10 (在 10.0.10240.0 - for Xbox, see UWP features that aren't yet supported on Xbox 中引入)
API contract
Windows.Foundation.UniversalApiContract (在 v1.0 中引入)

属性

AlarmTimeout

获取或设置收银机关闭警报的警报超时。

BeepDelay

收银机关闭警报哔声之间延迟。

BeepDuration

收银机关闭警报声的持续时间。

BeepFrequency

蜂鸣声的频率。

方法

StartAsync()

启动警报倒计时,返回在收银机关闭时完成的可等待对象。

事件

AlarmTimeoutExpired

如果触发了警报超时,则允许应用收到通知的事件。

适用于