Contents

LinkMetadata

A structure containing metadata about a URL.

Declaration

nonisolated struct LinkMetadata

Overview

Use LinkMetadata to store metadata about a URL, including its title, icon, images, and video.

Fetch metadata using LPMetadataProvider. For remote URLs, cache the metadata locally to avoid the data and performance cost of fetching it from the internet every time you present it. LinkMetadata is also serializable and conforms to Codable.

Topics

Structures

Initializers

Instance Properties

Instance Methods

Type Aliases

Type Properties