Share via


SystemButtonEventController.SystemFunctionLockChanged イベント

定義

Fn ハードウェア システム (関数シフトとも呼ばれます) ボタン ロックの状態の変更時に発生します。

// Register
event_token SystemFunctionLockChanged(TypedEventHandler<SystemButtonEventController, SystemFunctionLockChangedEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
SystemButtonEventController::SystemFunctionLockChanged_revoker SystemFunctionLockChanged(auto_revoke_t, TypedEventHandler<SystemButtonEventController, SystemFunctionLockChangedEventArgs const&> const& handler) const;
public event TypedEventHandler<SystemButtonEventController,SystemFunctionLockChangedEventArgs> SystemFunctionLockChanged;
function onSystemFunctionLockChanged(eventArgs) { /* Your code */ }
systemButtonEventController.addEventListener("systemfunctionlockchanged", onSystemFunctionLockChanged);
systemButtonEventController.removeEventListener("systemfunctionlockchanged", onSystemFunctionLockChanged);
- or -
systemButtonEventController.onsystemfunctionlockchanged = onSystemFunctionLockChanged;
Public Custom Event SystemFunctionLockChanged As TypedEventHandler(Of SystemButtonEventController, SystemFunctionLockChangedEventArgs) 

イベントの種類

注釈

この API は、ハードウェア システム ボタンからイベントをインターセプトするための低レベルフックとして、アクセシビリティ ツールで使用することを目的としています。

SystemButtonEventController イベント登録は、システム全体に適用され、先着順です。 アプリケーションまたはサービスで SystemButtonEventController イベント Handled プロパティが true に設定されている場合、同じイベント通知のそのアプリまたはサービスの後に登録されたアプリケーションまたはサービスは通知を受け取りません。

適用対象

こちらもご覧ください