NSExtensionContext_NCWidgetAdditions NSExtensionContext_NCWidgetAdditions Class

Definition

Extension context methods and properties for an NDWidget.

public static class NSExtensionContext_NCWidgetAdditions
type NSExtensionContext_NCWidgetAdditions = class
Inheritance
NSExtensionContext_NCWidgetAdditionsNSExtensionContext_NCWidgetAdditions

Methods

GetWidgetActiveDisplayMode(NSExtensionContext) GetWidgetActiveDisplayMode(NSExtensionContext)

Returns the current display mode for the widget.

GetWidgetLargestAvailableDisplayMode(NSExtensionContext) GetWidgetLargestAvailableDisplayMode(NSExtensionContext)

Returns the largest available display mode for the widget.

GetWidgetMaximumSize(NSExtensionContext, NCWidgetDisplayMode) GetWidgetMaximumSize(NSExtensionContext, NCWidgetDisplayMode)

Returns the maximum size of the widget for the specified display mode.

SetWidgetLargestAvailableDisplayMode(NSExtensionContext, NCWidgetDisplayMode) SetWidgetLargestAvailableDisplayMode(NSExtensionContext, NCWidgetDisplayMode)

Sets the largest available display mode for the widget.

Applies to