HUDPresenting
Marker capability for droplets that present transient HUDs.
@MainActor protocol HUDPresenting : Droplet
There are no callbacks to implement: present through DropletHUDService on the host. Declaring the conformance is a statement of intent for review and for anyone reading the droplet's source; it is deliberately redundant with the hud capability string, which is what the runtime actually gates on.
- Important: Retained, and safe to adopt. Earlier releases described this protocol as provisional and said it might be withdrawn in a minor release. That promise was wrong and is retracted: a conformance emits a protocol descriptor that shipped bundles reference, and three published droplets already carry one, so removing the protocol would stop those bundles LOADING; a marker with no requirements is still ABI. It stays for the life of 0.x and is covered by the 1.0 compatibility promise like any other published protocol.
What remains true is that adopting it is optional: the runtime gates on the hud manifest string, so presenting through host.hud works whether or not you conform. See COMPATIBILITY.md at the repository root.
- Note: Maturity: Stable. Covered by the 1.0 compatibility promise.