Compose SwiftUIv0.4.0
esc
GuideAPIGitHub
Structure

KeyPress

The Compose SwiftUI form of SwiftUI's KeyPress.

iOS 17.0+macOS 14.0+tvOS 17.0+watchOS: unavailable (no-op)
class Phases

Overview

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

struct Phases

Topics

Initializers

constructor(rawValue: Int)
SwiftUI KeyPress.Phases.init(rawValue:)

Type properties

val up: KeyPress.Phases
SwiftUI KeyPress.Phases.up
val all: KeyPress.Phases
SwiftUI KeyPress.Phases.all
val down: KeyPress.Phases
SwiftUI KeyPress.Phases.down
val repeat: KeyPress.Phases
SwiftUI KeyPress.Phases.repeat
val handled: KeyPress.Result
SwiftUI KeyPress.Result.handled
val ignored: KeyPress.Result
SwiftUI KeyPress.Result.ignored

Types

class Phases
SwiftUI KeyPress.Phases
class Result
SwiftUI KeyPress.Result