目录

class info
com.huawei.hms.mlsdk.productvisionsearch.MLVisionSearchProductImage

商品图片信息描述,包括:

  1. productId:商品Id;

  2. imageId:商品图片Id;

  3. possibility: 置信度。

Public Constructor Summary

Constructor name
MLVisionSearchProductImage(String productId, String imageId, float possibility)构造函数。

Public Method Summary

Return typeMethod name
StringgetImageId()
floatgetPossibility()
StringgetProductId()

Public Constructors

Method
public MLVisionSearchProductImage(String productId, String imageId, float possibility)
构造函数。

Parameters

Parameter nameParameter desc
productId商品Id。
imageId商品图片Id。
possibility置信度。

Public Methods

Method
public String getImageId()
返回商品图片Id。

Return

Typedesc
String商品图片Id。
Method
public float getPossibility()
返回置信度。

Return

Typedesc
float置信度
Method
public String getProductId()
返回商品Id。

Return

Typedesc
String商品Id