AppBroadcastState.CameraCaptureStateChanged Ereignis

Definition

Tritt auf, wenn sich der Kameraaufnahmezustand ändert.

// 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) 

Ereignistyp

Windows-Anforderungen

App-Funktionen
appBroadcast appBroadcastSettings

Gilt für: