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