Audio
Object Hierarchy:
Description:
public class Audio :
Error
Describes an audio file. Audio is usually in MP3 or M4A format
Content:
Properties:
- public Minithumbnail? album_cover_minithumbnail { get; set construct; }
The minithumbnail of the album cover; may be null
- public Thumbnail? album_cover_thumbnail { get; set construct; }
The thumbnail of the album cover in JPEG format; as defined by the
sender. The full size thumbnail is expected to be extracted from the downloaded audio file; may be null
- public File audio { get; set construct; }
File containing the audio
- public int32 duration { get; set construct; }
Duration of the audio, in seconds; as defined by the sender
- public ArrayList<Thumbnail?> external_album_covers { get; set construct; }
Album cover variants to use if the downloaded audio file contains no
album cover. Provided thumbnail dimensions are approximate
- public string file_name { get; set construct; }
Original name of the file; as defined by the sender
- public string mime_type { get; set construct; }
The MIME type of the file; as defined by the sender
- public string performer { get; set construct; }
Performer of the audio; as defined by the sender
- public string title { get; set construct; }
Title of the audio; as defined by the sender
Creation methods:
- public Audio (int32 duration, string title, string performer, string file_name, string mime_type, Minithumbnail? album_cover_minithumbnail, Thumbnail? album_cover_thumbnail, ArrayList<Thumbnail?> external_album_covers, File audio)
Inherited Members:
All known members inherited from class TDLib.Error
All known members inherited from class GLib.Object
- @get
- @new
- @ref
- @set
- add_toggle_ref
- add_weak_pointer
- bind_property
- connect
- constructed
- disconnect
- dispose
- dup_data
- dup_qdata
- force_floating
- freeze_notify
- get_class
- get_data
- get_property
- get_qdata
- get_type
- getv
- interface_find_property
- interface_install_property
- interface_list_properties
- is_floating
- new_valist
- new_with_properties
- newv
- notify
- notify_property
- ref_count
- ref_sink
- remove_toggle_ref
- remove_weak_pointer
- replace_data
- replace_qdata
- set_data
- set_data_full
- set_property
- set_qdata
- set_qdata_full
- set_valist
- setv
- steal_data
- steal_qdata
- thaw_notify
- unref
- watch_closure
- weak_ref
- weak_unref