다음을 통해 공유


BrightnessOverride.BrightnessLevelChanged 이벤트

정의

화면 밝기 수준이 변경되면 발생합니다.

// Register
event_token BrightnessLevelChanged(TypedEventHandler<BrightnessOverride, IInspectable const&> const& handler) const;

// Revoke with event_token
void BrightnessLevelChanged(event_token const* cookie) const;

// Revoke with event_revoker
BrightnessOverride::BrightnessLevelChanged_revoker BrightnessLevelChanged(auto_revoke_t, TypedEventHandler<BrightnessOverride, IInspectable const&> const& handler) const;
public event TypedEventHandler<BrightnessOverride,object> BrightnessLevelChanged;
function onBrightnessLevelChanged(eventArgs) { /* Your code */ }
brightnessOverride.addEventListener("brightnesslevelchanged", onBrightnessLevelChanged);
brightnessOverride.removeEventListener("brightnesslevelchanged", onBrightnessLevelChanged);
- or -
brightnessOverride.onbrightnesslevelchanged = onBrightnessLevelChanged;
Public Custom Event BrightnessLevelChanged As TypedEventHandler(Of BrightnessOverride, Object) 

이벤트 유형

설명

이 이벤트는 앱이 재정의 세션을 시작하도록 요청했는지 여부에 관계없이 화면 밝기가 변경될 때마다 발생합니다.

적용 대상