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