KeypadPressedEventArgs KeypadPressedEventArgs KeypadPressedEventArgs KeypadPressedEventArgs Class

Definition

Contains information for the KeypadPressed event.

public : sealed class KeypadPressedEventArgs : IKeypadPressedEventArgs
public sealed class KeypadPressedEventArgs : IKeypadPressedEventArgs
Public NotInheritable Class KeypadPressedEventArgs Implements IKeypadPressedEventArgs
// This class does not provide a public constructor.
Attributes
Windows 10 requirements
Device family
Windows Desktop Extension SDK (introduced v10.0.10240.0)
API contract
Windows.Media.Devices.CallControlContract (introduced v1)

Remarks

This object is not instantiated directly, it is returned by the CallControl.KeypadPressed event as an argument to the KeypadPressedEventHandler delegate.

Properties

TelephonyKey TelephonyKey TelephonyKey TelephonyKey

Returns the value of the keypad button on the device that was pressed.

public : TelephonyKey TelephonyKey { get; }
public TelephonyKey TelephonyKey { get; }
Public ReadOnly Property TelephonyKey As TelephonyKey
var telephonyKey = keypadPressedEventArgs.telephonyKey;
Value
TelephonyKey TelephonyKey TelephonyKey TelephonyKey

The key. One of the values of the TelephonyKey enumeration.