次の方法で共有


AppBroadcastState.CameraCaptureStateChanged イベント

定義

カメラ キャプチャの状態が変化したときに発生します。

// Register
event_token CameraCaptureStateChanged(TypedEventHandler<AppBroadcastState, AppBroadcastCameraCaptureStateChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
AppBroadcastState::CameraCaptureStateChanged_revoker CameraCaptureStateChanged(auto_revoke_t, TypedEventHandler<AppBroadcastState, AppBroadcastCameraCaptureStateChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<AppBroadcastState,AppBroadcastCameraCaptureStateChangedEventArgs> CameraCaptureStateChanged;
function onCameraCaptureStateChanged(eventArgs) { /* Your code */ }
appBroadcastState.addEventListener("cameracapturestatechanged", onCameraCaptureStateChanged);
appBroadcastState.removeEventListener("cameracapturestatechanged", onCameraCaptureStateChanged);
- or -
appBroadcastState.oncameracapturestatechanged = onCameraCaptureStateChanged;
Public Custom Event CameraCaptureStateChanged As TypedEventHandler(Of AppBroadcastState, AppBroadcastCameraCaptureStateChangedEventArgs) 

イベントの種類

Windows の要件

アプリの機能
appBroadcast appBroadcastSettings

適用対象