SystemButtonEventController.SystemFunctionLockChanged Kejadian

Definisi

Terjadi pada perubahan pada status kunci tombol sistem perangkat keras Fn (juga dikenal sebagai Pergeseran Fungsi).

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

Jenis Acara

Keterangan

API ini ditujukan untuk digunakan oleh alat Aksesibilitas sebagai kait tingkat rendah untuk mencegat peristiwa dari tombol sistem perangkat keras.

Pendaftaran peristiwa SystemButtonEventController menerapkan lebar sistem dan dilayani pertama kali. Jika aplikasi atau layanan menetapkan properti Kejadian SystemButtonEventController yang Ditangani ke true, aplikasi atau layanan yang terdaftar setelah aplikasi atau layanan tersebut untuk pemberitahuan peristiwa yang sama tidak akan menerima pemberitahuan.

Berlaku untuk

Lihat juga