次の方法で共有


BarcodeScannerProviderConnection.StartSoftwareTriggerRequested イベント

定義

クライアント アプリがバーコード スキャナーにスキャンを開始するように通知しようとしたときに発生します。

// Register
event_token StartSoftwareTriggerRequested(TypedEventHandler<BarcodeScannerProviderConnection, BarcodeScannerStartSoftwareTriggerRequestEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
BarcodeScannerProviderConnection::StartSoftwareTriggerRequested_revoker StartSoftwareTriggerRequested(auto_revoke_t, TypedEventHandler<BarcodeScannerProviderConnection, BarcodeScannerStartSoftwareTriggerRequestEventArgs const&> const& handler) const;
public event TypedEventHandler<BarcodeScannerProviderConnection,BarcodeScannerStartSoftwareTriggerRequestEventArgs> StartSoftwareTriggerRequested;
function onStartSoftwareTriggerRequested(eventArgs) { /* Your code */ }
barcodeScannerProviderConnection.addEventListener("startsoftwaretriggerrequested", onStartSoftwareTriggerRequested);
barcodeScannerProviderConnection.removeEventListener("startsoftwaretriggerrequested", onStartSoftwareTriggerRequested);
- or -
barcodeScannerProviderConnection.onstartsoftwaretriggerrequested = onStartSoftwareTriggerRequested;
Public Custom Event StartSoftwareTriggerRequested As TypedEventHandler(Of BarcodeScannerProviderConnection, BarcodeScannerStartSoftwareTriggerRequestEventArgs) 

イベントの種類

適用対象