Condividi tramite


SystemButtonEventController.SystemFunctionButtonPressed Evento

Definizione

Si verifica quando viene premuto un pulsante Fn hardware (noto anche come Maiusc funzione).

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

Tipo evento

Commenti

Questa API è destinata all'uso da parte degli strumenti di accessibilità come hook di basso livello per intercettare gli eventi dai pulsanti del sistema hardware.

La registrazione degli eventi SystemButtonEventController si applica a livello di sistema ed è first-come, first-served. Se un'applicazione o un servizio imposta una proprietà Handled dell'evento SystemButtonEventController su true, le applicazioni o i servizi registrati dopo tale app o servizio per la stessa notifica degli eventi non riceveranno la notifica.

Si applica a

Vedi anche