Compartilhar via


Class SPXAutoDetectSourceLanguageResult

Declaration

@class SPXAutoDetectSourceLanguageResult : NSObject;

Description

Represents auto detection source language result Added in version 1.12.0

Methods

init:

Initializes an SPXAutoDetectSourceLanguageResult object using SPXSpeechRecognitionResult.

- (instancetype _Nonnull)init:(SPXSpeechRecognitionResult * _Nonnull)speechRecognitionResult

Parameters

  • speechRecognitionResult - the speech recognition result

Returns

an instance of auto detection source language result.

Properties

language

@property (readonly, copy, atomic) NSString * _Nullable language;

The language result. It is empty if the service cannot detect the language.