to the value's #GVariantType. Otherwise false and value_type is unchanged.
SessionItem.hasMetadata
bool hasMetadata(string key, out glib.variant_type.VariantType valueType)If the item contains a metadata value for key.
Checks if a value exists for a metadata key and retrieves the #GVariantType for that key.
Parameters
key | the name of the metadata |
valueType | a location for a #GVariantType or null |
Returns
true if self contains metadata named key and value_type is set