Method

SnapdPlugRefget_snap

since: 1.48

Declaration [src]

const gchar*
snapd_plug_ref_get_snap (
  SnapdPlugRef* plug_ref
)

Description [src]

Get the snap this plug is on.

Available since: 1.48

Gets propertySnapd.PlugRef:snap

Return value

Type: const gchar*

A snap name.

The returned data is owned by the instance.
The value is a NUL terminated UTF-8 string.