\IMediaFileInformation
Contains information on a media file
- Author: Damian Mooyman
Synopsis
interface IMediaFileInformation
extends IMediaData
{
- // methods
- public string getFileName()
- public string getFilePath()
- public string getTitle()
- public string getArtist()
- public string getAlbum()
- public string getFormat()
- public double getDuration()
- public string getDurationString()
- public integer getBitrate()
- public integer getFileSize()
- public string getMimeType()
- public Image Picture()
- public IMediaAudioInformation Audio()
- public IMediaVideoInformation Video()
- // Inherited methods from IMediaData
- public boolean exists()
- // Inherited methods from Serializable
- public string serialize()
- public void unserialize()
Hierarchy
Extends
Methods
public
- Audio() — Retrieves information on the audio channel
- Picture() — Attempts to extract the embedded thumbnail in the media file
- Video() — Retrieves information on the video channel
- getAlbum() — Determines the album name from the idv1/idv2 tags
- getArtist() — Determines the artist name from the idv1/idv2 tags
- getBitrate() — Determines the bitrate of this file
- getDuration() — Determines the duration of this file in seconds
- getDurationString() — Determines the duration of this file as a h:m:s formatted string. E.g. 1:12:20
- getFileName() — Determines the file name
- getFilePath() — Determines the full file path
- getFileSize() — Determine filesize in bytes
- getFormat() — Determines the container format of the file
- getMimeType() — Determines the mime type of the file
- getTitle() — Determines the media title from the idv1/idv2 tags
Inherited from IMediaData
public
- exists() — Determine if this information exists and is valid
Inherited from Serializable
public
- serialize() — String representation of object
- unserialize() — Constructs the object