Compartilhar via


AppBroadcastState.CameraCaptureStateChanged Evento

Definição

Ocorre quando o estado de captura da câmera é alterado.

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

Tipo de evento

Requisitos do Windows

Funcionalidades do aplicativo
appBroadcast appBroadcastSettings

Aplica-se a