E.SourceRefresh – libedataserver-1.2 Reference Manual
Packages
libedataserver-1.2
E
SourceRefresh
enabled
enabled_on_metered_network
interval_minutes
SourceRefresh
get_enabled
get_enabled_on_metered_network
get_interval_minutes
set_enabled
set_enabled_on_metered_network
set_interval_minutes
SourceRefresh
Object Hierarchy:
Description:
[
CCode
( type_id =
"e_source_refresh_get_type ()"
) ]
[
Version
( since =
"3.6"
) ]
public
class
SourceRefresh
:
SourceExtension
Contains only private data that should be read and manipulated using the functions below.
Namespace:
E
Package:
libedataserver-1.2
Content:
Properties:
public
bool
enabled
{
get
;
set
construct
; }
Whether to periodically refresh
public
bool
enabled_on_metered_network
{
get
;
set
construct
; }
Whether to enable refresh on metered network
public
uint
interval_minutes
{
get
;
set
construct
; }
Refresh interval in minutes
Creation methods:
protected
SourceRefresh
()
Methods:
public
bool
get_enabled
()
Returns whether to periodically fetch updates from a remote server.
public
bool
get_enabled_on_metered_network
()
Returns whether can refresh content on metered network.
public
uint
get_interval_minutes
()
Returns the interval for fetching updates from a remote server.
public
void
set_enabled
(
bool
enabled)
Sets whether to periodically fetch updates from a remote server.
public
void
set_enabled_on_metered_network
(
bool
enabled)
Sets whether can refresh content on metered network.
public
void
set_interval_minutes
(
uint
interval_minutes)
Sets the interval for fetching updates from a remote server.
Inherited Members:
All known members inherited from class E.SourceExtension
get_source
property_lock
property_unlock
ref_source
source
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