Gio.RemoteActionGroup.prototype.change_action_state_full

function change_action_state_full(action_name: String, value: GLib.Variant, platform_data: GLib.Variant): void {
    // Gjs wrapper for g_remote_action_group_change_action_state_full()
}
  

Changes the state of a remote action.

This is the same as Gio.ActionGroup.prototype.change_action_state except that it allows for provision of "platform data" to be sent along with the state change request. This typically contains details such as the user interaction timestamp or startup notification information.

platform_data must be non-null and must have the type %G_VARIANT_TYPE_VARDICT. If it is floating, it will be consumed.

Since 2.32

action_name

the name of the action to change the state of

value

the new requested value for the state

platform_data

the platform data to send