Share via


LockScreenCallEndCallDeferral Class

Definition

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
Object Platform::Object IInspectable LockScreenCallEndCallDeferral
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.

Applies to