/// /// VideoInfo.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 "VideoInfo". */ @DoNotStrip @Keep data class VideoInfo( @DoNotStrip @Keep val uri: String, @DoNotStrip @Keep val durationSec: Double, @DoNotStrip @Keep val width: Double, @DoNotStrip @Keep val height: Double, @DoNotStrip @Keep val codedWidth: Double, @DoNotStrip @Keep val codedHeight: Double, @DoNotStrip @Keep val fps: Double, @DoNotStrip @Keep val bitRate: Double, @DoNotStrip @Keep val fileSizeBytes: Double, @DoNotStrip @Keep val codec: String, @DoNotStrip @Keep val container: String, @DoNotStrip @Keep val hasAudio: Boolean, @DoNotStrip @Keep val isHDR: Boolean, @DoNotStrip @Keep val rotation: Double, @DoNotStrip @Keep val creationDate: java.time.Instant?, @DoNotStrip @Keep val location: WGS84Coordinate?, @DoNotStrip @Keep val description: String?, @DoNotStrip @Keep val custom: Map? ) { /* primary constructor */ companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(uri: String, durationSec: Double, width: Double, height: Double, codedWidth: Double, codedHeight: Double, fps: Double, bitRate: Double, fileSizeBytes: Double, codec: String, container: String, hasAudio: Boolean, isHDR: Boolean, rotation: Double, creationDate: java.time.Instant?, location: WGS84Coordinate?, description: String?, custom: Map?): VideoInfo { return VideoInfo(uri, durationSec, width, height, codedWidth, codedHeight, fps, bitRate, fileSizeBytes, codec, container, hasAudio, isHDR, rotation, creationDate, location, description, custom) } } }