Contents

entry(configuration:context:)

Provides the entry used to render a widget for a specific relevance configuration.

Declaration

func entry(configuration: Self.Configuration, context: Self.Context) async throws -> Self.Entry

Parameters

  • configuration:

    The configuration for when this widget is relevant.

  • context:

    An object describing the context to show the widget in.

Mentioned in

Return Value

A relevance entry representing the widget in this configuration.

See Also

Generating relevance entries