AuroraLive Player iOS SDK Documentation

Structure Swift​UIVideo​View

public struct SwiftUIVideoView: NativeViewRepresentable  
SwiftUIVideoView SwiftUIVideoView NativeViewRepresentable NativeViewRepresentable SwiftUIVideoView->NativeViewRepresentable

Conforms To

NativeViewRepresentable

Nested Type Aliases

View​Type

public typealias ViewType = VideoView

Initializers

init(_:​is​Rendering:​layout​Mode:​debug:​)

public init(_ videoTrack: Binding<VideoTrack?> = .constant(nil),
                isRendering: Binding<Bool> = .constant(false),
                layoutMode: VideoView.LayoutMode = .fill, debug: Bool = false)  

Methods

make​View(context:​)

public func makeView(context: Context) -> VideoView  

update​View(_:​context:​)

public func updateView(_ videoView: VideoView, context: Context)  

dismantle​View(_:​coordinator:​)

public static func dismantleView(_ videoView: VideoView, coordinator: ())