NCWidgetProviding_Extensions NCWidgetProviding_Extensions Class

Definition

Extension methods to the INCWidgetProviding interface to support all the methods from the NCWidgetProviding protocol.

public static class NCWidgetProviding_Extensions
type NCWidgetProviding_Extensions = class
Inheritance
NCWidgetProviding_ExtensionsNCWidgetProviding_Extensions

Remarks

The extension methods for INCWidgetProviding allow developers to treat instances of the interface as having all the optional methods of the original NCWidgetProviding protocol. Since the interface only contains the required members, these extension methods allow developers to call the optional members of the protocol.

Methods

GetWidgetAllowsEditing(INCWidgetProviding) GetWidgetAllowsEditing(INCWidgetProviding)
GetWidgetMarginInsets(INCWidgetProviding, NSEdgeInsets) GetWidgetMarginInsets(INCWidgetProviding, NSEdgeInsets)
GetWidgetMarginInsets(INCWidgetProviding, UIEdgeInsets) GetWidgetMarginInsets(INCWidgetProviding, UIEdgeInsets)

Developers should not use this deprecated method.

SetWidgetAllowsEditing(INCWidgetProviding, Boolean) SetWidgetAllowsEditing(INCWidgetProviding, Boolean)
WidgetActiveDisplayModeDidChange(INCWidgetProviding, NCWidgetDisplayMode, CGSize) WidgetActiveDisplayModeDidChange(INCWidgetProviding, NCWidgetDisplayMode, CGSize)
WidgetDidBeginEditing(INCWidgetProviding) WidgetDidBeginEditing(INCWidgetProviding)
WidgetDidEndEditing(INCWidgetProviding) WidgetDidEndEditing(INCWidgetProviding)
WidgetPerformUpdate(INCWidgetProviding, Action<NCUpdateResult>) WidgetPerformUpdate(INCWidgetProviding, Action<NCUpdateResult>)

Applies to