Snapd.Channel – snapd-glib-2 Reference Manual
Packages
snapd-glib-2
Snapd
Channel
confinement
epoch
name
released_at
revision
size
version
Channel
get_branch
get_confinement
get_epoch
get_name
get_released_at
get_revision
get_risk
get_size
get_track
get_version
Channel
Object Hierarchy:
Description:
[
CCode
( type_id =
"snapd_channel_get_type ()"
) ]
[
Version
( since =
"1.22"
) ]
public
class
Channel
:
Object
Channel
is an opaque data structure and can only be accessed using the provided functions.
Namespace:
Snapd
Package:
snapd-glib-2
Content:
Properties:
public
Confinement
confinement
{
get
;
construct
; }
public
string
epoch
{
get
;
construct
; }
public
string
name
{
get
;
construct
; }
public
DateTime
released_at
{
get
;
construct
; }
public
string
revision
{
get
;
construct
; }
public
int64
size
{
get
;
construct
; }
public
string
version
{
get
;
construct
; }
Creation methods:
protected
Channel
()
Methods:
public
unowned
string
?
get_branch
()
Get the branch this channel is tracking.
public
Confinement
get_confinement
()
Get the confinement this snap is using, e.
public
unowned
string
get_epoch
()
Get the epoch used on this channel, e.
public
unowned
string
get_name
()
Get the name of this channel, e.
public
unowned
DateTime
?
get_released_at
()
Get the date this revision was released into the channel or
null
if unknown.
public
unowned
string
get_revision
()
Get the revision for this snap.
public
unowned
string
get_risk
()
Get the risk this channel is on, one of `stable`, `candidate`, `beta` or `edge`.
public
int64
get_size
()
Get the download size of this snap.
public
unowned
string
get_track
()
Get the track this channel is on.
public
unowned
string
get_version
()
Get the version for this snap.
Inherited Members:
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