共用方式為


LockScreenCallEndCallDeferral 類別

定義

當應用程式不再需要延遲從鎖定畫面中移除本身時,LockScreenCallEndCallDeferral 物件會發出訊號。

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
繼承
Object Platform::Object IInspectable LockScreenCallEndCallDeferral
屬性

Windows 需求

裝置系列
Windows Desktop Extension SDK (已於 10.0.10240.0 引進)
API contract
Windows.ApplicationModel.Calls.LockScreenCallContract (已於 v1.0 引進)
應用程式功能
phoneCallHistory phoneCallHistorySystem

備註

應用程式會在呼叫 LockScreenCallEndRequestedEventArgs.GetDeferral 方法時取得 LockScreenCallEndCallDeferral 物件,以延遲從鎖定畫面移除應用程式的默認行為。

方法

Complete()

完成從鎖定畫面移除應用程式的延遲,這會導致應用程式在其他方法尚未移除時從鎖定畫面中移除。

適用於