MediaInfo

class MediaInfo

An immutable object containing information about a playable media.

Constructors

Link copied to clipboard
constructor(type: Int, mediaId: String, title: String, description: String, durationMs: Long)

Properties

Link copied to clipboard
Description property of the media as set in your VdoCipher dashboard
Link copied to clipboard
Duration of the media in milliseconds, or -1 if not available.
Link copied to clipboard
mediaId or videoId as seen in your VdoCipher dashboard
Link copied to clipboard
Title property of the media as set in your VdoCipher dashboard
Link copied to clipboard
val type: Int
Type of media.
Link copied to clipboard
val TYPE_INFO: Int = 3
Link copied to clipboard
val TYPE_OFFLINE: Int = 2
Link copied to clipboard

Functions

Link copied to clipboard
open fun equals(o: Any): Boolean
Link copied to clipboard
open fun hashCode(): Int