LockScreenCallEndCallDeferral 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.
The LockScreenCallEndCallDeferral object signals when the app no longer needs to defer the removal of itself from the lock screen.
public ref class LockScreenCallEndCallDeferral sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.ApplicationModel.Calls.LockScreenCallContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class LockScreenCallEndCallDeferral final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.ApplicationModel.Calls.LockScreenCallContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class LockScreenCallEndCallDeferral
Public NotInheritable Class LockScreenCallEndCallDeferral
- Inheritance
- Attributes
Windows requirements
Device family |
Windows Desktop Extension SDK (introduced in 10.0.10240.0)
|
API contract |
Windows.ApplicationModel.Calls.LockScreenCallContract (introduced in v1.0)
|
App capabilities |
phoneCallHistory
phoneCallHistorySystem
|
Remarks
An app gets a LockScreenCallEndCallDeferral object when it calls the LockScreenCallEndRequestedEventArgs.GetDeferral method to defer the default behavior of removing the app from the lock screen.
Methods
Complete() |
Completes the deferral of the removal of the app from the lock screen, which causes the app to be removed from the lock screen if it hasn't already been removed by other means. |