Class

AstalWpDevice

Description

final class AstalWp.Device : GObject.Object
{
  /* No available fields */
}

No description available.

Ancestors

Instance methods

astal_wp_device_get_active_profile_id

Gets the currently active profile of this device.

astal_wp_device_get_description

Gets the description of this device.

astal_wp_device_get_device_type

Gets the type of this device.

astal_wp_device_get_form_factor

Gets the form factor of this device.

astal_wp_device_get_icon

Gets the icon of this device.

astal_wp_device_get_id

Gets the id of this device.

astal_wp_device_get_input_route_id

Gets the currently active input route of this device.

astal_wp_device_get_input_routes

Gets a GList containing the input routes.

astal_wp_device_get_output_route_id

Gets the currently active output route of this device.

astal_wp_device_get_output_routes

Gets a GList containing the output routes.

astal_wp_device_get_profile

Gets the profile with the given id.

astal_wp_device_get_profiles

Gets a GList containing the profiles.

astal_wp_device_get_pw_property

Gets the pipewire property with the give key. You should use the GObject properties of this node whereever possible, as you can get notified on changes, which is not the case here.

astal_wp_device_get_route

Gets the route with the given id.

astal_wp_device_get_routes

Gets a GList containing the routes.

astal_wp_device_set_active_profile_id

Sets the profile for this device.

astal_wp_device_set_route

Sets the route for this device. You should use the astal_wp_endpoint_set_route() instead.

Methods inherited from GObject (43)

Please see GObject for a full list of methods.

Properties

AstalWp.Device:active-profile-id

The id of the currently active profile.

AstalWp.Device:description
No description available.

AstalWp.Device:device
No description available.

AstalWp.Device:device-type

The type of this device.

AstalWp.Device:form-factor

The from factor of this device.

AstalWp.Device:icon

The icon name for this device.

AstalWp.Device:id

The id of this device.

AstalWp.Device:input-route-id

The id of the currently active input route.

AstalWp.Device:input-routes

A list of available input routes.

AstalWp.Device:output-route-id

The id of the currently active output route.

AstalWp.Device:output-routes

A list of available output routes.

AstalWp.Device:profiles

A list of available profiles.

AstalWp.Device:routes

A list of available routes.

Signals

Signals inherited from GObject (1)
GObject::notify

The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.

Class structure

struct AstalWpDeviceClass {
  GObjectClass parent_class;
  
}

No description available.

Class members
parent_class: GObjectClass

No description available.