AutoDownloadSettings
Object Hierarchy:
Description:
public class AutoDownloadSettings :
Error
Contains auto-download settings
Content:
Properties:
- public bool is_auto_download_enabled { get; set construct; }
True, if the auto-download is enabled
- public int64 max_other_file_size { get; set construct; }
The maximum size of other file types to be auto-downloaded, in bytes
- public int32 max_photo_file_size { get; set construct; }
The maximum size of a photo file to be auto-downloaded, in bytes
- public int64 max_video_file_size { get; set construct; }
The maximum size of a video file to be auto-downloaded, in bytes
- public bool preload_large_videos { get; set construct; }
True, if the beginning of video files needs to be preloaded for
instant playback
- public bool preload_next_audio { get; set construct; }
True, if the next audio track needs to be preloaded while the user is
listening to an audio file
- public bool preload_stories { get; set construct; }
True, if stories needs to be preloaded
- public bool use_less_data_for_calls { get; set construct; }
True, if "use less data for calls" option needs to be enabled
- public int32 video_upload_bitrate { get; set construct; }
The maximum suggested bitrate for uploaded videos, in kbit/s
Creation methods:
- public AutoDownloadSettings (bool is_auto_download_enabled, int32 max_photo_file_size, int64 max_video_file_size, int64 max_other_file_size, int32 video_upload_bitrate, bool preload_large_videos, bool preload_next_audio, bool preload_stories, bool use_less_data_for_calls)
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