Interface
PhoshSessionPresenceDBusPresence
Description [src]
interface Phosh.SessionPresenceDBusPresence : GObject.Object
Abstract interface type for the D-Bus interface org.gnome.SessionManager.Presence.
Prerequisite
In order to implement SessionPresenceDBusPresence, your type must inherit from
GObject
.
Functions
phosh_session_presence_dbus_presence_interface_info
Gets a machine-readable description of the org.gnome.SessionManager.Presence D-Bus interface.
phosh_session_presence_dbus_presence_override_properties
Overrides all GObject
properties in the PhoshSessionPresenceDBusPresence
interface for a concrete class.
The properties are overridden in the order they are defined.
Instance methods
phosh_session_presence_dbus_presence_emit_status_changed
Emits the “StatusChanged” D-Bus signal.
phosh_session_presence_dbus_presence_get_status
Gets the value of the “status” D-Bus property.
phosh_session_presence_dbus_presence_set_status
Sets the “status” D-Bus property to value
.
Properties
Phosh.SessionPresenceDBusPresence:status
Represents the D-Bus property “status”.
Signals
Phosh.SessionPresenceDBusPresence::status-changed
On the client-side, this signal is emitted whenever the D-Bus signal “StatusChanged” is received.
Interface structure
struct PhoshSessionPresenceDBusPresenceIface {
GTypeInterface parent_iface;
guint (* get_status) (
PhoshSessionPresenceDBusPresence* object
);
void (* status_changed) (
PhoshSessionPresenceDBusPresence* object,
guint arg_status
);
}
Interface members
parent_iface |
|
The parent interface. |
|
get_status |
|
No description available. | |
status_changed |
|
No description available. |
Virtual methods
Phosh.SessionPresenceDBusPresence.get_status
Gets the value of the “status” D-Bus property.