CloudRecognizationResult Class¶
getStatus¶
获得识别状态。
- C
easyar_CloudRecognizationStatus easyar_CloudRecognizationResult_getStatus(const easyar_CloudRecognizationResult * This)
- C++
CloudRecognizationStatus getStatus()
- Java
public int getStatus()
- Kotlin
fun getStatus(): Int
- Objective-C
- (easyar_CloudRecognizationStatus)getStatus
- Swift
public func getStatus() -> CloudRecognizationStatus
- C#
public virtual CloudRecognizationStatus getStatus()
getTarget¶
在识别状态为FoundTarget时,获得识别到的target。
- C
void easyar_CloudRecognizationResult_getTarget(const easyar_CloudRecognizationResult * This, easyar_OptionalOfImageTarget * Return)
- C++
std::optional<std::shared_ptr<ImageTarget>> getTarget()
- Java
public @Nullable ImageTarget getTarget()
- Kotlin
fun getTarget(): ImageTarget?
- Objective-C
- (easyar_ImageTarget *)getTarget
- Swift
public func getTarget() -> ImageTarget?
- C#
public virtual Optional<ImageTarget> getTarget()
getUnknownErrorMessage¶
在识别状态为UnknownError时,获得错误信息。
- C
void easyar_CloudRecognizationResult_getUnknownErrorMessage(const easyar_CloudRecognizationResult * This, easyar_OptionalOfString * Return)
- C++
std::optional<std::string> getUnknownErrorMessage()
- Java
public java.lang.@Nullable String getUnknownErrorMessage()
- Kotlin
fun getUnknownErrorMessage(): String?
- Objective-C
- (NSString *)getUnknownErrorMessage
- Swift
public func getUnknownErrorMessage() -> String?
- C#
public virtual Optional<string> getUnknownErrorMessage()