| class info |
| com.huawei.hms.mlsdk.landmark.MLRemoteLandmarkAnalyzerSetting |
Represents the landmark analysis configurator, which is used to obtain the landmark analyzer attributes. The landmark analyzer attributes include: 1. Maximum number of detection results2. Mode used by the analyzer 3. Whether certificate fingerprint authentication is enabled for the analyzer |
| Type | Name | Desc |
| MLRemoteLandmarkAnalyzerSetting | DEFAULT_SETTINGS | Default instance of the landmark analysis configurator. maxResults: maximum number of detection results. The default value is 10. modelType: mode used by the analyzer. The default value is 1, indicating the stable mode (STEADY_PATTERN). enforceCertFingerprintMatch: indicates whether certificate fingerprint verification is enabled. The default value is false. |
| int | NEWEST_PATTERN | Latest mode. |
| int | STEADY_PATTERN | Stable mode. |
| Return type | Method name |
| MLRemoteLandmarkAnalyzerSetting.Factory | create() |
| boolean | equals(Object obj) |
| int | getLargestNumOfReturns() |
| int | getPatternType() |
| int | hashCode() |
| Constant |
| public static final int NEWEST_PATTERN |
| Latest mode. Constant value: 2 |
| Constant |
| public static final int STEADY_PATTERN |
| Stable mode. Constant value: 1 |
| Method |
| public MLRemoteLandmarkAnalyzerSetting.Factory create() |
| Creates an instance of MLRemoteAnalyzerSetting.Factory. |
Return
| Type | desc |
| MLRemoteLandmarkAnalyzerSetting.Factory | Returns the instance of MLRemoteAnalyzerSetting.Factory. |
| Method |
| public boolean equals(Object obj) |
| Checks whether two landmark analysis configurator instances are equal. |
Parameters
| Parameter name | Parameter desc |
| obj | Landmark analysis configurator to be compared. |
Return
| Type | desc |
| boolean | true: Two landmark analysis configurator instances are equal. false: Two landmark analysis configurator instances are not equal. |
| Method |
| public int getLargestNumOfReturns() |
| Obtains the maximum number of detection results. |
Return
| Type | desc |
| int | Returns the maximum number of detection results. |
| Method |
| public int getPatternType() |
| Obtains the mode used by the analyzer. |
Return
| Type | desc |
| int | Returns the mode used by the analyzer. STEADY_PATTERN: The value is 1, indicating the stable mode. NEWEST_PATTERN: The value is 2, indicating the latest mode. |
| Method |
| public int hashCode() |
| Obtains the hash value of the landmark analysis configurator instance. |
Return
| Type | desc |
| int | Returns the hash value of the landmark analysis configurator instance. |