目录

class info
com.huawei.hms.mlsdk.common.MLCompositeAnalyzer.Creator
Creates an instance of MLCompositeAnalyzer, which allows different types of analyzers.

Public Constructor Summary

Constructor name
Creator()
Creates an instance of MLCompositateAnalyzer.Creator.

Public Method Summary

Return typeMethod name
MLCompositeAnalyzer.Creatoradd(MLAnalyzer<? extends Object> analyzer)
MLCompositeAnalyzercreate()

Public Constructors

Method
public Creator()
Creates an instance of MLCompositeAnalyzer.Creator.

Public Methods

Method
public MLCompositeAnalyzer.Creator add(MLAnalyzer<? extends Object> analyzer)
Adds an analyzer to a composite analyzer.

Parameters

Parameter nameParameter desc
analyzerAnalyzer instance, for example, instance of MLAnalyzer.


Return

Typedesc
MLCompositeAnalyzer.CreatorAn instance of MLCompositateAnalyzer.Creator.
Method
public MLCompositeAnalyzer create()
Creates an instance of MLCompositeAnalyzer.

Return

Typedesc
MLCompositeAnalyzerAn instance of MLCompositeAnalyzer.