Share via


HumanPresenceSettings.SettingsChanged Event

Definition

Occurs when a user changes any human presence setting.

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

Event Type

Applies to