Class App.MediaMetadata
Namespace: Headjack
Container class with metadata about a media item (project thumbnail, custom media variable item)
Remarks
Note
Get media metadata using function GetMediaMetadata(String)
Note
Some metadata fields are only relevant to particular media items (e.g. Width for images)
Fields
Filename
Filename of the media item when downloaded (e.g. using DownloadSingleMedia(String, Boolean, OnEnd))
Declaration
public string Filename
Field Value
Type | Description |
---|---|
System.String |
Remarks
Note
This is a randomly generated filename and not the original name shown on the Headjack website
FileSize
Filesize (in bytes) of media item
Declaration
public long FileSize
Field Value
Type | Description |
---|---|
System.Int64 |
Height
Height (in pixels) of media item, for image files
Declaration
public int Height
Field Value
Type | Description |
---|---|
System.Int32 |
Id
Media ID of the item that this metadata describes
Declaration
public string Id
Field Value
Type | Description |
---|---|
System.String |
MimeType
MIME type of this media item (e.g. "image/png")
Declaration
public string MimeType
Field Value
Type | Description |
---|---|
System.String |
Remarks
Note
certain media items do not have an official MIME type, so they get an unofficial type (e.g. "audio/x-tbe" for a TBE spatial audio file)
Width
Width (in pixels) of media item, for image files
Declaration
public int Width
Field Value
Type | Description |
---|---|
System.Int32 |