SystemButtonEventController.SystemFunctionButtonPressed イベント

定義

Fn ハードウェア システム (関数シフトとも呼ばれます) ボタンが押されたときに発生します。

// Register
event_token SystemFunctionButtonPressed(TypedEventHandler<SystemButtonEventController, SystemFunctionButtonEventArgs const&> const& handler) const;

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

// Revoke with event_revoker
SystemButtonEventController::SystemFunctionButtonPressed_revoker SystemFunctionButtonPressed(auto_revoke_t, TypedEventHandler<SystemButtonEventController, SystemFunctionButtonEventArgs const&> const& handler) const;
public event TypedEventHandler<SystemButtonEventController,SystemFunctionButtonEventArgs> SystemFunctionButtonPressed;
function onSystemFunctionButtonPressed(eventArgs) { /* Your code */ }
systemButtonEventController.addEventListener("systemfunctionbuttonpressed", onSystemFunctionButtonPressed);
systemButtonEventController.removeEventListener("systemfunctionbuttonpressed", onSystemFunctionButtonPressed);
- or -
systemButtonEventController.onsystemfunctionbuttonpressed = onSystemFunctionButtonPressed;
Public Custom Event SystemFunctionButtonPressed As TypedEventHandler(Of SystemButtonEventController, SystemFunctionButtonEventArgs) 

イベントの種類

注釈

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

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

適用対象

こちらもご覧ください