PhoneCallOrigin PhoneCallOrigin PhoneCallOrigin PhoneCallOrigin Class

Definition

A collection of information about the origin of a phone call.

public : sealed class PhoneCallOrigin : IPhoneCallOrigin, IPhoneCallOrigin2, IPhoneCallOrigin3public sealed class PhoneCallOrigin : IPhoneCallOrigin, IPhoneCallOrigin2, IPhoneCallOrigin3Public NotInheritable Class PhoneCallOrigin Implements IPhoneCallOrigin, IPhoneCallOrigin2, IPhoneCallOrigin3// You can use this class in JavaScript.
Attributes
Windows 10 requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10240.0)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (introduced v1)

Constructors

PhoneCallOrigin() PhoneCallOrigin() PhoneCallOrigin() PhoneCallOrigin()

Creates a new PhoneCallOrigin object.

public : PhoneCallOrigin()public PhoneCallOrigin()Public Sub New()// You can use this method in JavaScript.

Properties

Category Category Category Category

Gets or sets the category for the caller.

public : PlatForm::String Category { get; set; }public string Category { get; set; }Public ReadWrite Property Category As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The caller's category. A couple of examples include "house agent" or "financial service."

CategoryDescription CategoryDescription CategoryDescription CategoryDescription

Gets or sets the description of the caller's Category.

public : PlatForm::String CategoryDescription { get; set; }public string CategoryDescription { get; set; }Public ReadWrite Property CategoryDescription As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The description of the caller's specific Category.

DisplayName DisplayName DisplayName DisplayName

Gets or sets the display name for the PhoneCallOriginManager object.

public : PlatForm::String DisplayName { get; set; }public string DisplayName { get; set; }Public ReadWrite Property DisplayName As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The display name for the call origin manager.

Additional features and requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.10586.0)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (introduced v2)

DisplayPicture DisplayPicture DisplayPicture DisplayPicture

Gets or sets the display picture for the PhoneCallOriginManager object.

public : StorageFile DisplayPicture { get; set; }public StorageFile DisplayPicture { get; set; }Public ReadWrite Property DisplayPicture As StorageFile// You can use this property in JavaScript.
Value
StorageFile StorageFile StorageFile StorageFile

The display picture for the caller's origin. This picture is displayed on the incoming call UI.

Additional features and requirements
Device family
Windows Mobile Extension SDK (introduced v10.0.14393.0)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (introduced v3)

Location Location Location Location

Gets or sets the location of the caller.

public : PlatForm::String Location { get; set; }public string Location { get; set; }Public ReadWrite Property Location As string// You can use this property in JavaScript.
Value
PlatForm::String string string string

The caller's location.