/// /// ImageOverlay.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 "ImageOverlay". */ @DoNotStrip @Keep data class ImageOverlay( @DoNotStrip @Keep val kind: OverlayKind, @DoNotStrip @Keep val uri: String, @DoNotStrip @Keep val anchor: AnchorPoint, @DoNotStrip @Keep val size: ImageOverlaySize, @DoNotStrip @Keep val opacity: Double?, @DoNotStrip @Keep val timeRange: TimeRange? ) { /* primary constructor */ companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(kind: OverlayKind, uri: String, anchor: AnchorPoint, size: ImageOverlaySize, opacity: Double?, timeRange: TimeRange?): ImageOverlay { return ImageOverlay(kind, uri, anchor, size, opacity, timeRange) } } }