LiveActivityPresentationState
Context passed to makeExpanded(context:).
struct LiveActivityPresentationState
Initializers
init(isPresentationSettled:isHostTransformIdentity:isConcealed:)
init(isPresentationSettled: Bool = true, isHostTransformIdentity: Bool = true, isConcealed: Bool = false)
Creates a live activity presentation state.
Type properties
settled
static let settled: LiveActivityPresentationState
The ordinary, visible, settled compact mount.
Properties
isConcealed
let isConcealed: Bool
True while the host keeps the surface mounted but visually concealed.
isHostTransformIdentity
let isHostTransformIdentity: Bool
True while the host transform is at its resting identity.
isPresentationSettled
let isPresentationSettled: Bool
True once the host's direct-surface reveal or dismissal spring settled.