change_action_state_full


Description:

public abstract void change_action_state_full (string action_name, Variant value, Variant platform_data)

Changes the state of a remote action.

This is the same as 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.

Parameters:

this

a RemoteActionGroup

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




2022 vala-language.org