Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Declaration
@class SPXSourceLanguageConfiguration : NSObject;
Description
Represents source language configuration, allowing specifying the source language and customized endpoint Added in version 1.12.0
Methods
init:
Initializes an SPXSourceLanguageConfiguration object using the language.
- (instancetype _Nullable)init:(NSString * _Nonnull)language
Parameters
language- value of the language.
Returns
an instance of source language configuration.
init:error:
Initializes an SPXSourceLanguageConfiguration object using the language.
- (instancetype _Nullable)init:(NSString * _Nonnull)language
error:(NSError * _Nullable * _Nullable)outError
Parameters
language- value of the language.outError- error information.
Returns
an instance of source language configuration.
initWithLanguage:endpointId:
Initializes an SPXSourceLanguageConfiguration object using the language and corresponding endpoint id
- (instancetype _Nullable)initWithLanguage:(NSString * _Nonnull)language
endpointId:(NSString * _Nonnull)endpointId
Parameters
language- value of the language.endpointId- id of the customized endpoint, will be used to recognize the audio in the source language.
Returns
an instance of source language configuration.
initWithLanguage:endpointId:error:
Initializes an SPXSourceLanguageConfiguration object using the language and corresponding endpoint id
- (instancetype _Nullable)initWithLanguage:(NSString * _Nonnull)language
endpointId:(NSString * _Nonnull)endpointId error:(NSError * _Nullable * _Nullable)outError
Parameters
language- value of the language.endpointId- id of the customized endpoint, will be used to recognize the audio in the source language.outError- error information.
Returns
an instance of source language configuration.