C# Класс Stampsy.Extensions.UIKit.BackgroundTaskHandle

Represents an iOS background task handle.
Create an instance of this class to let iOS know you're in the middle of an important operation and prefer your app to not get frozen if the user switches to another app. Dispose it when the operation is over and you don't mind iOS freezing the app. Note that it's up to iOS to decide whether to honor your request. Read more iOS background tasks: http://developer.apple.com/library/ios/DOCUMENTATION/UIKit/Reference/UIApplication_Class/Reference/Reference.html#//apple_ref/occ/instm/UIApplication/beginBackgroundTaskWithExpirationHandler: http://stackoverflow.com/a/12074879/458193
Наследование: IDisposable
Показать файл Открыть проект

Открытые методы

Метод Описание
BackgroundTaskHandle ( ) : System
Dispose ( ) : void

Dispose BackgroundTaskHandle to let iOS know that the important operation is over. It is also possible that iOS doesn't honor your request and still freezes your app.

Приватные методы

Метод Описание
EndTask ( ) : void

Описание методов

BackgroundTaskHandle() публичный Метод

public BackgroundTaskHandle ( ) : System
Результат System

Dispose() публичный Метод

Dispose BackgroundTaskHandle to let iOS know that the important operation is over. It is also possible that iOS doesn't honor your request and still freezes your app.
public Dispose ( ) : void
Результат void