Contents

init(appExtensionPoint:)

Creates a new monitor and configures it with the specified extension point.

Declaration

convenience init(appExtensionPoint: AppExtensionPoint) async throws

Parameters

  • appExtensionPoint:

    An extension point type you defined in your host app.

Discussion

Use this initializer to create a monitor and start looking for app extensions that match the specified extension point. This initializer returns after successfully adding the extension point to the monitor and generating the initial list of app extensions.

See Also

Creating a monitor