/// /// UnifiedRiveEvent.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.rive import androidx.annotation.Keep import com.facebook.proguard.annotations.DoNotStrip /** * Represents the JavaScript object/struct "UnifiedRiveEvent". */ @DoNotStrip @Keep data class UnifiedRiveEvent( @DoNotStrip @Keep val name: String, @DoNotStrip @Keep val type: RiveEventType, @DoNotStrip @Keep val delay: Double?, @DoNotStrip @Keep val properties: Map?, @DoNotStrip @Keep val url: String?, @DoNotStrip @Keep val target: String? ) { /* primary constructor */ companion object { /** * Constructor called from C++ */ @DoNotStrip @Keep @Suppress("unused") @JvmStatic private fun fromCpp(name: String, type: RiveEventType, delay: Double?, properties: Map?, url: String?, target: String?): UnifiedRiveEvent { return UnifiedRiveEvent(name, type, delay, properties, url, target) } } }