getId

Retrieves the unique ID of the watermark.

public String getId()
Since:
Available since v4.6.0.

Used to obtain the unique identifier of the watermark from a WatermarkBuffer or WatermarkConfig instance.

Restrictions

None.

Returns

When the method call succeeds, it returns the unique ID of the watermark. When it fails, it returns an empty string.