try_get_xmp_packet


Description:

[ Version ( since = "0.12.2" ) ]
public string? try_get_xmp_packet () throws Error

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