Enumeration

NCUpdateResult

The result of updating a widget's state.

Declaration

enum NCUpdateResult : UInt

Topics

Constants

case newData

The update resulted in new data to display.

case noData

The update did not result in any new data since the last update.

case failed

The update attempt failed.

See Also

Updating a Widget’s Contents

func widgetPerformUpdate(completionHandler: (NCUpdateResult) -> Void)

Called to give a widget an opportunity to update its contents.