mirror of
https://github.com/zoriya/react-native-video.git
synced 2026-08-16 02:56:22 +00:00
35 lines
782 B
Swift
Generated
35 lines
782 B
Swift
Generated
///
|
|
/// onProgressData.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 `onProgressData`, backed by a C++ struct.
|
|
*/
|
|
public typealias onProgressData = margelo.nitro.video.onProgressData
|
|
|
|
public extension onProgressData {
|
|
private typealias bridge = margelo.nitro.video.bridge.swift
|
|
|
|
/**
|
|
* Create a new instance of `onProgressData`.
|
|
*/
|
|
init(currentTime: Double, bufferDuration: Double) {
|
|
self.init(currentTime, bufferDuration)
|
|
}
|
|
|
|
@inline(__always)
|
|
var currentTime: Double {
|
|
return self.__currentTime
|
|
}
|
|
|
|
@inline(__always)
|
|
var bufferDuration: Double {
|
|
return self.__bufferDuration
|
|
}
|
|
}
|