다음을 통해 공유


HumanPresenceSettings.SettingsChanged 이벤트

정의

사용자가 사용자의 현재 상태 설정을 변경할 때 발생합니다.

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

이벤트 유형

적용 대상