layout | title | description | keywords | needGenerateH3Content | needAutoGenerateSidebar | noTitleIndex |
---|---|---|---|---|---|---|
default-layout |
ImageTag - Dynamsoft Core Module Android Edition API Reference |
The class ImageTag of Dynamsoft Core Module represents an image tag that can be attached to an image in a system. It contains information about the image, such as the image ID and the image capture distance mode. |
image tag, Java, Kotlin |
true |
true |
true |
The ImageTag
class represents an image tag that can be attached to an image in a system. It contains information about the image, such as the image ID and the image capture distance mode.
Namespace: com.dynamsoft.core.basic_structures
Assembly: DynamsoftCore.aar
class ImageTag
Methods | Description |
---|---|
setImageId |
Set the ID of the image. The ID is the unique identifier of the image. |
getImageId |
Get the ID of the image. The ID is the unique identifier of the image. |
getType |
The type of the image tag. |
setDistanceMode |
Set the capture distance mode of the image. |
getDistanceMode |
Get the capture distance mode of the image. |
Set the ID of the image. The ID is the unique identifier of the image.
void setImageId(int imageId);
Parameters
[in] imageId
: The id of image for identification.
Get the ID of the image. The ID is the unique identifier of the image.
int getImageId();
Return Value
The ID of the image.
The type of the image tag.
EnumImageTagType getType();
Return Value
The EnumImageTagType
of the image.
Set the capture distance mode of the image.
void setDistanceMode(EnumImageCaptureDistanceMode distanceMode)
Parameters
[in] distanceMode
: The capture distance mode of the image.
Get the capture distance mode of the image.
EnumImageCaptureDistanceMode getDistanceMode()
Return Value
The EnumImageCaptureDistanceMode
of the image.