CallControl.KeypadPressed 事件
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
按下设备上的键盘按钮时发生。
public:
virtual event KeypadPressedEventHandler ^ KeypadPressed;
// Register
event_token KeypadPressed(KeypadPressedEventHandler const& handler) const;
// Revoke with event_token
void KeypadPressed(event_token const* cookie) const;
// Revoke with event_revoker
CallControl::KeypadPressed_revoker KeypadPressed(auto_revoke_t, KeypadPressedEventHandler const& handler) const;
public event KeypadPressedEventHandler KeypadPressed;
function onKeypadPressed(eventArgs) { /* Your code */ }
callControl.addEventListener("keypadpressed", onKeypadPressed);
callControl.removeEventListener("keypadpressed", onKeypadPressed);
- or -
callControl.onkeypadpressed = onKeypadPressed;
Public Custom Event KeypadPressed As KeypadPressedEventHandler