SDL_GetAppMetadataProperty

Get metadata about your app.

This returns metadata previously set using SDL_SetAppMetadata() or SDL_SetAppMetadataProperty(). See SDL_SetAppMetadataProperty() for the list of available properties and their meanings.

extern (C) nothrow @nogc extern
const(char)*
SDL_GetAppMetadataProperty
(
const(char)* name
)

Parameters

name const(char)*

the name of the metadata property to get.

Return Value

Type: const(char)*

The current value of the metadata property, or the default if it is not set, NULL for properties with no default.

Threadsafety: It is safe to call this function from any thread, although the string returned is not protected and could potentially be freed if you call SDL_SetAppMetadataProperty() to set that property from another thread.

See Also

Meta