DropletExpandedShelfState

What the host's expanded shelf is currently showing.

struct DropletExpandedShelfState

Initializers

init(current:isTransitioning:)

init(current: ExpandedSurfacePresentation? = nil, isTransitioning: Bool = false)

Properties

current

let current: ExpandedSurfacePresentation?

The presentation currently on screen, if any.

isTransitioning

let isTransitioning: Bool

Whether the shelf is mid-animation. Avoid measuring during a transition.