AppBroadcastState.CameraCaptureStateChanged Evento
Definição
Importante
Algumas informações se referem a produtos de pré-lançamento que podem ser substancialmente modificados antes do lançamento. A Microsoft não oferece garantias, expressas ou implícitas, das informações aqui fornecidas.
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
|