getPlatformData

open fun getPlatformData(): <Error class: unknown class>?

Gets the platform data associated with the invocation of @cmdline.

This is a #GVariant 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.

It comes from an untrusted external process and hence the types of all values must be validated before being used.

For local invocation, it will be null.

Return

the platform data, or null

Since

2.28