LockScreenCallEndRequestedEventArgs.GetDeferral Method

Definition

Requests to defer the default behavior of removing the app from the lock screen.

public:
 virtual LockScreenCallEndCallDeferral ^ GetDeferral() = GetDeferral;
LockScreenCallEndCallDeferral GetDeferral();
public LockScreenCallEndCallDeferral GetDeferral();
function getDeferral()
Public Function GetDeferral () As LockScreenCallEndCallDeferral

Returns

When this method completes, it returns a LockScreenCallEndCallDeferral object that signals when the app no longer needs to defer the removal of itself from the lock screen.

Windows requirements

App capabilities
phoneCallHistory phoneCallHistorySystem

Remarks

An app can extend its time on the lock screen by calling GetDeferral to request a deferral. If the app requested a deferral, the app is removed from the lock screen when the deferral completes or the deadline passes.

Applies to