SystemButtonEventController.SystemFunctionButtonReleased Событие

Определение

Происходит при освобождении аппаратной системы Fn (также известной как кнопка Function Shift), которая сейчас нажата.

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

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

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

Тип события

Комментарии

Этот API предназначен для использования средствами специальных возможностей в качестве обработчика низкого уровня для перехвата событий с аппаратных системных кнопок.

Регистрация событий SystemButtonEventController применяется в масштабах всей системы и выполняется в первую очередь. Если приложение или служба присваивает свойству События SystemButtonEventController Handled значение true, приложения или службы, зарегистрированные после этого приложения или службы для того же уведомления о событии, не будут получать уведомление.

Применяется к

См. также раздел