LocalFile
Object Hierarchy:
Description:
public class LocalFile :
Error
Content:
Properties:
- public bool can_be_deleted { get; set construct; }
True, if the file can be deleted
- public bool can_be_downloaded { get; set construct; }
True, if it is possible to download or generate the file
- public int64 download_offset { get; set construct; }
Download will be started from this offset. downloaded_prefix_size is
calculated from this offset
- public int64 downloaded_prefix_size { get; set construct; }
If is_downloading_completed is false, then only some prefix of the
file starting from download_offset is ready to be read. downloaded_prefix_size is the size of that prefix in bytes
- public int64 downloaded_size { get; set construct; }
Total downloaded file size, in bytes. Can be used only for calculating
download progress. The actual file size may be bigger, and some parts of it may contain garbage
- public bool is_downloading_active { get; set construct; }
True, if the file is currently being downloaded (or a local copy is
being generated by some other means)
- public bool is_downloading_completed { get; set construct; }
True, if the local copy is fully available
- public string path { get; set construct; }
Local path to the locally available file part; may be empty
Creation methods:
- public LocalFile (string path, bool can_be_downloaded, bool can_be_deleted, bool is_downloading_active, bool is_downloading_completed, int64 download_offset, int64 downloaded_prefix_size, int64 downloaded_size)
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