be released with [glib.variant.Variant.unref]; otherwise null.
SessionItem.getMetadataValue
glib.variant.Variant getMetadataValue(string key, glib.variant_type.VariantType expectedType = null)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
key | the metadata key |
expectedType | a #GVariantType or null |
Returns
a non-floating #GVariant which should