///
/// PublicationReadyEvent.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.reactnativereadium
import androidx.annotation.Keep
import com.facebook.proguard.annotations.DoNotStrip
/**
* Represents the JavaScript object/struct "PublicationReadyEvent".
*/
@DoNotStrip
@Keep
data class PublicationReadyEvent(
@DoNotStrip
@Keep
val tableOfContents: Array,
@DoNotStrip
@Keep
val positions: Array,
@DoNotStrip
@Keep
val metadata: PublicationMetadata
) {
/* primary constructor */
companion object {
/**
* Constructor called from C++
*/
@DoNotStrip
@Keep
@Suppress("unused")
@JvmStatic
private fun fromCpp(tableOfContents: Array, positions: Array, metadata: PublicationMetadata): PublicationReadyEvent {
return PublicationReadyEvent(tableOfContents, positions, metadata)
}
}
}