DroppyNowPlayingPlayerProvider

What the host hands DroppyNowPlayingPlayer.

struct DroppyNowPlayingPlayerProvider

Initializers

init(size:minimumSize:makeView:)

init(size: CGSize, minimumSize: CGSize, makeView: @escaping @MainActor (DroppyNowPlayingPlayerLayout) -> AnyView)

Properties

makeView

let makeView: @MainActor (DroppyNowPlayingPlayerLayout) -> AnyView

A fresh player view, laid out as the droplet asked.

minimumSize

let minimumSize: CGSize

The smallest size in points it lays itself out at.

size

let size: CGSize

The player's own size in points.