///
/// onLoadData.swift
/// This file was generated by nitrogen. DO NOT MODIFY THIS FILE.
/// https://github.com/mrousavy/nitro
/// Copyright © 2025 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)
  }

  var currentTime: Double {
    @inline(__always)
    get {
      return self.__currentTime
    }
    @inline(__always)
    set {
      self.__currentTime = newValue
    }
  }
  
  var duration: Double {
    @inline(__always)
    get {
      return self.__duration
    }
    @inline(__always)
    set {
      self.__duration = newValue
    }
  }
  
  var height: Double {
    @inline(__always)
    get {
      return self.__height
    }
    @inline(__always)
    set {
      self.__height = newValue
    }
  }
  
  var width: Double {
    @inline(__always)
    get {
      return self.__width
    }
    @inline(__always)
    set {
      self.__width = newValue
    }
  }
  
  var orientation: VideoOrientation {
    @inline(__always)
    get {
      return self.__orientation
    }
    @inline(__always)
    set {
      self.__orientation = newValue
    }
  }
}
