Düzenle

Aracılığıyla paylaş


INCWidgetProviding Interface

Definition

Interface representing the required methods (if any) of the protocol NCWidgetProviding.

[Foundation.Protocol(Name="NCWidgetProviding", WrapperType=typeof(NotificationCenter.NCWidgetProvidingWrapper))]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 8, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public interface INCWidgetProviding : IDisposable, ObjCRuntime.INativeObject
type INCWidgetProviding = interface
    interface INativeObject
    interface IDisposable
Derived
Attributes
Implements

Remarks

This interface contains the required methods (if any) from the protocol defined by NCWidgetProviding.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the NCWidgetProviding protocol.

Optional methods (if any) are provided by the NCWidgetProviding_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Properties

Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)

Extension Methods

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

Developers should not use this deprecated method.

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

Applies to