Share via


PhoneCallDetails Class

Definition

Provides read-only access to details about a phone call.

public ref class PhoneCallDetails sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
class PhoneCallDetails final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
public sealed class PhoneCallDetails
Public NotInheritable Class PhoneCallDetails
Inheritance
Object Platform::Object IInspectable PhoneCallDetails
Attributes

Windows requirements

Device family
Windows Mobile Extension SDK (introduced in 10.0.10240.0)
API contract
Windows.Phone.PhoneContract (introduced in v1.0)
App capabilities
accessoryManager

Remarks

Calling this API requires that the ID_CAP_SMS and ID_CAP_SMS_COMPANION capabilities be specified in the application manifest.

Properties

CallDirection

Gets the direction of the phone call, incoming or outgoing.

CallId

Gets the identifier of the phone call.

CallMediaType

Gets the type of media, audio-only or audio and video.

CallTransport

Gets the type of transport, either cellular or VoIP.

ConferenceCallId

Gets the identifier for a conference call.

ContactName

Gets the name of the contact for the phone call.

EndTime

Gets the end time of the phone call.

PhoneLine

Gets the phone line.

PhoneNumber

Gets the number of the phone call.

PresetTextResponses

Gets the list of preset text responses that can be displayed by the accessory application.

StartTime

Gets the start time of the phone call.

State

Gets the state of the phone call--for instance ringing, on hold, or ended.

Applies to