目录

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

Describes the product information. 

  1. productId: product ID.

  2. imageList: product image list.

Public Constructor Summary

Constructor name
MLVisionSearchProduct(String productId, List<MLVisionSearchProductImage> imageList) Constructor.

Public Method Summary

Return typeMethod name
List<MLVisionSearchProductImage>getImageList()
StringgetProductId()

Public Constructors

Method
public MLVisionSearchProduct(String productId, List<MLVisionSearchProductImage> imageList)
Constructor.

Parameters

Parameter nameParameter desc
productIdProduct ID.
imageListProduct image list.

Public Methods

Method
public List<MLVisionSearchProductImage> getImageList()
Obtains the product image list.

Return

Typedesc
List<MLVisionSearchProductImage>Returns the product image list.
Method
public String getProductId()
Obtains the product ID.

Return

Typedesc
StringReturns the product ID.