Share via


CashDrawerCloseAlarm.AlarmTimeoutExpired Event

Definition

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) 

Event Type

Applies to