mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-08-16 02:56:22 +00:00
50 lines
1.0 KiB
Swift
Generated
50 lines
1.0 KiB
Swift
Generated
///
|
|
/// onLoadData.swift
|
|
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
|
|
/// https://github.com/mrousavy/nitro
|
|
/// Copyright © Marc Rousavy @ Margelo
|
|
///
|
|
|
|
import NitroModules
|
|
|
|
/**
|
|
* Represents an instance of `onLoadData`, backed by a C++ struct.
|
|
*/
|
|
public typealias onLoadData = margelo.nitro.video.onLoadData
|
|
|
|
public extension onLoadData {
|
|
private typealias bridge = margelo.nitro.video.bridge.swift
|
|
|
|
/**
|
|
* Create a new instance of `onLoadData`.
|
|
*/
|
|
init(currentTime: Double, duration: Double, height: Double, width: Double, orientation: VideoOrientation) {
|
|
self.init(currentTime, duration, height, width, orientation)
|
|
}
|
|
|
|
@inline(__always)
|
|
var currentTime: Double {
|
|
return self.__currentTime
|
|
}
|
|
|
|
@inline(__always)
|
|
var duration: Double {
|
|
return self.__duration
|
|
}
|
|
|
|
@inline(__always)
|
|
var height: Double {
|
|
return self.__height
|
|
}
|
|
|
|
@inline(__always)
|
|
var width: Double {
|
|
return self.__width
|
|
}
|
|
|
|
@inline(__always)
|
|
var orientation: VideoOrientation {
|
|
return self.__orientation
|
|
}
|
|
}
|