PosPrinter.StatusUpdated 이벤트

정의

서비스 지점 프린터의 전원 또는 가용성 상태 변경되면 발생합니다.

// Register
event_token StatusUpdated(TypedEventHandler<PosPrinter, PosPrinterStatusUpdatedEventArgs const&> const& handler) const;

// Revoke with event_token
void StatusUpdated(event_token const* cookie) const;

// Revoke with event_revoker
PosPrinter::StatusUpdated_revoker StatusUpdated(auto_revoke_t, TypedEventHandler<PosPrinter, PosPrinterStatusUpdatedEventArgs const&> const& handler) const;
public event TypedEventHandler<PosPrinter,PosPrinterStatusUpdatedEventArgs> StatusUpdated;
function onStatusUpdated(eventArgs) { /* Your code */ }
posPrinter.addEventListener("statusupdated", onStatusUpdated);
posPrinter.removeEventListener("statusupdated", onStatusUpdated);
- or -
posPrinter.onstatusupdated = onStatusUpdated;
Public Custom Event StatusUpdated As TypedEventHandler(Of PosPrinter, PosPrinterStatusUpdatedEventArgs) 

이벤트 유형

적용 대상

추가 정보