EngineEventMediaResourceData

data class EngineEventMediaResourceData(val isDataUrl: Boolean, val isRemoteUrl: Boolean, val mediaTypeCategory: MediaTypeCategory, val resourceUrl: String?)

Contains information about a media resource related with certain an EngineEvent.

Constructors

Link copied to clipboard
fun EngineEventMediaResourceData(isDataUrl: Boolean, isRemoteUrl: Boolean, mediaTypeCategory: MediaTypeCategory, resourceUrl: String?)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
fun serialize(generator: JsonGenerator)

Properties

Link copied to clipboard

If the resource URL is a base64 URL

Link copied to clipboard

If the resource URL is a remote http URL.

Link copied to clipboard

What kind of media this resource is, i.e. image, video or audio.

Link copied to clipboard

Return the source URL that can be used to fetch a Resource from the publication's ResourceProvider.