replaceSmartLabelBarcodeData¶
Description
Replaces the barcode data of the specified Smart Label object.
Syntax
public func replaceSmartLabelBarcodeData(mapId: Int, text: String) async throws
Parameter
mapId
Specifies the map ID of the target object.
The map ID can be checked in the application's UI.

text
The barcode data to replace the existing value with.
Even if the specified text is not valid barcode data, no error is raised.
Make sure to validate the barcode data before passing it to this method.