Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
Protocol

ImmersionStyle

The Compose SwiftUI form of SwiftUI's ImmersionStyle.

iOS: unavailable (no-op)macOS 26.0+tvOS: unavailable (no-op)watchOS: unavailable (no-op)
interface ImmersionStyle

Overview

This is the Kotlin form of SwiftUI ImmersionStyle: SwiftUI documentation. In Swift it reads:

protocol ImmersionStyle

Topics

Type properties

val progressive: ProgressiveImmersionStyle
SwiftUI ImmersionStyle.progressive
val full: FullImmersionStyle
SwiftUI ImmersionStyle.full
val automatic: AutomaticImmersionStyle
SwiftUI ImmersionStyle.automatic

Methods

fun progressive(aspectRatio: ProgressiveImmersionAspectRatio): ProgressiveImmersionStyle
SwiftUI ImmersionStyle.progressive(aspectRatio:)
fun progressive(immersionRange: ClosedFloatingPointRange<Double>, initialAmount: Double? = null, aspectRatio: ProgressiveImmersionAspectRatio?): ProgressiveImmersionStyle
SwiftUI ImmersionStyle.progressive(_:initialAmount:aspectRatio:)
fun progressive(immersionRange: ClosedFloatingPointRange<Double>, initialAmount: Double? = null): ProgressiveImmersionStyle
SwiftUI ImmersionStyle.progressive(_:initialAmount:)

Types

interface ImmersionStyle
SwiftUI ImmersionStyle