ExpandedSurfaceDismissalReason
Why an expanded surface stopped being presented.
enum ExpandedSurfaceDismissalReason
Cases
ExpandedSurfaceDismissalReason.dropletRequested
case dropletRequested
The droplet called dismissExpandedSurface(_:).
ExpandedSurfaceDismissalReason.userCollapsedShelf
case userCollapsedShelf
The user collapsed the shelf, by clicking away, swiping, or pressing the host's own close affordance.
ExpandedSurfaceDismissalReason.preempted
case preempted
Another surface took the shelf, or the same droplet presented again.
ExpandedSurfaceDismissalReason.displayChanged
case displayChanged
The display it was presented on went away or changed arrangement.
ExpandedSurfaceDismissalReason.shelfDisabled
case shelfDisabled
The user turned the notch shelf off.
ExpandedSurfaceDismissalReason.hostPolicy
case hostPolicy
A host policy ended it: the droplet was disabled or removed, the lock surface took over, the app is shutting down.