Bagikan melalui


HumanPresenceSettings.SettingsChanged Kejadian

Definisi

Terjadi ketika pengguna mengubah pengaturan kehadiran manusia apa pun.

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

Jenis Acara

Berlaku untuk