Files
react-native-video/nitrogen/generated/ios/ReactNativeVideoAutolinking.swift
2026-03-25 17:28:35 +01:00

51 lines
1.9 KiB
Swift
Generated

///
/// ReactNativeVideoAutolinking.swift
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
/// https://github.com/mrousavy/nitro
/// Copyright © Marc Rousavy @ Margelo
///
import NitroModules
// TODO: Use empty enums once Swift supports exporting them as namespaces
// See: https://github.com/swiftlang/swift/pull/83616
public final class ReactNativeVideoAutolinking {
public typealias bridge = margelo.nitro.video.bridge.swift
public static func createVideoPlayerFactory() -> bridge.std__shared_ptr_HybridVideoPlayerFactorySpec_ {
let hybridObject = HybridVideoPlayerFactory()
return { () -> bridge.std__shared_ptr_HybridVideoPlayerFactorySpec_ in
let __cxxWrapped = hybridObject.getCxxWrapper()
return __cxxWrapped.getCxxPart()
}()
}
public static func isVideoPlayerFactoryRecyclable() -> Bool {
return HybridVideoPlayerFactory.self is any RecyclableView.Type
}
public static func createVideoPlayerSourceFactory() -> bridge.std__shared_ptr_HybridVideoPlayerSourceFactorySpec_ {
let hybridObject = HybridVideoPlayerSourceFactory()
return { () -> bridge.std__shared_ptr_HybridVideoPlayerSourceFactorySpec_ in
let __cxxWrapped = hybridObject.getCxxWrapper()
return __cxxWrapped.getCxxPart()
}()
}
public static func isVideoPlayerSourceFactoryRecyclable() -> Bool {
return HybridVideoPlayerSourceFactory.self is any RecyclableView.Type
}
public static func createVideoViewViewManagerFactory() -> bridge.std__shared_ptr_HybridVideoViewViewManagerFactorySpec_ {
let hybridObject = HybridVideoViewViewManagerFactory()
return { () -> bridge.std__shared_ptr_HybridVideoViewViewManagerFactorySpec_ in
let __cxxWrapped = hybridObject.getCxxWrapper()
return __cxxWrapped.getCxxPart()
}()
}
public static func isVideoViewViewManagerFactoryRecyclable() -> Bool {
return HybridVideoViewViewManagerFactory.self is any RecyclableView.Type
}
}