Windows Dev Center

CallControl.IndicateNewIncomingCall | indicateNewIncomingCall method

Informs the device that there is an incoming call.

Syntax


Public Function IndicateNewIncomingCall(
  enableRinger As Boolean,  
  callerId As String 
) As ULong

Parameters

enableRinger

Type: Boolean [JavaScript] | System.Boolean [.NET] | Platform::Boolean [C++]

Specifies whether the device should activate its built-in ringer.

callerId

Type: String [JavaScript] | System.String [.NET] | Platform::String [C++]

A numeric string that specifies the incoming caller ID. This parameter can be null, and often is for many VoIP calls.

Return value

Type: Number [JavaScript] | System.UInt64 [.NET] | uint64 [C++]

A call token that uniquely identifies this call.

Requirements (device family)

Device family

Desktop

API contract

Windows.Media.Devices.CallControlContract, introduced version 1.0

Namespace

Windows.Media.Devices
Windows::Media::Devices [C++]

Metadata

Windows.Media.Devices.CallControlContract.winmd

Requirements (operating system)

Minimum supported client

Windows 8

Minimum supported server

Windows Server 2012

Minimum supported phone

None supported

Namespace

Windows.Media.Devices
Windows::Media::Devices [C++]

Metadata

Windows.winmd

See also

CallControl

 

 

Show:
© 2015 Microsoft