get_metadata_value


Description:

public Variant? get_metadata_value (string key, VariantType? expected_type)

Retrieves the metadata value for key.

If expected_type is non-null, any non-null value returned from this function will match expected_type.

Parameters:

this

a SessionItem

key

the metadata key

expected_type

a VariantType or null

Returns:

a non-floating Variant which should be released with g_variant_unref; otherwise null.