Method

SnapdConnectionget_slot_attribute

since: 1.48

Declaration [src]

GVariant*
snapd_connection_get_slot_attribute (
  SnapdConnection* connection,
  const gchar* name
)

Description [src]

Get an attribute for connected slot.

Available since: 1.48

Parameters

name

Type: const gchar*

An attribute name.

The data is owned by the caller of the method.
The value is a NUL terminated UTF-8 string.

Return value

Type: GVariant

An attribute value or NULL if not set.

The returned data is owned by the instance.
The return value can be NULL.