次の方法で共有


AppCaptureRecordOperation.StateChanged イベント

定義

アプリ キャプチャ レコード操作の状態が変更されたときに発生します。

// Register
event_token StateChanged(TypedEventHandler<AppCaptureRecordOperation, AppCaptureRecordingStateChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
AppCaptureRecordOperation::StateChanged_revoker StateChanged(auto_revoke_t, TypedEventHandler<AppCaptureRecordOperation, AppCaptureRecordingStateChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<AppCaptureRecordOperation,AppCaptureRecordingStateChangedEventArgs> StateChanged;
function onStateChanged(eventArgs) { /* Your code */ }
appCaptureRecordOperation.addEventListener("statechanged", onStateChanged);
appCaptureRecordOperation.removeEventListener("statechanged", onStateChanged);
- or -
appCaptureRecordOperation.onstatechanged = onStateChanged;
Public Custom Event StateChanged As TypedEventHandler(Of AppCaptureRecordOperation, AppCaptureRecordingStateChangedEventArgs) 

イベントの種類

Windows の要件

アプリの機能
appCaptureSettings

適用対象