Partilhar via


HumanPresenceSettings.SettingsChanged Evento

Definição

Ocorre quando um usuário altera qualquer configuração de presença humana.

// Register
static event_token SettingsChanged(EventHandler<IInspectable> const& handler) const;

// Revoke with event_token
static void SettingsChanged(event_token const* cookie) const;

// Revoke with event_revoker
static HumanPresenceSettings::SettingsChanged_revoker SettingsChanged(auto_revoke_t, EventHandler<IInspectable> const& handler) const;
public static event System.EventHandler<object> SettingsChanged;
function onSettingsChanged(eventArgs) { /* Your code */ }
Windows.Devices.Sensors.HumanPresenceSettings.addEventListener("settingschanged", onSettingsChanged);
Windows.Devices.Sensors.HumanPresenceSettings.removeEventListener("settingschanged", onSettingsChanged);
- or -
Windows.Devices.Sensors.HumanPresenceSettings.onsettingschanged = onSettingsChanged;
Public Shared Custom Event SettingsChanged As EventHandler(Of Object) 

Tipo de evento

Aplica-se a