AuroraLive Player iOS SDK Documentation

Protocol Native​View​Representable

public protocol NativeViewRepresentable: NativeViewRepresentableType  
NativeViewRepresentable NativeViewRepresentable NativeViewRepresentableType NativeViewRepresentableType NativeViewRepresentable->NativeViewRepresentableType SwiftUIVideoView SwiftUIVideoView SwiftUIVideoView->NativeViewRepresentable

Conforms To

NativeViewRepresentableType

Types Conforming to Native​View​Representable

SwiftUIVideoView

Default Implementations

make​UIView(context:​)

func makeUIView(context: Context) -> Self.ViewType  

update​UIView(_:​context:​)

func updateUIView(_ view: Self.ViewType, context: Context)  

dismantle​UIView(_:​coordinator:​)

static func dismantleUIView(_ view: Self.ViewType, coordinator: Self.Coordinator)  

make​NSView(context:​)

func makeNSView(context: Context) -> Self.ViewType  

update​NSView(_:​context:​)

func updateNSView(_ view: Self.ViewType, context: Context)  

dismantle​NSView(_:​coordinator:​)

static func dismantleNSView(_ view: Self.ViewType, coordinator: Self.Coordinator)  

Requirements

View​Type

associatedtype ViewType: NativeViewType

The type of view to present.

make​View(context:​)

func makeView(context: Self.Context) -> Self.ViewType

update​View(_:​context:​)

func updateView(_ nsView: Self.ViewType, context: Self.Context) 

dismantle​View(_:​coordinator:​)

static func dismantleView(_ nsView: Self.ViewType, coordinator: Self.Coordinator)