PhoneCallActivatedEventArgs Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- Attributes
- Implements
Windows requirements
| Requirements | Description |
|---|---|
| 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
| Name | Description |
|---|---|
| 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. |