Edytuj

Udostępnij za pośrednictwem


NCUpdateResult Enum

Definition

Enumerates values that describe what happened after the application developer attempted to change the state of a widget by using the WidgetPerformUpdate(Action<NCUpdateResult>) method.

[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.All, null)]
public enum NCUpdateResult
type NCUpdateResult = 
Inheritance
NCUpdateResult
Attributes

Fields

Name Value Description
NewData 0

The widget has new data and may need to update its displayed values, if any.

NoData 1

The update succeeded, but no new data resulted.

Failed 2

The update failed.

Applies to