Class FaceAnalyzerCreateOptions
- java.lang.Object
-
- com.azure.android.ai.vision.faceanalyzer.FaceAnalyzerCreateOptions
-
- All Implemented Interfaces:
AutoCloseable
public final class FaceAnalyzerCreateOptions extends Object implements AutoCloseable
Defines the options used to create the FaceAnalyzer object.
-
-
Constructor Summary
Constructors Constructor Description FaceAnalyzerCreateOptions()
Instantiates a new FaceAnalyzerCreateOptions.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
close()
Dispose of associated resources.PropertyCollection
getProperties()
Gets properties.void
setFaceAnalyzerMode(FaceAnalyzerMode FaceAnalyzerMode)
Defines how the face analysis is performed.
-
-
-
Method Detail
-
setFaceAnalyzerMode
public void setFaceAnalyzerMode(FaceAnalyzerMode FaceAnalyzerMode)
Defines how the face analysis is performed.- Parameters:
FaceAnalyzerMode
- the face analyzer mode
-
getProperties
public PropertyCollection getProperties()
Gets properties.- Returns:
- The properties
-
close
public void close() throws Exception
Dispose of associated resources. Note: close() must be called in order to release underlying resources held by the object.- Specified by:
close
in interfaceAutoCloseable
- Throws:
Exception
-
-