addLabel

external fun addLabel(coordinates: Coordinates, image: String, name: String, details: DataBuffer, validitySec: Int, listener: ProgressListener, labelCategoryId: Int = -1): Int

Add a social label

Parameters

coords

The label coordinates

image

The label image id ( Api user identifier ). Sdk will callback the Api user for an image via ISocialLabelListener::getLabelImage

name

The label name

details

The label details ( Api user own format / data )

validitySec

The label validity in seconds. 0 means never expires

listener

Operation listener

labelCategoryId

Label category id where to add. Default -1 means default label category (if only one label category exists)