Package org.gnome.gio

Interface RemoteActionGroup

All Superinterfaces:
ActionGroup, Proxy
All Known Implementing Classes:
DBusActionGroup, RemoteActionGroup.RemoteActionGroupImpl

@Generated("io.github.jwharm.JavaGI") public interface RemoteActionGroup extends Proxy, ActionGroup
The GRemoteActionGroup interface is implemented by ActionGroup instances that either transmit action invocations to other processes or receive action invocations in the local process from other processes.

The interface has _full variants of the two methods on ActionGroup used to activate actions: ActionGroup.activateAction(java.lang.String, org.gnome.glib.Variant) and ActionGroup.changeActionState(java.lang.String, org.gnome.glib.Variant). These variants allow a ‘platform data’ GLib.Variant to be specified: a dictionary providing context for the action invocation (for example: timestamps, startup notification IDs, etc).

DBusActionGroup implements GRemoteActionGroup. This provides a mechanism to send platform data for action invocations over D-Bus.

Additionally, DBusConnection.exportActionGroup(java.lang.String, org.gnome.gio.ActionGroup) will check if the exported ActionGroup implements GRemoteActionGroup and use the _full variants of the calls if available. This provides a mechanism by which to receive platform data for action invocations that arrive by way of D-Bus.