try_get_xmp_packet


Description:

[ Version ( deprecated = true , deprecated_since = "0.16.0" , since = "0.12.2" ) ]
public string? try_get_xmp_packet () throws Error

Warning: try_get_xmp_packet is deprecated since 0.16.0.

Get the currently encoded XMP packet (after having called [method@GExiv2.

Note:

Use [method@Metadata.try_get_xmp_packet] instead.

Metadata.try_generate_xmp_packet])

Parameters:

this

An instance of [class@GExiv2.Metadata]

Returns:

null if no packet was generated previously, the XMP packet contents otherwise