CashDrawerCloseAlarm.AlarmTimeoutExpired Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Event allowing the app to be notified if the alarm timeout has been triggered.
// Register
event_token AlarmTimeoutExpired(TypedEventHandler<CashDrawerCloseAlarm, IInspectable const&> const& handler) const;
// Revoke with event_token
void AlarmTimeoutExpired(event_token const* cookie) const;
// Revoke with event_revoker
CashDrawerCloseAlarm::AlarmTimeoutExpired_revoker AlarmTimeoutExpired(auto_revoke_t, TypedEventHandler<CashDrawerCloseAlarm, IInspectable const&> const& handler) const;
public event TypedEventHandler<CashDrawerCloseAlarm,object> AlarmTimeoutExpired;
function onAlarmTimeoutExpired(eventArgs) { /* Your code */ }
cashDrawerCloseAlarm.addEventListener("alarmtimeoutexpired", onAlarmTimeoutExpired);
cashDrawerCloseAlarm.removeEventListener("alarmtimeoutexpired", onAlarmTimeoutExpired);
- or -
cashDrawerCloseAlarm.onalarmtimeoutexpired = onAlarmTimeoutExpired;
Public Custom Event AlarmTimeoutExpired As TypedEventHandler(Of CashDrawerCloseAlarm, Object)