Link Search Menu Expand Document

SceneSession.Role

Constants that indicate the possible roles for a scene.

public struct Role: Equatable, Hashable, RawRepresentable 

Inheritance

Equatable, Hashable, RawRepresentable

Nested Type Aliases

RawValue

public typealias RawValue = String

Initializers

init(rawValue:)

public init(rawValue: RawValue) 

Properties

rawValue

public let rawValue: RawValue

windowApplication

The scene displays noninteractive windows on an externally connected screen.

public static var windowApplication: SceneSession.Role 

windowExternalDisplay

The scene displays interactive content on the device’s main screen.

public static var windowExternalDisplay: SceneSession.Role