Gio.ApplicationCommandLine.prototype.get_platform_data

function get_platform_data(): GLib.Variant {
    // Gjs wrapper for g_application_command_line_get_platform_data()
}
  

Gets the platform data associated with the invocation of cmdline.

This is a GLib.Variant dictionary containing information about the context in which the invocation occurred. It typically contains information like the current working directory and the startup notification ID.

For local invocation, it will be null.

Since 2.28

Returns

the platform data, or null