-api-id | -api-type |
---|---|
M:Windows.Devices.Perception.Provider.PerceptionPropertyChangeRequest.GetDeferral |
winrt method |
Gets a Windows::Foundation::Deferral object to allow background processing if needed.
The Deferral object.
When doing background processing, call GetDeferral() and store the result as well as the * PerceptionPropertyChangeRequest. When background processing is complete, set the Status on the PerceptionPropertyChangeRequest and call Complete() on the deferral before removing references to the objects.