CallControl.KeypadPressed Event
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Occurs when a keypad button on the device has been pressed.
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