C# Class InTheHand.ApplicationModel.Calls.PhoneLine

Provides methods for launching the built-in phone call UI.
显示文件 Open project: inthehand/Charming

Public Methods

Method Description
Dial ( string number, string displayName ) : void

Place a phone call on the phone line. The caller must be in the foreground.

FromIdAsync ( System.Guid lineId ) : Task

This static method asynchronously retrieves a PhoneLine object that represents a specific phone line on the device based on the line ID.

Private Methods

Method Description
PhoneLine ( ) : System
PhoneLine ( Windows line ) : System
PhoneLine ( object line ) : System

Method Details

Dial() public method

Place a phone call on the phone line. The caller must be in the foreground.
public Dial ( string number, string displayName ) : void
number string The number to dial.
displayName string The display name of the party receiving the phone call. /// This parameter is optional.
return void

FromIdAsync() public static method

This static method asynchronously retrieves a PhoneLine object that represents a specific phone line on the device based on the line ID.
public static FromIdAsync ( System.Guid lineId ) : Task
lineId System.Guid The line ID of the phone line to retrieve.
return Task