mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-08-16 02:56:22 +00:00
* chore: Upgrade to Nitro 0.35.0 * Replace `bigint` with `UInt64` * chore: Regenerate specs now for Nitro 0.35.0 * fix: Use Int64 as it can be -1 * Remove unnecessary patches * fix: change duration type to number * fix: avoid mutating VideoInformation fields after init * chore: regenerate specs with new duration type * fix: use Double for duration in VideoInformation * docs: react-native-nitro-modules version * chore: update react-native-nitro-modules version (rnv & drm) --------- Co-authored-by: fnwk <filip.wnek200@gmail.com>
27 lines
901 B
Swift
Generated
27 lines
901 B
Swift
Generated
///
|
|
/// ReactNativeVideoDrmAutolinking.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 ReactNativeVideoDrmAutolinking {
|
|
public typealias bridge = margelo.nitro.videodrm.bridge.swift
|
|
|
|
public static func createPluginManager() -> bridge.std__shared_ptr_HybridPluginManagerSpec_ {
|
|
let hybridObject = PluginManager()
|
|
return { () -> bridge.std__shared_ptr_HybridPluginManagerSpec_ in
|
|
let __cxxWrapped = hybridObject.getCxxWrapper()
|
|
return __cxxWrapped.getCxxPart()
|
|
}()
|
|
}
|
|
|
|
public static func isPluginManagerRecyclable() -> Bool {
|
|
return PluginManager.self is any RecyclableView.Type
|
|
}
|
|
}
|