///
/// onVolumeChangeData.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 `onVolumeChangeData`, backed by a C++ struct.
 */
public typealias onVolumeChangeData = margelo.nitro.video.onVolumeChangeData

public extension onVolumeChangeData {
  private typealias bridge = margelo.nitro.video.bridge.swift

  /**
   * Create a new instance of `onVolumeChangeData`.
   */
  init(volume: Double, muted: Bool) {
    self.init(volume, muted)
  }

  var volume: Double {
    @inline(__always)
    get {
      return self.__volume
    }
    @inline(__always)
    set {
      self.__volume = newValue
    }
  }
  
  var muted: Bool {
    @inline(__always)
    get {
      return self.__muted
    }
    @inline(__always)
    set {
      self.__muted = newValue
    }
  }
}
