/// /// Progress.kt /// This file was generated by nitrogen. DO NOT MODIFY THIS FILE. /// https://github.com/mrousavy/nitro /// Copyright © Marc Rousavy @ Margelo /// package com.margelo.nitro.videopipeline import androidx.annotation.Keep import com.facebook.proguard.annotations.DoNotStrip /** * Represents the JavaScript object/struct "Progress". */ @DoNotStrip @Keep data class Progress( @DoNotStrip @Keep val framesCompleted: Double, @DoNotStrip @Keep val nbFrames: Double?, @DoNotStrip @Keep val elapsedMs: Double, @DoNotStrip @Keep val estimatedRemainingMs: Double? ) { /* primary constructor */ companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(framesCompleted: Double, nbFrames: Double?, elapsedMs: Double, estimatedRemainingMs: Double?): Progress { return Progress(framesCompleted, nbFrames, elapsedMs, estimatedRemainingMs) } } }