PhoneCallActivatedEventArgs Class

Definition

Represents the launch arguments for the application. The app’s OnActivated method will be invoked with the PhoneCallActivatedEventArgs class being the activatedEventArg payload.

public ref class PhoneCallActivatedEventArgs sealed : IActivatedEventArgsWithUser, IPhoneCallActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 851968)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class PhoneCallActivatedEventArgs final : IActivatedEventArgsWithUser, IPhoneCallActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 851968)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class PhoneCallActivatedEventArgs : IActivatedEventArgsWithUser, IPhoneCallActivatedEventArgs
Public NotInheritable Class PhoneCallActivatedEventArgs
Implements IActivatedEventArgsWithUser, IPhoneCallActivatedEventArgs
Inheritance
Object Platform::Object IInspectable PhoneCallActivatedEventArgs
Attributes
Implements

Windows requirements

Device family
Windows 11 (introduced in 10.0.22000.0)
API contract
Windows.Foundation.UniversalApiContract (introduced in v14.0)

Remarks

Important

To use this API, your application needs to declare in its Package.appxmanifest file windows.phonecallactivation as a uap13:Extension category. Otherwise, the application won't be able to be activated to facilitate in-app call progress control UI.

Properties

Kind

Specifies the type of activation.

LineId

Identifies the PhoneLine being used. Used to retrieve a corresponding PhoneLine object.

PreviousExecutionState

Gets the execution state of the app before this activation.

SplashScreen

The object that provides splash screen information.

User

The user that the app was activated for.

Applies to