CashDrawerCloseAlarm 類別
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
現金選單關閉警示。 提供參數預設值,不過使用者可以適當地更新它們。
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
- 繼承
- 屬性
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 |
事件可讓應用程式在觸發警示逾時時收到通知。 |