Vdocipher
1.26.5
Vdocipher
/
com.vdocipher.aegis.media
/
MediaInfo
Media
Info
class
MediaInfo
An immutable object containing information about a playable media.
Constructors
Functions
Properties
Constructors
Media
Info
Link copied to clipboard
open
fun
MediaInfo
(
type
:
Int
,
mediaId
:
String
,
title
:
String
,
description
:
String
,
durationMs
:
Long
)
Functions
equals
Link copied to clipboard
open
fun
equals
(
o
:
Any
)
:
Boolean
hash
Code
Link copied to clipboard
open
fun
hashCode
(
)
:
Int
Properties
description
Link copied to clipboard
val
description
:
String
Description property of the media as set in your VdoCipher dashboard
duration
Link copied to clipboard
val
duration
:
Long
Duration of the media in milliseconds, or -1 if not available.
media
Id
Link copied to clipboard
val
mediaId
:
String
mediaId or videoId as seen in your VdoCipher dashboard
title
Link copied to clipboard
val
title
:
String
Title property of the media as set in your VdoCipher dashboard
type
Link copied to clipboard
val
type
:
Int
Type of media.
TYPE_INFO
Link copied to clipboard
val
TYPE_INFO
:
Int
=
3
TYPE_OFFLINE
Link copied to clipboard
val
TYPE_OFFLINE
:
Int
=
2
TYPE_STREAMING
Link copied to clipboard
val
TYPE_STREAMING
:
Int
=
1