Share via


PhoneCallInfo Class

Definition

Represents a phone call, and a set of call properties that remain unchanged throughout the lifetime of the call.

public ref class PhoneCallInfo sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Calls.CallsPhoneContract, 393216)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PhoneCallInfo final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Calls.CallsPhoneContract), 393216)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PhoneCallInfo
Public NotInheritable Class PhoneCallInfo
Inheritance
Object Platform::Object IInspectable PhoneCallInfo
Attributes

Windows requirements

Device family
Windows 10, version 2104 (introduced in 10.0.20348.0)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (introduced in v6.0)
App capabilities
phoneCall

Properties

CallDirection

Gets the direction of the call; whether incoming (received by user) or outgoing (dialed by user).

DisplayName

Gets the display name of the callee.

IsHoldSupported

Gets a value that determines whether or not the phone call can be placed on hold.

LineId

Gets the unique identifier of the phone line that owns a particular phone call.

PhoneNumber

Gets the phone number of the phone call.

StartTime

Gets the start time of the call.

For an incoming call, this is the time that the call enters the **Talking** state. For an outgoing call, this is the time that the call enters the Dialing or Talking state, since that depends on underlying carrier and network settings.

Applies to