diff --git a/Package.swift b/Package.swift
index 665b2b7..8f13dee 100644
--- a/Package.swift
+++ b/Package.swift
@@ -6,18 +6,20 @@ let package = Package(
name: "Dragon-Medical-SpeechKit-iOS",
defaultLocalization: "en",
products: [
- // Products define the executables and libraries produced by a package, and make them visible to other packages.
.library(
name: "Dragon-Medical-SpeechKit-iOS",
targets: ["Bundle", "DragonMedicalSpeechKit"]
)
],
+ dependencies: [
+ .package(url: "https://github.com/microsoft/speech-sdk-spm", exact: "1.51.2")
+ ],
targets: [
- // Targets are the basic building blocks of a package. A target can define a module or a test suite.
- // Targets can depend on other targets in this package, and on products in packages which this package depends on.
.target(
name: "Bundle",
- dependencies: ["MicrosoftCognitiveServicesSpeech"],
+ dependencies: [
+ .product(name: "MicrosoftCognitiveServicesSpeechEmbedded-iOS", package: "speech-sdk-spm")
+ ],
path: "Sources/SDK",
resources: [
.process("Bundle/Resources"),
@@ -25,12 +27,8 @@ let package = Package(
]
),
.binaryTarget(
- name: "DragonMedicalSpeechKit",
- path: "Sources/SDK/DragonMedicalSpeechKit.xcframework"
- ),
- .binaryTarget(
- name: "MicrosoftCognitiveServicesSpeech",
- path: "Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework"
+ name: "DragonMedicalSpeechKit",
+ path: "Sources/SDK/DragonMedicalSpeechKit.xcframework"
)
]
)
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/Info.plist b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/Info.plist
deleted file mode 100644
index 8a35a51..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/Info.plist
+++ /dev/null
@@ -1,40 +0,0 @@
-
-
-
-
- AvailableLibraries
-
-
- LibraryIdentifier
- ios-arm64
- LibraryPath
- MicrosoftCognitiveServicesSpeech.framework
- SupportedArchitectures
-
- arm64
-
- SupportedPlatform
- ios
-
-
- LibraryIdentifier
- ios-arm64_x86_64-simulator
- LibraryPath
- MicrosoftCognitiveServicesSpeech.framework
- SupportedArchitectures
-
- arm64
- x86_64
-
- SupportedPlatform
- ios
- SupportedPlatformVariant
- simulator
-
-
- CFBundlePackageType
- XFWK
- XCFrameworkFormatVersion
- 1.0
-
-
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXAudioConfiguration.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXAudioConfiguration.h
deleted file mode 100644
index 45eb508..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXAudioConfiguration.h
+++ /dev/null
@@ -1,201 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXAudioStream.h"
-#import "SPXAudioProcessingOptions.h"
-
-/**
- * Represents audio input or output configuration. Audio input can be from a microphone, file, or input stream.
- * Audio output can be to a speaker, audio file output in WAV format, or output stream.
- */
-SPX_EXPORT
-@interface SPXAudioConfiguration : NSObject
-
-/**
- * Initializes an SPXAudioConfiguration object using the default microphone on the system.
- *
- * @return an instance of audio input configuration.
- */
-- (nonnull instancetype)init;
-
-/**
- * Initializes an SPXAudioConfiguration object using the default microphone on the system and audio processing options.
- *
- * @param audioProcessingOptions the audio processing options.
- * @return an instance of audio input configuration.
- */
-- (nonnull instancetype)init:(nonnull SPXAudioProcessingOptions *)audioProcessingOptions;
-
-/**
- * Initializes an SPXAudioConfiguration object using the specified audio input of the system.
- *
- * Added in version 1.3.0.
- *
- * @param deviceName the unique ID of the input device to be used. If this is nil, the default is used. Please refer to this page on how to retrieve platform-specific microphone names.
- * @note Specifying a non-default device name is not supported in iOS.
- * @note If the specified device is not available, a failure will occur when starting recognition using this SPXAudioConfiguration object.
- * @return an instance of audio input configuration.
- */
-- (nullable instancetype)initWithMicrophone:(nullable NSString *)deviceName;
-
-/**
- * Initializes an SPXAudioConfiguration object using the specified audio input of the system and audio processing options.
- *
- * @param deviceName the unique ID of the input device to be used. If this is nil, the default is used. Please refer to this page on how to retrieve platform-specific microphone names.
- * @param audioProcessingOptions the audio processing options.
- * @note Specifying a non-default device name is not supported in iOS.
- * @note If the specified device is not available, a failure will occur when starting recognition using this SPXAudioConfiguration object.
- * @return an instance of audio input configuration.
- */
-- (nullable instancetype)initWithMicrophone:(nullable NSString *)deviceName audioProcessingOptions:(nonnull SPXAudioProcessingOptions *)audioProcessingOptions;
-
-/**
- * Initializes an SPXAudioConfiguration object using the specified file as input.
- *
- * @param path path of the audio input file.
- * @return an instance of audio input configuration.
- */
-- (nullable instancetype)initWithWavFileInput:(nonnull NSString *)path;
-
-/**
- * Initializes an SPXAudioConfiguration object using the specified file as input and audio processing options.
- *
- * @param path path of the audio input file.
- * @param audioProcessingOptions the audio processing options.
- * @return an instance of audio input configuration.
- */
-- (nullable instancetype)initWithWavFileInput:(nonnull NSString *)path audioProcessingOptions:(nonnull SPXAudioProcessingOptions *)audioProcessingOptions;
-
-/**
- * Initializes an SPXAudioConfiguration object using the default audio output device (speaker) on the system as output.
- * @note Please ensure that the speaker is available before using this method.
- *
- * Added in version 1.7.0
- *
- * @return an instance of audio input configuration.
- */
-- (nullable instancetype)initWithDefaultSpeakerOutput
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes an SPXAudioConfiguration object using the default audio output device (speaker) on the system as output.
- * @note Please ensure that the speaker is available before using this method.
- *
- * Added in version 1.7.0
- *
- * @param outError error information.
- * @return an instance of audio input configuration.
- */
-- (nullable instancetype)initWithDefaultSpeakerOutput:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes an SPXAudioConfiguration object using a given audio output device (speaker) on the system as output.
- * @param deviceName the unique ID of the input device to be used.
- * @return an instance of audio input configuration.
- * @note Specifying a non-default device name is not supported in iOS.
- * @note Please ensure that the speaker is available before using this method.
- *
- * Added in version 1.17.0
- */
-- (nullable instancetype)initWithSpeakerOutput:(nonnull NSString *)deviceName
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes an SPXAudioConfiguration object using a given audio output device (speaker) on the system as output.
- * @param deviceName the unique ID of the input device to be used.
- * @param outError error information.
- * @return an instance of audio input configuration.
- * @note Specifying a non-default device name is not supported in iOS.
- * @note Please ensure that the speaker is available before using this method.
- *
- * Added in version 1.17.0
- */
-- (nullable instancetype)initWithSpeakerOutput:(nonnull NSString *)deviceName error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes an SPXAudioConfiguration object using the specified file as output.
- *
- * Added in version 1.7.0
- *
- * @param path path of the audio output file. The parent directory must already exist.
- * @return an instance of audio input configuration.
- */
-- (nullable instancetype)initWithWavFileOutput:(nonnull NSString *)path
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes an SPXAudioConfiguration object using the specified file as output.
- *
- * Added in version 1.7.0
- *
- * @param path path of the audio output file. The parent directory must already exist.
- * @param outError error information.
- * @return an instance of audio input configuration.
- */
-- (nullable instancetype)initWithWavFileOutput:(nonnull NSString *)path error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes an SPXAudioConfiguration object using the specified stream as input.
- *
- * @param stream the custom audio input stream.
- * @return an instance of audio input configuration.
-*/
-- (nullable instancetype)initWithStreamInput:(nonnull SPXAudioInputStream *)stream;
-
-/**
- * Initializes an SPXAudioConfiguration object using the specified stream as input.
- *
- * @param stream the custom audio input stream.
- * @param audioProcessingOptions the audio processing options.
- * @return an instance of audio input configuration.
-*/
-- (nullable instancetype)initWithStreamInput:(nonnull SPXAudioInputStream *)stream audioProcessingOptions:(nonnull SPXAudioProcessingOptions *)audioProcessingOptions;
-
-/**
- * Initializes an SPXAudioConfiguration object using the specified stream as output.
- *
- * Added in version 1.7.0
- *
- * @param stream the custom audio output stream.
- * @return an instance of audio output configuration.
-*/
-- (nullable instancetype)initWithStreamOutput:(nonnull SPXAudioOutputStream *)stream
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes an SPXAudioConfiguration object using the specified stream as output.
- *
- * Added in version 1.7.0
- *
- * @param stream the custom audio output stream.
- * @param outError error information.
- * @return an instance of audio output configuration.
-*/
-- (nullable instancetype)initWithStreamOutput:(nonnull SPXAudioOutputStream *)stream error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Returns the property value.
- * If the name is not available, it returns an empty string.
- *
- * @param name property name.
- * @return value of the property.
- */
--(nullable NSString *)getPropertyByName:(nonnull NSString *)name;
-
-/**
- * Sets the property value by name.
- *
- * @param name property name.
- * @param value value of the property.
- */
--(void)setPropertyTo:(nonnull NSString *)value byName:(nonnull NSString *)name;
-
-/**
- * The audio processing options.
- */
-@property (readonly, nullable)SPXAudioProcessingOptions *audioProcessingOptions;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXAudioDataStream.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXAudioDataStream.h
deleted file mode 100644
index 3999e57..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXAudioDataStream.h
+++ /dev/null
@@ -1,133 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXSpeechEnums.h"
-#import "SPXSpeechSynthesisResult.h"
-#import "SPXKeywordRecognitionResult.h"
-
-/**
- * Represents audio data stream used for operating audio data as a stream.
- *
- * Added in version 1.7.0
- */
-SPX_EXPORT
-@interface SPXAudioDataStream : NSObject
-
-/**
- * Initializes an audio data stream from given speech synthesis result.
- *
- * @param result the speech synthesis result.
- * @return an instance of audio data stream.
- */
-- (nullable instancetype)initFromSynthesisResult:(nonnull SPXSpeechSynthesisResult *)result
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes an audio data stream from given speech synthesis result.
- *
- * @param result the speech synthesis result.
- * @param outError error information.
- * @return an instance of audio data stream.
- */
-- (nullable instancetype)initFromSynthesisResult:(nonnull SPXSpeechSynthesisResult *)result error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Obtains the memory backed AudioDataStream associated with a given KeywordRecognition result.
- *
- * @param result the keyword recognition result.
- * @return An audio stream with the input to the KeywordRecognizer starting from right before the Keyword.
- */
-- (nullable instancetype)initFromKeywordRecognitionResult:(nonnull SPXKeywordRecognitionResult *)result
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Obtains the memory backed AudioDataStream associated with a given KeywordRecognition result.
- *
- * @param result the keyword recognition result.
- * @param outError error information.
- * @return An audio stream with the input to the KeywordRecognizer starting from right before the Keyword.
- */
-- (nullable instancetype)initFromKeywordRecognitionResult:(nonnull SPXKeywordRecognitionResult *)result error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Get current status of the audio data stream.
- *
- * @return current status.
- */
-- (SPXStreamStatus)getStatus;
-
-/**
- * Check wheather the stream has enough data to be read.
- *
- * @param bytesRequested the request data size in bytes.
- * @return a bool indicating whether the stream has enough data to be read.
- */
-- (BOOL)canReadData:(NSUInteger)bytesRequested;
-
-/**
- * Check whether the stream has enough data to be read, starting from the specified position.
- *
- * @param pos the position counting from start of the stream.
- * @param bytesRequested the request data size in bytes.
- * @return a bool indicating whether the stream has enough data to be read.
- */
-- (BOOL)canReadDataFromPosition:(NSUInteger)pos bytesRequested:(NSUInteger)bytesRequested;
-
-/**
- * Reads a chunk of the audio data and fill it to given buffer.
- *
- * @param data a buffer to receive read data.
- * @param length length of the data to be received.
- * @return length of data filled to the buffer, 0 means end of stream.
- */
-- (NSUInteger)readData:(nonnull NSMutableData *)data length:(NSUInteger)length;
-
-/**
- * Reads a chunk of the audio data and fill it to given buffer, starting from the specified position.
- *
- * @param pos the position counting from start of the stream.
- * @param data a buffer to receive read data.
- * @param length length of the data to be received.
- * @return length of data filled to the buffer, 0 means end of stream.
- */
-- (NSUInteger)readDataFromPosition:(NSUInteger)pos data:(nonnull NSMutableData *)data length:(NSUInteger)length;
-
-/**
- * Save the audio data to a file.
- *
- * @param fileName the file name with full path.
- */
-- (void)saveToWavFile:(nonnull NSString *)fileName;
-
-/**
- * Get current position of the audio data stream.
- *
- * @return current position
- */
-- (NSUInteger)getPosition;
-
-/**
- * Set current position of the audio data stream.
- *
- * @param pos position to be set.
- */
-- (void)setPosition:(NSUInteger)pos;
-
-/**
- * Stops any more data from getting to the stream.
- *
- */
-- (void)detachInput
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Stops any more data from getting to the stream.
- *
- * @param outError error information.
- */
-- (void)detachInput:(NSError * _Nullable * _Nullable)outError;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXAudioProcessingOptions.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXAudioProcessingOptions.h
deleted file mode 100644
index 6e941f6..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXAudioProcessingOptions.h
+++ /dev/null
@@ -1,43 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license201809 for the full license information.
-//
-
-#include "SPXFoundation.h"
-
-/**
- * Represents audio processing constants used for specifying the processing in AudioProcessingOptions.
- */
-typedef NS_OPTIONS(NSUInteger, SPXAudioProcessingConstants)
-{
- /**
- * Disables built-in input audio processing.
- */
- SPX_AUDIO_INPUT_PROCESSING_NONE = 0x00000000,
- /**
- * Enable voice activity detection in input audio processing.
- */
- SPX_AUDIO_INPUT_PROCESSING_ENABLE_VOICE_ACTIVITY_DETECTION = 0x00000020
-};
-
-/**
- * Represents audio processing options used with audio config class.
- */
-SPX_EXPORT
-@interface SPXAudioProcessingOptions : NSObject
-
-/**
- * Initializes an SPXAudioProcessingOptions object using audio processing flags.
- *
- * @param audioProcessingFlags the flags to control the audio processing performed by Speech SDK. It is bitwise OR of SPX_AUDIO_INPUT_PROCESSING_XXX constants from SPXAudioProcessingConstants enum.
- * @return an instance of audio processing options.
- */
-- (nonnull instancetype)init:(SPXAudioProcessingConstants)audioProcessingFlags;
-
-/**
- * The type of audio processing performed by Speech SDK.
- * Bitwise OR of SPX_AUDIO_INPUT_PROCESSING_XXX constant flags from SPXAudioProcessingConstants enum indicating the input audio processing performed by Speech SDK.
- */
-@property (readonly)SPXAudioProcessingConstants audioProcessingFlags;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXAudioStream.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXAudioStream.h
deleted file mode 100644
index ca7f1bb..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXAudioStream.h
+++ /dev/null
@@ -1,168 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXAudioStreamFormat.h"
-#import "SPXSpeechEnums.h"
-
-typedef NSInteger (^SPXPullAudioInputStreamReadHandler)(NSMutableData * _Nonnull, NSUInteger);
-typedef void (^SPXPullAudioInputStreamCloseHandler)(void);
-typedef NSString * _Nonnull (^SPXPullAudioInputStreamGetPropertyHandler)(SPXPropertyId);
-
-typedef NSUInteger (^SPXPushAudioOutputStreamWriteHandler)(NSData * _Nonnull);
-typedef void (^SPXPushAudioOutputStreamCloseHandler)(void);
-
-
-/**
- * Base class representing the audio input stream used for custom audio input configurations.
- * Currently no property and methods defined in the base class.
- */
-SPX_EXPORT
-@interface SPXAudioInputStream : NSObject
-
-@end
-
-/**
- * Represents memory backed push audio input stream used for custom audio input configurations.
- */
-SPX_EXPORT
-@interface SPXPushAudioInputStream : SPXAudioInputStream
-
-/**
- * Initializes a memory-backed SPXPushAudioInputStream using the default format (16 kHz, 16 bit, mono PCM).
- * @return an instance of push audio input stream.
- */
-- (nonnull instancetype)init;
-
-/**
- * Initializes a memory-backed SPXPushAudioInputStream with the specified audio format.
- *
- * @param format The audio data format in which audio will be written to the push audio stream's write() method.
- * @return an instance of push audio input stream.
- */
-- (nullable instancetype)initWithAudioFormat:(nonnull SPXAudioStreamFormat *)format;
-
-/**
- * Writes the specified audio data by making an internal copy of the data.
- * Note: The data should not contain any audio header.
- *
- * @param data The audio buffer of which this function will make a copy.
- */
-- (void)write:(nonnull NSData *)data;
-
-/**
- * Closes the stream.
- */
-- (void)close;
-
-@end
-
-/**
- * Represents an audio input stream used for custom audio input configurations.
- */
-SPX_EXPORT
-@interface SPXPullAudioInputStream : SPXAudioInputStream
-
-/**
- * Initializes an SPXPullAudioInputStream that delegates to the specified callback interface for read() and close() methods, using the default format (16 kHz, 16 bit, mono PCM).
- *
- * @param readHandler handler which will be called in order to read data from the audio input stream. If no data is currently available in the stream, the readHandler should wait until data is available. It returns the number of bytes that have been read. It returns 0 when the stream should be closed. The data returned by read() should not contain any audio header.
- * @param closeHandler handler which will be called in order to close the audio input stream.
- * @return an instance of pull audio input stream.
- */
-- (nullable instancetype)initWithReadHandler:(nonnull SPXPullAudioInputStreamReadHandler)readHandler closeHandler:(nonnull SPXPullAudioInputStreamCloseHandler)closeHandler;
-
-/**
- * Initializes an SPXPullAudioInputStream that delegates to the specified callback functions for read() and close() methods, with the specified audio format.
- *
- * @param format The audio data format in which audio will be written to the push audio stream's write() method.
- * @param readHandler handler which will be called in order to read data from the audio input stream. If no data is currently available in the stream, the readHandler should wait until data is available. It returns the number of bytes that have been read. It returns 0 when stream should be closed. The data returned by read() should not contain any audio header.
- * @param closeHandler handler which will be called in order to close the audio input stream.
- * @return The audio input stream being created.
- */
-- (nullable instancetype)initWithAudioFormat:(nonnull SPXAudioStreamFormat *)format readHandler:(nonnull SPXPullAudioInputStreamReadHandler)readHandler closeHandler:(nonnull SPXPullAudioInputStreamCloseHandler)closeHandler;
-
-/**
- * Initializes an SPXPullAudioInputStream that delegates to the specified callback interface for read() and close() methods, using the default format (16 kHz, 16 bit, mono PCM).
- *
- * @param readHandler handler which will be called in order to read data from the audio input stream. If no data is currently available in the stream, the readHandler should wait until data is available. It returns the number of bytes that have been read. It returns 0 when the stream should be closed. The data returned by read() should not contain any audio header.
- * @param getPropertyHandler handler which will be called in order to get string information associated to given SPXPropertyId.
- * @param closeHandler handler which will be called in order to close the audio input stream.
- * @return an instance of pull audio input stream.
- */
-- (nullable instancetype)initWithReadHandler:(nonnull SPXPullAudioInputStreamReadHandler)readHandler getPropertyHandler:(nonnull SPXPullAudioInputStreamGetPropertyHandler)getPropertyHandler closeHandler:(nonnull SPXPullAudioInputStreamCloseHandler)closeHandler;
-
-/**
- * Initializes an SPXPullAudioInputStream that delegates to the specified callback functions for read() and close() methods, with the specified audio format.
- *
- * @param format The audio data format in which audio will be written to the push audio stream's write() method.
- * @param readHandler handler which will be called in order to read data from the audio input stream. If no data is currently available in the stream, the readHandler should wait until data is available. It returns the number of bytes that have been read. It returns 0 when stream should be closed. The data returned by read() should not contain any audio header.
- * @param getPropertyHandler handler which will be called in order to get string information associated to given SPXPropertyId.
- * @param closeHandler handler which will be called in order to close the audio input stream.
- * @return The audio input stream being created.
- */
-
-- (nullable instancetype)initWithAudioFormat:(nonnull SPXAudioStreamFormat *)format readHandler:(nonnull SPXPullAudioInputStreamReadHandler)readHandler
- getPropertyHandler:(nonnull SPXPullAudioInputStreamGetPropertyHandler)getPropertyHandler
- closeHandler:(nonnull SPXPullAudioInputStreamCloseHandler)closeHandler;
-
-@end
-
-/**
- * Base class representing the audio output stream used for custom audio output configurations.
- * Currently no property and methods defined in the base class.
- *
- * Added in version 1.7.0
- */
-SPX_EXPORT
-@interface SPXAudioOutputStream : NSObject
-
-@end
-
-/**
- * Represents memory backed pull audio output stream used for custom audio output.
- *
- * Added in version 1.7.0
- */
-SPX_EXPORT
-@interface SPXPullAudioOutputStream : SPXAudioOutputStream
-
-/**
- * Creates a memory backed PullAudioOutputStream with the specified audio format.
- *
- * @return An instance of pull audio output stream
- */
-- (nonnull instancetype)init;
-
-/**
- * Reads a chunk of the audio data and fill it to given buffer
- *
- * @param data a buffer to receive read data.
- * @param length the length of data to receive.
- * @return size of data filled to the buffer, 0 means end of stream
- */
-- (NSUInteger)read:(nonnull NSMutableData *)data length:(NSUInteger) length;
-
-@end
-
-/**
- * Represents a push audio output stream used for custom audio output configurations.
- *
- * Added in version 1.7.0
- */
-SPX_EXPORT
-@interface SPXPushAudioOutputStream : SPXAudioOutputStream
-
-/**
- * Initializes an SPXPushAudioOutputStream that delegates to the specified callback interface for write() and close() methods.
- *
- * @param writeHandler Handler which will be called in order to write data synchronously to the data stream.
- * @param closeHandler Handler which will be called to close the audio stream.
- *
- * @return an instance of push audio output stream.
- */
-- (nullable instancetype)initWithWriteHandler:(nonnull SPXPushAudioOutputStreamWriteHandler)writeHandler closeHandler:(nonnull SPXPushAudioOutputStreamCloseHandler)closeHandler;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXAudioStreamFormat.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXAudioStreamFormat.h
deleted file mode 100644
index 87c9a97..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXAudioStreamFormat.h
+++ /dev/null
@@ -1,90 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXAudioStreamFormat.h"
-
-/**
- * Defines supported audio stream container format.
- * Added in version 1.7.0.
- * Note: Compressed input is only supported on iOS.
- */
-typedef NS_ENUM(NSUInteger, SPXAudioStreamContainerFormat)
-{
- /**
- * Stream ContainerFormat definition for OGG OPUS.
- */
- SPXAudioStreamContainerFormat_OGG_OPUS = 0x101,
-
- /**
- * Stream ContainerFormat definition for MP3.
- */
- SPXAudioStreamContainerFormat_MP3 = 0x102,
-
- /**
- * Stream ContainerFormat definition for FLAC. Added in version 1.7.0.
- */
- SPXAudioStreamContainerFormat_FLAC = 0x103,
-
- /**
- * Stream ContainerFormat definition for ALAW. Added in version 1.7.0.
- */
- SPXAudioStreamContainerFormat_ALAW = 0x104,
-
- /**
- * Stream ContainerFormat definition for MULAW. Added in version 1.7.0.
- */
- SPXAudioStreamContainerFormat_MULAW = 0x105,
-
- /**
- * Stream ContainerFormat definition for AMRNB. Currently not supported.
- */
- SPXAudioStreamContainerFormat_AMRNB = 0x106,
-
- /**
- * Stream ContainerFormat definition for AMRWB. Currently not supported.
- */
- SPXAudioStreamContainerFormat_AMRWB = 0x107,
-
- /**
- * Stream ContainerFormat definition for any other or unknown format.
- */
- SPXAudioStreamContainerFormat_ANY = 0x108
-
-};
-
-/**
- * Represents the audio stream format used for custom audio input configurations.
- */
-SPX_EXPORT
-@interface SPXAudioStreamFormat : NSObject
-
-/**
- * Initializes the audio stream format object with the default audio stream format (16 kHz, 16 bit, mono PCM).
- *
- * @return an instance of audio stream format.
- */
-- (nonnull instancetype)init;
-
-/**
- * Initialize the audio stream format object with the specified PCM waveformat characteristics.
- *
- * @param samplesPerSecond sample rate, in samples per second (Hertz).
- * @param bitsPerSample bits per sample.
- * @param channels number of channels in the waveform-audio data.
- * @return an instance of audio stream format.
- */
-- (nullable instancetype)initUsingPCMWithSampleRate:(NSUInteger)samplesPerSecond bitsPerSample:(NSUInteger)bitsPerSample channels:(NSUInteger)channels;
-
-/**
- * Creates an audio stream format object with the specified compressed audio container format, to be used as input format.
- * Support added in 1.5.0.
- * Note: Compressed input is only supported on iOS.
- * @param audioStreamContainerFormat compressed format type.
- * @return an instance of audio stream format.
- */
-- (nullable instancetype)initUsingCompressedFormat:(SPXAudioStreamContainerFormat)audioStreamContainerFormat;
-@end
-
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXAutoDetectSourceLanguageConfiguration.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXAutoDetectSourceLanguageConfiguration.h
deleted file mode 100644
index 1f77156..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXAutoDetectSourceLanguageConfiguration.h
+++ /dev/null
@@ -1,84 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXSourceLanguageConfiguration.h"
-
-/**
- * Represents auto detection source language configuration
- * Updated in version 1.13.0
- */
-SPX_EXPORT
-@interface SPXAutoDetectSourceLanguageConfiguration : NSObject
-
-/**
- * Initializes an SPXAutoDetectSourceLanguageConfiguration object with open range.
- *
- * Note: only SPXSpeechSynthesizer and multilingual SPXTranslationRecognizer support source language auto detection from open range,
- * for SPXRecognizer, please use SPXAutoDetectSourceLanguageConfig with specific source languages.
- *
- * Added in version 1.13.0
- *
- * @return an instance of auto detection source language configuration.
- */
-- (nullable instancetype)initWithOpenRange
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes an SPXAutoDetectSourceLanguageConfiguration object with open range
- *
- * Note: only SPXSpeechSynthesizer and multilingual SPXTranslationRecognizer support source language auto detection from open range,
- * for SPXRecognizer, please use SPXAutoDetectSourceLanguageConfig with specific source languages.
- *
- * Added in version 1.13.0
- *
- * @param outError error information.
- *
- * @return an instance of auto detection source language configuration.
- */
-- (nullable instancetype)initWithOpenRange:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes an SPXAutoDetectSourceLanguageConfiguration object using languages.
- *
- * @param languages the candidate languages.
- *
- * @return an instance of auto detection source language configuration.
- */
-- (nullable instancetype)init:(nonnull NSArray *)languages
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes an SPXAutoDetectSourceLanguageConfiguration object using languages.
- *
- * @param languages the candidate languages.
- * @param outError error information.
- *
- * @return an instance of auto detection source language configuration.
- */
-- (nullable instancetype)init:(nonnull NSArray *)languages error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes an SPXAutoDetectSourceLanguageConfiguration object using source language configurations.
- *
- * @param sourceLanguageConfigurations the candidate source languages' configurations.
- *
- * @return an instance of auto detection source language configuration.
- */
-- (nullable instancetype)initWithSourceLanguageConfigurations:(nonnull NSArray *)sourceLanguageConfigurations
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes an SPXAutoDetectSourceLanguageConfiguration object using source language configurations.
- *
- * @param sourceLanguageConfigurations the candidate source languages' configurations.
- * @param outError error information.
- *
- * @return an instance of auto detection source language configuration.
- */
-- (nullable instancetype)initWithSourceLanguageConfigurations:(nonnull NSArray *)sourceLanguageConfigurations
- error:(NSError * _Nullable * _Nullable)outError;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXAutoDetectSourceLanguageResult.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXAutoDetectSourceLanguageResult.h
deleted file mode 100644
index 600b7f8..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXAutoDetectSourceLanguageResult.h
+++ /dev/null
@@ -1,32 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXSpeechRecognitionResult.h"
-
-/**
- * Represents auto detection source language result
- * Added in version 1.12.0
- */
-SPX_EXPORT
-@interface SPXAutoDetectSourceLanguageResult : NSObject
-
-/**
- * The language result. It is empty if the service cannot detect the language.
- */
-@property (copy, readonly, nullable)NSString *language;
-
-/**
- * Initializes an SPXAutoDetectSourceLanguageResult object using SPXSpeechRecognitionResult.
- *
- * @param speechRecognitionResult the speech recognition result
- *
- * @return an instance of auto detection source language result.
- */
-
-- (nonnull instancetype)init:(nonnull SPXRecognitionResult *)speechRecognitionResult;
-
-
-@end
\ No newline at end of file
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConnection.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConnection.h
deleted file mode 100644
index bf29a35..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConnection.h
+++ /dev/null
@@ -1,201 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXRecognizer.h"
-#import "SPXConversationTranslator.h"
-#import "SPXSpeechSynthesizer.h"
-#import "SPXDialogServiceConnector.h"
-#import "SPXConnectionEventArgs.h"
-#import "SPXConnectionMessageEventArgs.h"
-
-/**
- * Connection is a proxy class for managing connection to the speech service of the specified Recognizer.
- * By default, a Recognizer autonomously manages connection to service when needed.
- * The Connection class provides additional methods for users to explicitly open or close a connection and
- * to subscribe to connection status changes.
- * The use of Connection is optional. It is intended for scenarios where fine tuning of application
- * behavior based on connection status is needed. Users can optionally call Open() to manually
- * initiate a service connection before starting recognition on the Recognizer associated with this Connection.
- * After starting a recognition, calling Open() or Close() might fail. This will not impact
- * the Recognizer or the ongoing recognition. Connection might drop for various reasons, the Recognizer will
- * always try to reinstitute the connection as required to guarantee ongoing operations. In all these cases
- * Connected/Disconnected events will indicate the change of the connection status.
- *
- * Added in version 1.2.0.
- */
-SPX_EXPORT
-@interface SPXConnection : NSObject
-
-typedef void (^SPXConnectionEventHandler)(SPXConnection* _Nonnull, SPXConnectionEventArgs * _Nonnull);
-typedef void (^SPXConnectionMessageEventHandler)(SPXConnection* _Nonnull, SPXConnectionMessageEventArgs * _Nonnull);
-
-/**
- * Gets the Connection instance from the specified recognizer.
- *
- * @param recognizer The recognizer associated with the connection.
- * @return The Connection instance of the recognizer.
- */
-- (nullable instancetype)initFromRecognizer:(nonnull SPXRecognizer *)recognizer
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Gets the Connection instance from the specified recognizer.
- *
- * Added in version 1.6.0.
- *
- * @param recognizer The recognizer associated with the connection.
- * @return The Connection instance of the recognizer.
- * @param outError error information.
- */
-- (nullable instancetype)initFromRecognizer:(nonnull SPXRecognizer *)recognizer error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Gets the Connection instance from the specified conversation translator.
- *
- * @param translator The conversation translator associated with the connection.
- * @return The Connection instance of the conversation translator.
- */
-- (nullable instancetype)initFromConversationTranslator:(nonnull SPXConversationTranslator *)translator
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Gets the Connection instance from the specified conversation translator.
- *
- * Added in version 1.13.0.
- *
- * @param translator The conversation translator associated with the connection.
- * @return The Connection instance of the conversation translator.
- * @param outError error information.
- */
-- (nullable instancetype)initFromConversationTranslator:(nonnull SPXConversationTranslator *)translator error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Gets the Connection instance from the specified speech synthesizer.
- *
- * Added in version 1.17.0
- *
- * @param synthesizer The speech synthesizer associated with the connection.
- * @return The Connection instance of the speech synthesizer.
- */
-- (nullable instancetype)initFromSpeechSynthesizer:(nonnull SPXSpeechSynthesizer *)synthesizer
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Gets the Connection instance from the specified speech synthesizer.
- *
- * Added in version 1.17.0
- *
- * @param synthesizer The speech synthesizer associated with the connection.
- * @return The Connection instance of the speech synthesizer.
- * @param outError error information.
- */
-- (nullable instancetype)initFromSpeechSynthesizer:(nonnull SPXSpeechSynthesizer *)synthesizer error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a Connection instance from the specified DialogServiceConnector.
- *
- * @param dialogServiceConnector the DialogServiceConnector instance associated with the connection.
- * @return a Connection instance associated with the provided DialogServiceConnector.
- */
-- (nonnull instancetype)initFromDialogServiceConnector:(nonnull SPXDialogServiceConnector *)dialogServiceConnector
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a Connection instance from the specified DialogServiceConnector.
- *
- * @param dialogServiceConnector the DialogServiceConnector instance associated with the connection.
- * @param outError error information.
- * @return a Connection instance associated with the provided DialogServiceConnector.
- */
-- (nullable instancetype)initFromDialogServiceConnector:(nonnull SPXDialogServiceConnector *)dialogServiceConnector error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Starts to set up connection to the service.
- * Users can optionally call Open() to manually set up a connection in advance before starting recognition on the
- * Recognizer associated with this Connection. After starting recognition, calling Open() might fail, depending on
- * the process state of the Recognizer. But the failure does not affect the state of the associated Recognizer.
- *
- * Note: On return, the connection might not be ready yet. Please subscribe to the Connected event to
- * be notified when the connection is established.
- *
- * @param forContinuousRecognition indicates whether the connection is used for continuous recognition or single-shot recognition.
- */
-- (void)open:(BOOL)forContinuousRecognition;
-
-/**
- * Closes the connection the service.
- * Users can optionally call Close() to manually shutdown the connection of the associated Recognizer. The call
- * might fail, depending on the process state of the Recognizer. But the failure does not affect the state of the
- * associated Recognizer.
- */
-- (void)close;
-
-/**
- * Subscribes to the Connected event which indicates that the recognizer is connected to service.
- * In order to receive the Connected event after subscribing to it, the Connection object itself needs to be alive.
- * If the Connection object owning this event is out of its life time, all subscribed events won't be delivered.
- */
-- (void)addConnectedEventHandler:(nonnull SPXConnectionEventHandler)eventHandler;
-
-/**
- * Subscribe to the Disconnected event which indicates that the recognizer is disconnected from service.
- * In order to receive the Disconnected event after subscribing to it, the Connection object itself needs to be alive.
- * If the Connection object owning this event is out of its life time, all subscribed events won't be delivered.
- */
-- (void)addDisconnectedEventHandler:(nonnull SPXConnectionEventHandler)eventHandler;
-
-/**
- * Subscribes to the ConnectionMessageReceived event which indicates that a message is received from the service.
- * In order to receive the ConnectionMessageReceived event after subscribing to it, the Connection object itself
- * needs to be alive. If the Connection object owning this event is out of its life time, all subscribed events
- * won't be delivered.
- */
-- (void)addMessageReceivedEventHandler:(nonnull SPXConnectionMessageEventHandler)eventHandler;
-
-/**
- * Appends a parameter in a message to service.
- * Added in version 1.9.0.
- *
- * @param path The path of the message.
- * @param propertyName The propertyName of the message.
- * @param propertyValue The propertyValue of the message as a json string.
- */
-- (void)setMessageProperty:(nonnull NSString *)path propertyName:(nonnull NSString *)propertyName propertyValue:(nonnull NSString *)propertyValue
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Appends a parameter in a message to service.
- * Added in version 1.17.0.
- *
- * @param path The path of the message.
- * @param propertyName The propertyName of the message.
- * @param propertyValue The propertyValue of the message as a json string.
- * @param outError error information.
- */
-- (BOOL)setMessageProperty:(nonnull NSString *)path propertyName:(nonnull NSString *)propertyName propertyValue:(nonnull NSString *)propertyValue error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Send message to service.
- * Added in version 1.9.0.
- *
- * @param path The path of the message.
- * @param payload The payload of the message as a json string.
- */
-- (void)sendMessage:(nonnull NSString *)path payload:(nonnull NSString *)payload
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Send message to service.
- * Added in version 1.9.0.
- *
- * @param path The path of the message.
- * @param payload The payload of the message as a json string.
- * @return The boolean value indicating successful operation.
- * @param outError error information.
- */
-- (BOOL)sendMessage:(nonnull NSString *)path payload:(nonnull NSString *)payload error:(NSError * _Nullable * _Nullable)outError;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConnectionEventArgs.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConnectionEventArgs.h
deleted file mode 100644
index eca69a6..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConnectionEventArgs.h
+++ /dev/null
@@ -1,17 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXSessionEventArgs.h"
-
-/**
- * Defines the payload for Connected/Disconnected events.
- *
- * Added in version 1.2.0.
- */
-SPX_EXPORT
-@interface SPXConnectionEventArgs : SPXSessionEventArgs
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConnectionMessage.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConnectionMessage.h
deleted file mode 100644
index 98b33c7..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConnectionMessage.h
+++ /dev/null
@@ -1,51 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXPropertyCollection.h"
-
-/**
- * ConnectionMessage represents implementation specific messages sent to and received from
- * the speech service. These messages are provided for debugging purposes and should not
- * be used for production use cases with the Azure Cognitive Services Speech Service.
- * Messages sent to and received from the Speech Service are subject to change without
- * notice. This includes message contents, headers, payloads, ordering, etc.
- */
-SPX_EXPORT
-@interface SPXConnectionMessage : NSObject
-
-/**
- * Gets the path associated with SPXConnectionMessage.
- */
-@property (copy, readonly, nonnull)NSString *path;
-
-/**
- * Checks to see if the ConnectionMessage is a text message.
- */
-@property (readonly)bool isTextMessage;
-
-/**
- * Checks to see if the ConnectionMessage is a binary message.
- */
-@property (readonly)bool isBinaryMessage;
-
-/**
- * Gets the text message payload. Typically the text message content-type is
- * application/json. To determine other content-types use Properties.GetProperty("Content-Type").
- */
-@property (copy, readonly, nullable)NSString *textMessage;
-
-/**
- * Gets the binary message payload.
- */
-@property (copy, readonly, nullable)NSData *binaryMessage;
-
-/**
- * Gets the collection of properties and their values defined for SPXConnectionMessage.
- * Message headers can be accessed via this collection (e.g. "Content-Type").
- */
-@property (readonly, nullable)id properties;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConnectionMessageEventArgs.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConnectionMessageEventArgs.h
deleted file mode 100644
index a19ad4f..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConnectionMessageEventArgs.h
+++ /dev/null
@@ -1,21 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXConnectionMessage.h"
-
-/**
- * Defines the payload for Connection's message events.
- *
- */
-SPX_EXPORT
-@interface SPXConnectionMessageEventArgs : NSObject
-
-/**
- * The SPXConnectionMessage instance associated with SPXConnectionMessageEventArgs.
- */
-@property (copy, readonly, nonnull)SPXConnectionMessage *message;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConversation.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConversation.h
deleted file mode 100644
index 00df55f..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConversation.h
+++ /dev/null
@@ -1,338 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXUser.h"
-#import "SPXParticipant.h"
-#import "SPXPropertyCollection.h"
-#import "SPXSpeechConfiguration.h"
-
-/**
- * Performs conversation management including add and remove participants.
- *
- * Added in version 1.13.0.
- */
-SPX_EXPORT
-@interface SPXConversation : NSObject
-
-/**
- * The collection of properties and their values defined for this SPXConversation.
- */
-@property (readonly, nullable)id properties;
-
-/**
- * The unique identifier for the conversation.
- */
-@property (nonatomic, copy, nullable)NSString *conversationId;
-
-/**
- * The authorization token used to communicate with the service.
- * Note: The caller needs to ensure that the authorization token is valid. Before the authorization token expires,
- * the caller needs to refresh it by calling this setter with a new valid token. Otherwise, the recognizer will
- * encounter errors during recognition.
- */
-@property (nonatomic, copy, nullable)NSString *authorizationToken;
-
-/**
- * Initializes a new instance of conversation using the specified speech configuration.
- *
- * @param speechConfiguration speech configuration.
- * @return a conversation instance.
- */
-- (nullable instancetype)init:(nonnull SPXSpeechConfiguration *)speechConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of conversation using the specified speech configuration.
- *
- * @param speechConfiguration speech configuration.
- * @param outError error information.
- * @return a conversation instance.
- */
-- (nullable instancetype)init:(nonnull SPXSpeechConfiguration *)speechConfiguration error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of conversation using the specified speech configuration and conversation id.
- *
- * @param speechConfiguration speech configuration.
- * @param conversationId a unqiue identification of your conversation.
- * @return a conversation instance.
- */
-- (nullable instancetype)init:(nonnull SPXSpeechConfiguration *)speechConfiguration conversationId:(nonnull NSString *)conversationId
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of conversation using the specified speech configuration and conversation id.
- *
- * @param speechConfiguration speech configuration.
- * @param conversationId a unqiue identification of your conversation.
- * @param outError error information.
- * @return a conversation instance.
- */
-- (nullable instancetype)init:(nonnull SPXSpeechConfiguration *)speechConfiguration conversationId:(nonnull NSString *)conversationId error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Starts a conversation, and provides asynchronous callback with the information is conversation started successfully or not.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- */
-- (void)startConversationAsync:(nonnull void (^)(BOOL started, NSError * _Nullable))completedHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Starts a conversation, and provides asynchronous callback with the information is conversation started successfully or not.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param outError error information.
- */
-- (BOOL)startConversationAsync:(nonnull void (^)(BOOL started, NSError * _Nullable))completedHandler error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Ends a conversation, and provides asynchronous callback with the information is conversation ended successfully or not.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- */
-- (void)endConversationAsync:(nonnull void (^)(BOOL ended, NSError * _Nullable))completedHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Ends a conversation, and provides asynchronous callback with the information is conversation ended successfully or not.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param outError error information.
- */
-- (BOOL)endConversationAsync:(nonnull void (^)(BOOL ended, NSError * _Nullable))completedHandler error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Deletes a conversation, and provides asynchronous callback with the information is conversation deletion completed.
- * After deleted, no one will be able to join the conversation.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- */
-- (void)deleteConversationAsync:(nonnull void (^)(BOOL deleted, NSError * _Nullable))completedHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Deletes a conversation, and provides asynchronous callback with the information is conversation deletion completed.
- * After deleted, no one will be able to join the conversation.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param outError error information.
- */
-- (BOOL)deleteConversationAsync:(nonnull void (^)(BOOL deleted, NSError * _Nullable))completedHandler error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Locks a conversation, and provides asynchronous callback with the information is conversation locking completed.
- * After locked, new participants are prevented from joining the conversation.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- */
-- (void)lockConversationAsync:(nonnull void (^)(BOOL locked, NSError * _Nullable))completedHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Locks a conversation, and provides asynchronous callback with the information is conversation locking completed.
- * After locked, new participants are prevented from joining the conversation.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param outError error information.
- */
-- (BOOL)lockConversationAsync:(nonnull void (^)(BOOL locked, NSError * _Nullable))completedHandler error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Unlocks a conversation, and provides asynchronous callback with the information is conversation unlocking completed.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- */
-- (void)unlockConversationAsync:(nonnull void (^)(BOOL unlocked, NSError * _Nullable))completedHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Unlocks a conversation, and provides asynchronous callback with the information is conversation unlocking completed.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param outError error information.
- */
-- (BOOL)unlockConversationAsync:(nonnull void (^)(BOOL unlocked, NSError * _Nullable))completedHandler error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Mute all other participants in the conversation. After this no other participants will have their speech recognitions broadcast,
- * nor be able to send text messages.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- */
-- (void)muteAllParticipantsAsync:(nonnull void (^)(BOOL muted, NSError * _Nullable))completedHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Mute all other participants in the conversation. After this no other participants will have their speech recognitions broadcast,
- * nor be able to send text messages.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param outError error information.
- */
-- (BOOL)muteAllParticipantsAsync:(nonnull void (^)(BOOL muted, NSError * _Nullable))completedHandler error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Unmute all other participants in the conversation.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- */
-- (void)unmuteAllParticipantsAsync:(nonnull void (^)(BOOL unmuted, NSError * _Nullable))completedHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Unmute all other participants in the conversation.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param outError error information.
- */
-- (BOOL)unmuteAllParticipantsAsync:(nonnull void (^)(BOOL unmuted, NSError * _Nullable))completedHandler error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Mute participant with a given userId in the conversation.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param userId A user identifier.
- */
-- (void)muteParticipantAsync:(nonnull void (^)(BOOL muted, NSError * _Nullable))completedHandler userId:(nonnull NSString *)userId
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Mute participant with a given userId in the conversation.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param userId A user identifier.
- * @param outError error information.
- */
-- (BOOL)muteParticipantAsync:(nonnull void (^)(BOOL muted, NSError * _Nullable))completedHandler userId:(nonnull NSString *)userId error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Unmute participant with a given userId in the conversation.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param userId A user identifier.
- */
-- (void)unmuteParticipantAsync:(nonnull void (^)(BOOL unmuted, NSError * _Nullable))completedHandler userId:(nonnull NSString *)userId
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Unmute participant with a given userId in the conversation.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param userId A user identifier.
- * @param outError error information.
- */
-- (BOOL)unmuteParticipantAsync:(nonnull void (^)(BOOL unmuted, NSError * _Nullable))completedHandler userId:(nonnull NSString *)userId error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Adds a participant from a conversation using a user id.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param userId A user identifier.
- */
-- (void)addParticipantAsync:(nonnull void (^)(SPXParticipant * _Nullable, NSError * _Nullable))completedHandler userId:(nonnull NSString *)userId
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Adds a participant from a conversation using a user id.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param userId A user identifier.
- * @param outError error information.
- */
-- (BOOL)addParticipantAsync:(nonnull void (^)(SPXParticipant * _Nullable, NSError * _Nullable))completedHandler userId:(nonnull NSString *)userId error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Adds a participant from a conversation using a Participant object.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param participant A Participant instance.
- */
-- (void)addParticipantAsync:(nonnull void (^)(SPXParticipant * _Nullable, NSError * _Nullable))completedHandler participant:(nonnull SPXParticipant *)participant
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Adds a participant from a conversation using a Participant object.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param participant A Participant instance.
- * @param outError error information.
- */
-- (BOOL)addParticipantAsync:(nonnull void (^)(SPXParticipant * _Nullable, NSError * _Nullable))completedHandler participant:(nonnull SPXParticipant *)participant error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Adds a participant from a conversation using a User object.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param user A User instance.
- */
-- (void)addParticipantAsync:(nonnull void (^)(SPXUser * _Nullable, NSError * _Nullable))completedHandler user:(nonnull SPXUser *)user
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Adds a participant from a conversation using a User object.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param user A User instance.
- * @param outError error information.
- */
-- (BOOL)addParticipantAsync:(nonnull void (^)(SPXUser * _Nullable, NSError * _Nullable))completedHandler user:(nonnull SPXUser *)user error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Remove a participant from a conversation using a user id.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param userId A user identifier.
- */
-- (void)removeParticipantAsync:(nonnull void (^)(BOOL removed, NSError * _Nullable))completedHandler userId:(nonnull NSString *)userId
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Remove a participant from a conversation using a user id.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param userId A user identifier.
- * @param outError error information.
- */
-- (BOOL)removeParticipantAsync:(nonnull void (^)(BOOL removed, NSError * _Nullable))completedHandler userId:(nonnull NSString *)userId error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Remove a participant from a conversation using a Participant object.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param participant A Participant instance.
- */
-- (void)removeParticipantAsync:(nonnull void (^)(BOOL removed, NSError * _Nullable))completedHandler participant:(nonnull SPXParticipant *)participant
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Remove a participant from a conversation using a Participant object.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param participant A Participant instance.
- * @param outError error information.
- */
-- (BOOL)removeParticipantAsync:(nonnull void (^)(BOOL removed, NSError * _Nullable))completedHandler participant:(nonnull SPXParticipant *)participant error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Remove a participant from a conversation using a User object.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param user A User instance.
- */
-- (void)removeParticipantAsync:(nonnull void (^)(BOOL removed, NSError * _Nullable))completedHandler user:(nonnull SPXUser *)user
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Remove a participant from a conversation using a User object.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param user A User instance.
- * @param outError error information.
- */
-- (BOOL)removeParticipantAsync:(nonnull void (^)(BOOL removed, NSError * _Nullable))completedHandler user:(nonnull SPXUser *)user error:(NSError * _Nullable * _Nullable)outError;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConversationEventArgs.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConversationEventArgs.h
deleted file mode 100644
index ef5ba37..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConversationEventArgs.h
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXSessionEventArgs.h"
-
-/**
- * Defines the payload for conversation expiration event.
- *
- */
-SPX_EXPORT
-@interface SPXConversationExpirationEventArgs : SPXSessionEventArgs
-
-/**
- * Represents the time left until the conversation expires.
- */
-@property (readonly)NSUInteger expirationTime;
-
-@end
-
-/**
- * Defines the payload for conversation participant changed event.
- *
- */
-SPX_EXPORT
-@interface SPXConversationParticipantsChangedEventArgs : SPXSessionEventArgs
-
-/**
- * The reason why the participant changed event was raised (e.g. a participant joined).
- */
-@property (readonly)SPXParticipantChangedReason reason;
-
-/**
- * Represents the list of participant(s) that joined, left, or were updated.
- */
-@property (nonatomic, copy, readonly, nonnull)NSArray *participants;
-
-@end
\ No newline at end of file
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConversationTranscriber.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConversationTranscriber.h
deleted file mode 100644
index 35a5a9f..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConversationTranscriber.h
+++ /dev/null
@@ -1,258 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXSpeechConfiguration.h"
-#import "SPXAudioConfiguration.h"
-#import "SPXPropertyCollection.h"
-#import "SPXRecognizer.h"
-#import "SPXConversation.h"
-#import "SPXConversationTranscriptionResult.h"
-#import "SPXConversationTranscriptionEventArgs.h"
-
-/**
- * Performs conversation transcribing for audio input streams, and gets transcribed text and user id as a result.
- */
-SPX_EXPORT
-@interface SPXConversationTranscriber : SPXRecognizer
-
-typedef void (^SPXConversationTranscriptionEventHandler)(SPXConversationTranscriber * _Nonnull, SPXConversationTranscriptionEventArgs * _Nonnull);
-typedef void (^SPXConversationTranscriptionCanceledEventHandler)(SPXConversationTranscriber * _Nonnull, SPXConversationTranscriptionCanceledEventArgs * _Nonnull);
-
-/**
- * The authorization token used to communicate with the conversation transcription service.
- * Note: The caller needs to ensure that the authorization token is valid. Before the authorization token expires,
- * the caller needs to refresh it by calling this setter with a new valid token.
- * Otherwise, the recognizer will encounter errors during recognition.
- */
-@property (nonatomic, copy, nullable)NSString *authorizationToken;
-
-/**
- * Initializes a new instance of a conversation transcriber.
- *
- * @param speechConfiguration speech configuration for conversation transcription.
- * @return a conversation transcriber instance.
- */
-- (nullable instancetype)init:(nonnull SPXSpeechConfiguration *)speechConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of conversation transcriber using the specified audio config.
- *
- * @param speechConfiguration speech configuration for conversation transcription.
- * @param audioConfiguration audio configuration.
- * @return a conversation transcriber instance.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of conversation transcriber using the specified audio config.
- *
- * @param speechConfiguration speech configuration for conversation transcription.
- * @param audioConfiguration audio configuration.
- * @param outError error information.
- * @return a conversation transcriber instance.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of conversation transcriber using the specified source language.
- *
- * @param speechConfiguration speech configuration for conversation transcription.
- * @param language source language.
- * @return a conversation transcriber instance.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration language:(nonnull NSString *)language
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of conversation transcriber using the specified source language.
- *
- * @param speechConfiguration speech configuration for conversation transcription.
- * @param language source language.
- * @param outError error information.
- * @return a conversation transcriber instance.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration
- language:(nonnull NSString *)language
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of conversation transcriber using the specified source language and audio configuration.
- *
- * @param speechConfiguration speech configuration for conversation transcription.
- * @param language source language.
- * @param audioConfiguration audio configuration.
- * @return a conversation transcriber instance.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration
- language:(nonnull NSString *)language
- audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of conversation transcriber using the specified source language and audio configuration.
- *
- * @param speechConfiguration speech configuration for conversation transcription.
- * @param language source language.
- * @param audioConfiguration audio configuration.
- * @param outError error information.
- * @return a conversation transcriber instance.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration
- language:(nonnull NSString *)language
- audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of conversation transcriber using the specified source language configuration.
- *
- * @param speechConfiguration speech configuration for conversation transcription.
- * @param sourceLanguageConfiguration the source language configuration.
- * @return a conversation transcriber instance.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration
- sourceLanguageConfiguration:(nonnull SPXSourceLanguageConfiguration *)sourceLanguageConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of conversation transcriber using the specified source language configuration.
- *
- * @param speechConfiguration speech configuration for conversation transcription.
- * @param sourceLanguageConfiguration the source language configuration.
- * @param outError error information.
- * @return a conversation transcriber instance.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration
- sourceLanguageConfiguration:(nonnull SPXSourceLanguageConfiguration *)sourceLanguageConfiguration
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of conversation transcriber using the specified source language configuration and audio configuration.
- *
- * @param speechConfiguration speech configuration for conversation transcription.
- * @param sourceLanguageConfiguration the source language configuration.
- * @param audioConfiguration audio configuration.
- * @return a conversation transcriber instance.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration
- sourceLanguageConfiguration:(nonnull SPXSourceLanguageConfiguration *)sourceLanguageConfiguration
- audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of conversation transcriber using the specified source language configuration and audio configuration.
- *
- * @param speechConfiguration speech configuration for conversation transcription.
- * @param sourceLanguageConfiguration the source language configuration.
- * @param audioConfiguration audio configuration.
- * @param outError error information.
- * @return a conversation transcriber instance.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration
- sourceLanguageConfiguration:(nonnull SPXSourceLanguageConfiguration *)sourceLanguageConfiguration
- audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of conversation transcriber using the specified configuration for auto language detection.
- *
- * @param speechConfiguration speech configuration for conversation transcription.
- * @param autoDetectSourceLanguageConfiguration the configuration for auto language detection.
- * @return a conversation transcriber instance..
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration
- autoDetectSourceLanguageConfiguration:(nonnull SPXAutoDetectSourceLanguageConfiguration *)autoDetectSourceLanguageConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of conversation transcriber using the specified configuration for auto language detection.
- *
- * @param speechConfiguration speech configuration for conversation transcription.
- * @param autoDetectSourceLanguageConfiguration the configuration for auto language detection.
- * @param outError error information.
- * @return a conversation transcriber instance.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration
- autoDetectSourceLanguageConfiguration:(nonnull SPXAutoDetectSourceLanguageConfiguration *)autoDetectSourceLanguageConfiguration
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of conversation transcriber using the specified configuration for auto language detection and audio configuration.
- *
- * @param speechConfiguration speech configuration for conversation transcription.
- * @param autoDetectSourceLanguageConfiguration the configuration for auto language detection.
- * @param audioConfiguration audio configuration.
- * @return a conversation transcriber instance.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration
- autoDetectSourceLanguageConfiguration:(nonnull SPXAutoDetectSourceLanguageConfiguration *)autoDetectSourceLanguageConfiguration
- audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of conversation transcriber using the specified configuration for auto language detection and audio configuration.
- *
- * @param speechConfiguration speech configuration for conversation transcription.
- * @param autoDetectSourceLanguageConfiguration the configuration for auto language detection.
- * @param audioConfiguration audio configuration.
- * @param outError error information.
- * @return a conversation transcriber instance.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration
- autoDetectSourceLanguageConfiguration:(nonnull SPXAutoDetectSourceLanguageConfiguration *)autoDetectSourceLanguageConfiguration
- audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration
- error:(NSError * _Nullable * _Nullable)outError;
-/**
- * Starts conversation transcribing on a continuous audio stream, until stopTranscribingAsync() is called.
- * User must subscribe to events to receive transcription results.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- */
-- (void)startTranscribingAsync:(nonnull void (^)(BOOL started, NSError * _Nullable))completedHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Starts conversation transcribing on a continuous audio stream, until stopTranscribingAsync() is called.
- * User must subscribe to events to receive transcription results.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param outError error information.
- */
-- (BOOL)startTranscribingAsync:(nonnull void (^)(BOOL started, NSError * _Nullable))completedHandler error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Stops conversation transcribing.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- */
-- (void)stopTranscribingAsync:(nonnull void (^)(BOOL stopped, NSError * _Nullable))completedHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Stops conversation transcribing.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param outError error information.
- */
-- (BOOL)stopTranscribingAsync:(nonnull void (^)(BOOL stopped, NSError * _Nullable))completedHandler error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Subscribes to the Transcribed event which indicates that a final result has been transcribed.
- */
-- (void)addTranscribedEventHandler:(nonnull SPXConversationTranscriptionEventHandler)eventHandler;
-
-/**
- * Subscribes to the Transcribing event which indicates an that intermediate result has been transcribed.
- */
-- (void)addTranscribingEventHandler:(nonnull SPXConversationTranscriptionEventHandler)eventHandler;
-
-/**
- * Subscribes to the Canceled event which indicates that an error occurred during transcription.
- */
-- (void)addCanceledEventHandler:(nonnull SPXConversationTranscriptionCanceledEventHandler)eventHandler;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConversationTranscriptionEventArgs.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConversationTranscriptionEventArgs.h
deleted file mode 100644
index 8213b2b..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConversationTranscriptionEventArgs.h
+++ /dev/null
@@ -1,46 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXRecognitionEventArgs.h"
-#import "SPXConversationTranscriptionResult.h"
-
-/**
- * Defines the payload for conversation transcription events.
- *
- */
-SPX_EXPORT
-@interface SPXConversationTranscriptionEventArgs : SPXRecognitionEventArgs
-
-/**
- * Represents the conversation transcription result.
- */
-@property (readonly, nullable)SPXConversationTranscriptionResult *result;
-
-@end
-
-/**
- * Defines the payload of conversation transcription canceled result events.
- */
-SPX_EXPORT
-@interface SPXConversationTranscriptionCanceledEventArgs : SPXConversationTranscriptionEventArgs
-
-/**
- * The reason the trancription was canceled.
- */
-@property (readonly)SPXCancellationReason reason;
-
-/**
- * The error code in case of an unsuccessful transcription (reason is set to Error).
- *
- */
-@property (readonly)SPXCancellationErrorCode errorCode;
-
-/**
- * The error message in case of an unsuccessful transcription (reason is set to Error).
- */
-@property (copy, readonly, nullable)NSString *errorDetails;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConversationTranscriptionResult.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConversationTranscriptionResult.h
deleted file mode 100644
index c2c4890..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConversationTranscriptionResult.h
+++ /dev/null
@@ -1,20 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXRecognitionResult.h"
-
-/**
- * Defines the result of conversation transcription.
- */
-SPX_EXPORT
-@interface SPXConversationTranscriptionResult : SPXRecognitionResult
-
-/**
- * A string that represents a speaker identifier in the conversation.
- */
-@property (copy, readonly, nullable)NSString *speakerId;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConversationTranslationEventArgs.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConversationTranslationEventArgs.h
deleted file mode 100644
index d335e0e..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConversationTranslationEventArgs.h
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXRecognitionEventArgs.h"
-#import "SPXConversationTranscriptionEventArgs.h"
-#import "SPXConversationTranslationResult.h"
-
-/**
- * Defines the payload for conversation translation events.
- *
- */
-SPX_EXPORT
-@interface SPXConversationTranslationEventArgs : SPXRecognitionEventArgs
-
-/**
- * Represents the conversation translation result.
- */
-@property (readonly, nullable)SPXConversationTranslationResult *result;
-
-@end
-
-/**
- * Defines the payload of conversation translation canceled result events.
- */
-SPX_EXPORT
-@interface SPXConversationTranslationCanceledEventArgs : SPXConversationTranscriptionCanceledEventArgs
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConversationTranslationResult.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConversationTranslationResult.h
deleted file mode 100644
index efc5078..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConversationTranslationResult.h
+++ /dev/null
@@ -1,25 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXTranslationRecognitionResult.h"
-
-/**
- * Defines the result of conversation translation.
- */
-SPX_EXPORT
-@interface SPXConversationTranslationResult : SPXTranslationRecognitionResult
-
-/**
- * A string that represents the original language this result was in.
- */
-@property (copy, readonly, nullable)NSString *originalLang;
-
-/**
- * A string that represents the unique identifier for the participant this result is for.
- */
-@property (copy, readonly, nullable)NSString *participantId;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConversationTranslator.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConversationTranslator.h
deleted file mode 100644
index b38b8e3..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXConversationTranslator.h
+++ /dev/null
@@ -1,255 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXSpeechConfiguration.h"
-#import "SPXAudioConfiguration.h"
-#import "SPXPropertyCollection.h"
-#import "SPXConversation.h"
-#import "SPXConversationEventArgs.h"
-#import "SPXConversationTranslationResult.h"
-#import "SPXConversationTranslationEventArgs.h"
-
-/**
- * A conversation translator that enables a connected experience where participants can use their
- * own devices to see everyone else's recognitions and IMs in their own languages. Participants can
- * also speak and send IMs to others.
- */
-SPX_EXPORT
-@interface SPXConversationTranslator : NSObject
-
-typedef void (^SPXConversationTranslationEventHandler)(SPXConversationTranslator * _Nonnull, SPXConversationTranslationEventArgs * _Nonnull);
-typedef void (^SPXConversationTranslationCanceledEventHandler)(SPXConversationTranslator * _Nonnull, SPXConversationTranslationCanceledEventArgs * _Nonnull);
-typedef void (^SPXConversationParticipantsChangedEventHandler)(SPXConversationTranslator * _Nonnull, SPXConversationParticipantsChangedEventArgs * _Nonnull);
-typedef void (^SPXConversationExpirationEventHandler)(SPXConversationTranslator * _Nonnull, SPXConversationExpirationEventArgs * _Nonnull);
-typedef void (^SPXConversationSessionEventHandler)(SPXConversationTranslator * _Nonnull, SPXSessionEventArgs * _Nonnull);
-
-/**
- * Authorization token used to communicate with the conversation translation service.
- *
- * Note: The caller needs to ensure that the authorization token is valid. Before the authorization token expires,
- * the caller needs to refresh it by calling this setter with a new valid token.
- * Otherwise, the recognizer will encounter errors during recognition.
- */
-@property (nonatomic, copy, readonly, nullable)NSString *authorizationToken;
-
-/**
- * Participant identifier used for conversation translation.
- */
-@property (nonatomic, copy, readonly, nullable)NSString *participantId;
-
-/**
- * Initializes a new instance of a conversation translator using the default configuration.
- * @return a conversation translator instance.
- */
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wnullability"
-- (nullable instancetype)init
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-#pragma clang diagnostic pop
-
-/**
- * Initializes a new instance of a conversation translator using the default configuration.
- *
- * @param outError error information.
- * @return a conversation translator instance.
- */
-- (nullable instancetype)init:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of a conversation translator using the specified audio configuration.
- *
- * @param audioConfiguration audio configuration.
- * @return a conversation translator instance.
- */
-- (nullable instancetype)initWithAudioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of a conversation translator using the specified audio configuration.
- *
- * @param audioConfiguration audio configuration.
- * @return a conversation translator instance.
- */
-- (nullable instancetype)initWithAudioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Joins an existing conversation. You should use this method if you have created a conversation
- * using createConversationAsync.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param conversation conversation instance.
- * @param nickname The display name to use for the current participant.
- */
-- (void)joinConversationAsync:(nonnull void (^)(BOOL joined, NSError * _Nullable))completedHandler conversation:(nonnull SPXConversation *)conversation nickname:(nonnull NSString *)nickname
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Joins an existing conversation. You should use this method if you have created a conversation
- * using createConversationAsync.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param conversation conversation instance.
- * @param nickname The display name to use for the current participant.
- * @param outError error information.
- */
-- (BOOL)joinConversationAsync:(nonnull void (^)(BOOL joined, NSError * _Nullable))completedHandler conversation:(nonnull SPXConversation *)conversation nickname:(nonnull NSString *)nickname error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Joins an existing conversation. You should use this method if you have created a conversation
- * using createConversationAsync.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param conversationId conversation id.
- * @param nickname The display name to use for the current participant.
- * @param language The speech language to use for the current participant.
- */
-- (void)joinConversationAsync:(nonnull void (^)(BOOL joined, NSError * _Nullable))completedHandler conversationId:(nonnull NSString *)conversationId nickname:(nonnull NSString *)nickname language:(nonnull NSString *)language
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Joins an existing conversation. You should use this method if you have created a conversation
- * using createConversationAsync.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param conversationId conversation id.
- * @param nickname The display name to use for the current participant.
- * @param language The speech language to use for the current participant.
- * @param outError error information.
- */
-- (BOOL)joinConversationAsync:(nonnull void (^)(BOOL joined, NSError * _Nullable))completedHandler conversationId:(nonnull NSString *)conversationId nickname:(nonnull NSString *)nickname language:(nonnull NSString *)language error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Leave the current conversation. After this is called, you will no longer receive any events.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- */
-- (void)leaveConversationAsync:(nonnull void (^)(BOOL left, NSError * _Nullable))completedHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Leave the current conversation. After this is called, you will no longer receive any events.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param outError error information.
- */
-- (BOOL)leaveConversationAsync:(nonnull void (^)(BOOL left, NSError * _Nullable))completedHandler error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Sends an instant message to all participants in the conversation. This instant message will
- * be translated into each participant's text language.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param message The message to send.
- */
-- (void)sendTextMessageAsync:(nonnull void (^)(BOOL sent, NSError * _Nullable))completedHandler message:(nonnull NSString *)message
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Sends an instant message to all participants in the conversation. This instant message will
- * be translated into each participant's text language.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param message The message to send.
- * @param outError error information.
- */
-- (BOOL)sendTextMessageAsync:(nonnull void (^)(BOOL sent, NSError * _Nullable))completedHandler message:(nonnull NSString *)message error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Starts sending audio to the conversation service for speech recognition and translation. You
- * should subscribe to the Transcribing, and Transcribed events to receive conversation
- * translation results for yourself, and other participants in the conversation.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- */
-- (void)startTranscribingAsync:(nonnull void (^)(BOOL started, NSError * _Nullable))completedHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Starts sending audio to the conversation service for speech recognition and translation. You
- * should subscribe to the Transcribing, and Transcribed events to receive conversation
- * translation results for yourself, and other participants in the conversation.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param outError error information.
- */
-- (BOOL)startTranscribingAsync:(nonnull void (^)(BOOL started, NSError * _Nullable))completedHandler error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Stops sending audio to the conversation service. You will still receive Transcribing, and
- * Transcribed events for other participants in the conversation.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- */
-- (void)stopTranscribingAsync:(nonnull void (^)(BOOL stopped, NSError * _Nullable))completedHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Stops sending audio to the conversation service. You will still receive Transcribing, and
- * Transcribed events for other participants in the conversation.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param outError error information.
- */
-- (BOOL)stopTranscribingAsync:(nonnull void (^)(BOOL stopped, NSError * _Nullable))completedHandler error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Sets the Cognitive Speech authorization token that will be used for connecting to the server.
- *
- * @param authToken The authorization token.
- * @param region The Azure region for this token.
- */
-- (void)setAuthorizationToken:(nonnull NSString *)authToken region:(nonnull NSString *)region
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Sets the Cognitive Speech authorization token that will be used for connecting to the server.
- *
- * @param authToken The authorization token.
- * @param region The Azure region for this token.
- */
-- (BOOL)setAuthorizationToken:(nonnull NSString *)authToken region:(nonnull NSString *)region error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Subscribes to the Transcribed event which indicates that a final result has been transcribed.
- */
-- (void)addTranscribedEventHandler:(nonnull SPXConversationTranslationEventHandler)eventHandler;
-
-/**
- * Subscribes to the Transcribing event which indicates an that intermediate result has been transcribed.
- */
-- (void)addTranscribingEventHandler:(nonnull SPXConversationTranslationEventHandler)eventHandler;
-
-/**
- * Subscribes to the TextMessageReceived event that signals a translated text message from a conversation participant.
- */
-- (void)addTextMessageReceivedEventHandler:(nonnull SPXConversationTranslationEventHandler)eventHandler;
-
-/**
- * Subscribes to the Canceled event which indicates that an error occurred during transcription.
- */
-- (void)addCanceledEventHandler:(nonnull SPXConversationTranslationCanceledEventHandler)eventHandler;
-
-/**
- * Subscribes to the ConversationParticipantsChanged event that signals participants in the room have changed (e.g. a new participant joined).
- */
-- (void)addConversationParticipantsChangedEventHandler:(nonnull SPXConversationParticipantsChangedEventHandler)eventHandler;
-
-/**
- * Subscribes to the ConversationExpiration event that signals how many more minutes are left before the conversation expires.
- */
-- (void)addConversationExpirationEventHandler:(nonnull SPXConversationExpirationEventHandler)eventHandler;
-
-/**
- * Subscribes to the SessionStarted event using the specified handler.
- */
-- (void)addSessionStartedEventHandler:(nonnull SPXConversationSessionEventHandler)eventHandler;
-
-/**
- * Subscribes to the SessionStopped event using the specified handler.
- */
-- (void)addSessionStoppedEventHandler:(nonnull SPXConversationSessionEventHandler)eventHandler;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXDialogServiceConfiguration.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXDialogServiceConfiguration.h
deleted file mode 100644
index 0722e42..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXDialogServiceConfiguration.h
+++ /dev/null
@@ -1,320 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXPropertyCollection.h"
-
-/**
- * The base configuration type used to create a DialogServiceConnector that can communicate with a voice assistant.
- *
- * SPXDialogServiceConfiguration objects should be initialized directly. Derived objects like
- * SPXDialogBotFrameworkConfiguration should be instantiated, instead.
- */
-SPX_EXPORT
-@interface SPXDialogServiceConfiguration : NSObject
-
-/**
- * The language identifier used for speech-to-text, expressed in BCP-47 format.
- */
-@property (nonatomic, copy, nullable)NSString *language;
-
-/**
- * Returns the value of a configuration property using an explicit string literal as a key.
- * If a property with the provided key is not available, an empty string is returned.
- *
- * @param name the name of the configuration property used as a key to the desired value.
- * @return the value of the indexed configuration property or an empty string if the key is not found.
- */
-- (nullable NSString *)getPropertyByName:(nonnull NSString *)name;
-
-/**
- * Returns the value of a configuration property using a known property ID as a key.
- * If a property with the provided key is not available, an empty string is returned.
- *
- * @param propertyId the property ID for the configuration property.
- * @return the value of the configuration property or an empty string if the key is not found.
- */
-- (nullable NSString *)getPropertyById:(SPXPropertyId)propertyId;
-
-/**
- * Sets the value of a configuration property using a provided string literal as the key.
- *
- * @param value the value to set for the configuration property.
- * @param name the name of the configuration property to use as a key for its value.
- */
-- (void)setPropertyTo:(nonnull NSString *)value byName:(nonnull NSString *)name;
-
-/**
- * Sets the value of a configuration property using a known property ID as the key.
- *
- * @param value the value to set for the configuration property.
- * @param id the property ID for the configuration property.
- */
-- (void)setPropertyTo:(nonnull NSString *)value byId:(SPXPropertyId)id;
-
-/**
- * Sets an advanced configuration property that's encoded into the speech service request upon connection.
- * This is typically used for preview features not available via a well-supported property ID.
- *
- * @param value the property value.
- * @param name the property name.
- * @param channel the channel used to pass the specified property to service.
- */
-- (void)setServicePropertyTo
- :(nonnull NSString *)value
- byName:(nonnull NSString *)name
- usingChannel:(SPXServicePropertyChannel)channel;
-
-@end
-
-/**
- * The specialized configuration type used to initialize a DialogServiceConnector that will connect to a Bot Framework
- * bot using the Direct Line Speech channel.
- *
- * See also: [What is Direct Line Speech?](/azure/cognitive-services/speech-service/direct-line-speech).
- */
-SPX_EXPORT
-@interface SPXDialogBotFrameworkConfiguration : SPXDialogServiceConfiguration
-
-/**
- * Initializes a dialog configuration object used to create a DialogServiceConnector that will communicate with a Bot
- * Framework bot via the Direct Line Speech channel.
- *
- * @param subscriptionKey the subscription key to be used.
- * @param region the region name for the subscription (see the region
- * page).
- * @param botId the identifier of a specific bot resource to request, even if it's not the default for this
- * subscription.
- * @param outError error information.
- * @return a configuration object used to initialize a DialogServiceConnector.
- */
-- (nullable instancetype)initWithSubscription
- :(nonnull NSString *)subscriptionKey
- region:(nonnull NSString *)region
- botId:(NSString * _Nullable)botId
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a dialog configuration object used to create a DialogServiceConnector that will communicate with a Bot
- * Framework bot.
- *
- * @param subscriptionKey the subscription key to be used.
- * @param region the region name for the subscription (see the region
- * page).
- * @param botId the identifier of a specific bot resource to request, even if it's not the default for this
- * subscription.
- * @return a configuration object used to initialize a DialogServiceConnector.
- */
-- (nonnull instancetype)initWithSubscription
- :(nonnull NSString *)subscriptionKey
- region:(nonnull NSString *)region
- botId:(NSString * _Nullable)botId
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a dialog configuration object used to create a DialogServiceConnector that will communicate with a Bot
- * Framework bot.
- * This will connect to the default bot associated with the Direct Line Speech channel for the speech service resource.
- *
- * @param subscriptionKey the subscription key to be used.
- * @param region the region name for the subscription (see the region
- * page).
- * @param outError error information.
- * @return a configuration object used to initialize a DialogServiceConnector.
- */
-- (nullable instancetype)initWithSubscription
- :(nonnull NSString *)subscriptionKey
- region:(nonnull NSString *)region
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a dialog configuration object used to create a DialogServiceConnector that will communicate with a Bot
- * Framework bot.
- * This will connect to the default bot associated with the Direct Line Speech channel for the speech service resource.
- *
- * @param subscriptionKey the subscription key to be used.
- * @param region the region name for the subscription (see the region
- * page).
- * @return a configuration object used to initialize a DialogServiceConnector.
- */
-- (nonnull instancetype)initWithSubscription:(nonnull NSString *)subscriptionKey region:(nonnull NSString *)region
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a dialog configuration object used to create a DialogServiceConnector that will communicate with a Bot
- * Framework bot.
- *
- * Note: An authorization token must be obtained before this call and checked for validity. Before an authorization
- * token expires, it must be refreshed by assigning a new token on the corresponding property present on the
- * DialogServiceConnector created with the configuration object created with this call.
- *
- * @param authorizationToken the authorization token.
- * @param region the region name for the subscription (see the region
- * page).
- * @param botId the identifier of a specific bot resource to request, even if it's not the default for this
- * subscription.
- * @param outError error information.
- * @return a configuration object used to initialize a DialogServiceConnector.
- */
-- (nullable instancetype)initWithAuthorizationToken
- :(nonnull NSString *)authorizationToken
- region:(nonnull NSString *)region
- botId:(NSString * _Nullable)botId
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a dialog configuration object used to create a DialogServiceConnector that will communicate with a Bot
- * Framework bot.
- *
- * Note: An authorization token must be obtained before this call and checked for validity. Before an authorization
- * token expires, it must be refreshed by assigning a new token on the corresponding property present on the
- * DialogServiceConnector created with the configuration object created with this call.
- *
- * @param authorizationToken the authorization token.
- * @param region the region name for the subscription (see the region
- * page).
- * @param botId the identifier of a specific bot resource to request, even if it's not the default for this
- * subscription.
- * @return a configuration object used to initialize a DialogServiceConnector.
- */
-- (nonnull instancetype)initWithAuthorizationToken
- :(nonnull NSString *)authorizationToken
- region:(nonnull NSString *)region
- botId:(NSString * _Nullable)botId
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a dialog configuration object used to create a DialogServiceConnector that will communicate with a Bot
- * Framework bot.
- * This will connect to the default bot associated with the Direct Line Speech channel for the speech service resource.
- *
- * Note: An authorization token must be obtained before this call and checked for validity. Before an authorization
- * token expires, it must be refreshed by assigning a new token on the corresponding property present on the
- * DialogServiceConnector created with the configuration object created with this call.
- *
- * @param authorizationToken the authorization token.
- * @param region the region name for the subscription (see the region
- * page).
- * @param outError error information.
- * @return a configuration object used to initialize a DialogServiceConnector.
- */
-- (nullable instancetype)initWithAuthorizationToken
- :(nonnull NSString *)authorizationToken
- region:(nonnull NSString *)region
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a dialog configuration object used to create a DialogServiceConnector that will communicate with a Bot
- * Framework bot.
- * This will connect to the default bot associated with the Direct Line Speech channel for the speech service resource.
- *
- * Note: An authorization token must be obtained before this call and checked for validity. Before an authorization
- * token expires, it must be refreshed by assigning a new token on the corresponding property present on the
- * DialogServiceConnector created with the configuration object created with this call.
- *
- * @param authorizationToken the authorization token.
- * @param region the region name for the subscription (see the region
- * page).
- * @return a configuration object used to initialize a DialogServiceConnector.
- */
-- (nonnull instancetype)initWithAuthorizationToken
- :(nonnull NSString *)authorizationToken
- region:(nonnull NSString *)region
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-@end
-
-/**
- * The instance interface type used to initialize a DialogServiceConnector that will connect to a Custom Commands
- * application as published from Speech Studio for a speech service resource.
- *
- * See also: [What is Custom Commands?](/azure/cognitive-services/speech-service/custom-commands).
- */
-SPX_EXPORT
-@interface SPXDialogCustomCommandsConfiguration : SPXDialogServiceConfiguration
-
-/**
- * Initializes a dialog configuration object used to create a DialogServiceConnector that will communicate with a
- * Custom Commands application.
- * Requires an identifier for a published Custom Commands application associated with the referenced speech service
- * resource.
- *
- * @param subscriptionKey the subscription key to be used.
- * @param appId the identifier for the Custom Commands application to use, as selected from the subscription.
- * @param region the region name for the subscription (see the region
- * page).
- * @param outError error information.
- * @return a configuration object used to initialize a DialogServiceConnector.
- */
-- (nullable instancetype)initWithSubscription
- :(nonnull NSString *)subscriptionKey
- appId:(nonnull NSString *)appId
- region:(nonnull NSString *)region
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a dialog configuration object used to create a DialogServiceConnector that will communicate with a
- * Custom Commands application.
- * Requires an identifier for a published Custom Commands application associated with the referenced speech service
- * resource.
- *
- * @param subscriptionKey the subscription key to be used.
- * @param appId the identifier for the Custom Commands application to use, as selected from the subscription.
- * @param region the region name for the subscription (see the region
- * page).
- * @return a configuration object used to initialize a DialogServiceConnector.
- */
-- (nonnull instancetype)initWithSubscription
- :(nonnull NSString *)subscriptionKey
- appId:(nonnull NSString *)appId
- region:(nonnull NSString *)region
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a dialog configuration object used to create a DialogServiceConnector that will communicate with a
- * Custom Commands application.
- * Requires an identifier for a published Custom Commands application associated with the referenced speech service
- * resource.
- *
- * Note: An authorization token must be obtained before this call and checked for validity. Before an authorization
- * token expires, it must be refreshed by assigning a new token on the corresponding property present on the
- * DialogServiceConnector created with the configuration object created with this call.
- *
- * @param authorizationToken the authorization token.
- * @param appId the identifier for the Custom Commands application to use, as selected from the subscription.
- * @param region the region name for the subscription (see the region
- * page).
- * @param outError error information.
- * @return a configuration object used to initialize a DialogServiceConnector.
- */
-- (nullable instancetype)initWithAuthorizationToken
- :(nonnull NSString *)authorizationToken
- appId:(nonnull NSString *)appId
- region:(nonnull NSString *)region
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a dialog configuration object used to create a DialogServiceConnector that will communicate with a
- * Custom Commands application.
- * Requires an identifier for a published Custom Commands application associated with the referenced speech service
- * resource.
- *
- * Note: An authorization token must be obtained before this call and checked for validity. Before an authorization
- * token expires, it must be refreshed by assigning a new token on the corresponding property present on the
- * DialogServiceConnector created with the configuration object created with this call.
- *
- * @param authorizationToken the authorization token.
- * @param appId the identifier for the Custom Commands application to use, as selected from the subscription.
- * @param region the region name for the subscription (see the region
- * page).
- * @return a configuration object used to initialize a DialogServiceConnector.
- */
-- (nonnull instancetype)initWithAuthorizationToken
- :(nonnull NSString *)authorizationToken
- appId:(nonnull NSString *)appId
- region:(nonnull NSString *)region
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-@end
\ No newline at end of file
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXDialogServiceConnector.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXDialogServiceConnector.h
deleted file mode 100644
index bd8b383..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXDialogServiceConnector.h
+++ /dev/null
@@ -1,592 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXDialogServiceConnectorActivityReceivedEventArgs.h"
-#import "SPXAudioConfiguration.h"
-#import "SPXAutoDetectSourceLanguageConfiguration.h"
-#import "SPXKeywordRecognitionModel.h"
-#import "SPXSourceLanguageConfiguration.h"
-#import "SPXDialogServiceConfiguration.h"
-#import "SPXDialogServiceConnector.h"
-#import "SPXDialogServiceConnectorTurnStatusReceivedEventArgs.h"
-#import "SPXSpeechRecognitionResult.h"
-#import "SPXSpeechRecognitionEventArgs.h"
-#import "SPXSessionEventArgs.h"
-
-/**
- * An object that communicates with a speech-enabled dialog system using either the Bot Framework or Custom Commands.
- * This type receives speech-to-text results and also facilitates the asynchronous sending and receiving of non-speech
- * dialog activity data.
- *
- * See also:
- * [Integrate with a client application using Speech SDK](/azure/cognitive-services/speech-service/how-to-custom-commands-setup-speech-sdk),
- * [Voice assistants frequently asked questions](/azure/cognitive-services/speech-service/faq-voice-assistants),
- * [What is Custom Commands?](/azure/cognitive-services/speech-service/custom-commands)
- */
-SPX_EXPORT
-@interface SPXDialogServiceConnector : SPXRecognizer
-
-/**
- * Handler type provided to listenOnceAsync that receives speech-to-text results upon completion.
- */
-typedef void (^SPXDialogServiceConnectorRecognitionResultHandler)(SPXSpeechRecognitionResult * _Nonnull);
-
-/**
- * Handler type provided to sendActivityAsync that receives interaction identifiers, as strings, upon completion.
- */
-typedef void (^SPXDialogServiceConnectorInteractionIdHandler)(NSString * _Nonnull);
-
-/**
- * Handler type provided to async methods without async result data that is invoked when an asynchronous stop operation
- * completes.
- */
-typedef void (^SPXDialogServiceConnectorAsyncCompletionHandler)(void);
-
-/**
- * Handler type provided to receieve event information for intermediate and final speech-to-text results.
- */
-typedef void (^SPXDialogServiceConnectorRecognitionEventHandler)(SPXDialogServiceConnector * _Nonnull, SPXSpeechRecognitionEventArgs * _Nonnull);
-
-/**
- * Handler type provided to receive event information for cancellation events as raised when errors or end of input
- * occurs.
- */
-typedef void (^SPXDialogServiceConnectorCanceledEventHandler)(SPXDialogServiceConnector * _Nonnull, SPXSpeechRecognitionCanceledEventArgs * _Nonnull);
-
-/**
- * Handler type provided to receive turn status information from the connected dialog implementation.
- */
-typedef void (^SPXDialogServiceConnectorTurnStatusReceivedEventHandler)(SPXDialogServiceConnector * _Nonnull, SPXDialogServiceConnectorTurnStatusReceivedEventArgs * _Nonnull);
-
-/**
- * Handler type provided to receive activity events from connected dialog implementation.
- */
-typedef void (^SPXDialogServiceConnectorActivityReceivedEventHandler)(SPXDialogServiceConnector * _Nonnull, SPXDialogServiceConnectorActivityReceivedEventArgs * _Nonnull);
-
-/**
- * The authorization token used to communicate with the speech service.
- *
- * Note: The caller needs to ensure that the authorization token is valid. Before the authorization token expires,
- * the caller needs to refresh it by calling this setter with a new valid token.
- */
-@property (nonatomic, copy, nullable)NSString *authorizationToken;
-
-/**
- * A JSON template for activity payload data that will be provided to the speech service for the next conversation.
- * The service will attempt to merge this template into all activities sent to the dialog backend, whether originated
- * by the client with SendActivityAsync or generated by the service, as is the case with speech-to-text results. This
- * allows a client to ensure consistent metadata information is provided to the dialog implementation across
- * interactions.
- */
-@property (nonatomic, copy, nullable)NSString *speechActivityTemplate;
-
-/**
- * Initializes a new instance of dialog service connector that will use the default audio input device for any
- * speech-to-text interactions.
- *
- * @param dialogServiceConfiguration the configuration object that includes information about the selected dialog
- * system.
- * @param outError error information.
- * @return an instance of a dialog service connector.
- */
-- (nullable instancetype)initWithDialogServiceConfiguration
- :(nonnull SPXDialogServiceConfiguration *)dialogServiceConfiguration
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of dialog service connector that will use the default audio input device for any
- * speech-to-text interactions.
- *
- * @param dialogServiceConfiguration the configuration object that includes information about the selected dialog
- * system.
- * @return an instance of a dialog service connector.
- */
-- (nonnull instancetype)initWithDialogServiceConfiguration
- :(nonnull SPXDialogServiceConfiguration *)dialogServiceConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of dialog service connector using the specified audio configuration.
- *
- * @param dialogServiceConfiguration the configuration object that includes information about the selected dialog
- * system.
- * @param audioConfiguration the configuration object for input audio as used by speech-to-text interactions.
- * @param outError error information.
- * @return an instance of a dialog service connector.
- */
-- (nullable instancetype)initWithDialogServiceConfiguration
- :(nonnull SPXDialogServiceConfiguration *)dialogServiceConfiguration
- audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of dialog service connector using the specified audio configuration.
- *
- * @param dialogServiceConfiguration the configuration object that includes information about the selected dialog
- * system.
- * @param audioConfiguration the configuration object for input audio as used by speech-to-text interactions.
- * @return an instance of a dialog service connector.
- */
-- (nonnull instancetype)initWithDialogServiceConfiguration
- :(nonnull SPXDialogServiceConfiguration *)dialogServiceConfiguration
- audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Begins a speech-to-text interaction with this connector and blocks until a single speech-to-text final result is
- * received. The speech-to-text result received is also provided to the configured dialog implementation and that dialog
- * system may produce any number of activity payloads in response to the speech interaction. Speech interactions may be
- * correlated with activities via dialog-specific data in the activity payload.
- *
- * @param outError error information.
- * @return the speech-to-text result from the single-shot speech interaction.
- */
-- (nullable SPXSpeechRecognitionResult *)listenOnce:(NSError * _Nullable * _Nullable)outError NS_RETURNS_RETAINED;
-
-/**
- * Begins a speech-to-text interaction with this connector and blocks until a single speech-to-text final result is
- * received. The speech-to-text result received is also provided to the configured dialog implementation and that dialog
- * system may produce any number of activity payloads in response to the speech interaction. Speech interactions may be
- * correlated with activities via dialog-specific data in the activity payload.
- *
- * @return the speech-to-text result from the single-shot speech interaction.
- */
-- (nonnull SPXSpeechRecognitionResult *)listenOnce
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.") NS_RETURNS_RETAINED;
-
-/**
- * Asynchronously begins a speech-to-text interaction with this connector and immediately returns execution to the
- * calling thread. When received, speech-to-text results may be processed by the provided result handler or retrieved
- * via a subscription to the recognized event. The speech-to-text result produced by this operation is also provided to
- * the configured dialog implementation and that dialog system may produce any number of activity payloads in response
- * to the speech interaction. Speech interactions may be correlated with activities via dialog-specific data in the
- * activity payload.
- *
- * @param resultReceivedHandler the handler function called when a final speech-to-text result is received.
- * @param outError error information.
- * @return a value indicating whether the request to listen started successfully. If NO, additional detail may be
- * available in outError.
- */
-- (BOOL)listenOnceAsync
- :(nonnull SPXDialogServiceConnectorRecognitionResultHandler)resultReceivedHandler
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Asynchronously begins a speech-to-text interaction with this connector and immediately returns execution to the
- * calling thread. When received, speech-to-text results may be processed by the provided result handler or retrieved
- * via a subscription to the recognized event. The speech-to-text result produced by this operation is also provided to
- * the configured dialog implementation and that dialog system may produce any number of activity payloads in response
- * to the speech interaction. Speech interactions may be correlated with activities via dialog-specific data in the
- * activity payload.
- *
- * @param resultReceivedHandler the handler function called when a final speech-to-text result is received.
- */
-- (void)listenOnceAsync:(nonnull SPXDialogServiceConnectorRecognitionResultHandler)resultReceivedHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Requests an immediate stop to any active listening operation. This may interrupt a speech-to-text interaction in
- * progress and any speech-to-text result received may represent an incomplete speech input.
- *
- * Synchronous methods should not be called when handling an event. Use stopListeningAsync if a stop is desired in
- * response to an event.
- *
- * @param outError error information.
- * @return a value indicating whether a request to stop was received successfully. If NO, additional information may be
- * available in outError.
- */
-- (BOOL)stopListening:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Requests an immediate stop to any active listening operation. This may interrupt a speech-to-text interaction in
- * progress and any speech-to-text result received may represent an incomplete speech input.
- *
- * Synchronous methods should not be called when handling an event. Use stopListeningAsync if a stop is desired in
- * response to an event.
- */
-- (void)stopListening
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Requests an immediate stop to any active listening operation. This may interrupt a speech-to-text interaction in
- * progress and any speech-to-text result received may represent an incomplete speech input.
- *
- * @param completionHandler the handler function called when the stop request has completed.
- * @param outError error information.
- * @return a value indicating whether a request to stop was received successfully. If NO, additional information may be
- * available in outError.
- */
-- (BOOL)stopListeningAsync
- :(nonnull SPXDialogServiceConnectorAsyncCompletionHandler)completionHandler
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Requests an immediate stop to any active listening operation. This may interrupt a speech-to-text interaction in
- * progress and any speech-to-text result received may represent an incomplete speech input.
- *
- * @param completionHandler the handler function called when the stop request has completed.
- */
-- (void)stopListeningAsync:(nonnull SPXDialogServiceConnectorAsyncCompletionHandler)completionHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Sends a data payload to dialog implementation that this DialogServiceConnector instance is connected to. This is
- * usually a JSON document with its schema determined by the dialog implementation and the contents of a sent activity
- * should be populated with knowledge about the format and content expectations of the dialog system.
- *
- * Sent activities are not associated with any other interaction and will generate their own standalone interaction
- * identifier when processed by the service. Correlation of conversations and other interactions should be
- * accomplished via the activity payload itself using the capabilities of the dialog implementation used.
- *
- * See also:
- * Bot Framework -- Activity schema,
- * [Quickstart: Create a custom voice assistant](/azure/cognitive-services/speech-service/quickstarts/voice-assistants) (with sendActivity example)
- *
- * @param activity the serialized payload of an activity to send.
- * @param outError error information.
- * @return an interaction identifier acquired when the activity is sent to the service. This may occur before the
- * activity is processed and evaluated by the dialog implementation and the receipt of an interaction identifier does
- * not indicate any success or failure in processing the activity. Information about success or failure may be obtained
- * via response activities with correlation data or with TurnStatusReceived events that correlate to this interaction
- * identifier.
- */
-- (nullable NSString *)sendActivity
- :(nonnull NSString *)activity
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Sends a data payload to dialog implementation that this DialogServiceConnector instance is connected to. This is
- * usually a JSON document with its schema determined by the dialog implementation and the contents of a sent activity
- * should be populated with knowledge about the format and content expectations of the dialog system.
- *
- * Sent activities are not associated with any other interaction and will generate their own standalone interaction
- * identifier when processed by the service. Correlation of conversations and other interactions should be
- * accomplished via the activity payload itself using the capabilities of the dialog implementation used.
- *
- * See also:
- * Bot Framework -- Activity schema,
- * [Quickstart: Create a custom voice assistant](/azure/cognitive-services/speech-service/quickstarts/voice-assistants) (with sendActivity example)
- *
- * @param activity the serialized payload of an activity to send.
- * @return an interaction identifier acquired when the activity is sent to the service. This may occur before the
- * activity is processed and evaluated by the dialog implementation and the receipt of an interaction identifier does
- * not indicate any success or failure in processing the activity. Information about success or failure may be obtained
- * via response activities with correlation data or with TurnStatusReceived events that correlate to this interaction
- * identifier.
- */
-- (nonnull NSString *)sendActivity:(nonnull NSString *)activity
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Sends a data payload to dialog implementation that this DialogServiceConnector instance is connected to. This is
- * usually a JSON document with its schema determined by the dialog implementation and the contents of a sent activity
- * should be populated with knowledge about the format and content expectations of the dialog system.
- *
- * Sent activities are not associated with any other interaction and will generate their own standalone interaction
- * identifier when processed by the service. Correlation of conversations and other interactions should be
- * accomplished via the activity payload itself using the capabilities of the dialog implementation used.
- *
- * @param activity the serialized payload of an activity to send.
- * @param interactionIdReceivedHandler a handler function called when the activity is sent to the service. This may occur
- * before the activity is processed and evaluated by the dialog implementation and the receipt of an interaction
- * identifier does not indicate any success or failure in processing the activity. Information about success or failure
- * may be obtained via response activities with correlation data or with TurnStatusReceived events that correlate to
- * this interaction identifier.
- * @param outError error information.
- * @return a value indicating whether the request to send an activity started successfully. If NO, additional
- * information may be available in outError.
- */
-- (BOOL)sendActivityAsync
- :(NSString * _Nonnull)activity
- interactionIdReceivedHandler:(nonnull SPXDialogServiceConnectorInteractionIdHandler)interactionIdReceivedHandler
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Sends a data payload to dialog implementation that this DialogServiceConnector instance is connected to. This is
- * usually a JSON document with its schema determined by the dialog implementation and the contents of a sent activity
- * should be populated with knowledge about the format and content expectations of the dialog system.
- *
- * Sent activities are not associated with any other interaction and will generate their own standalone interaction
- * identifier when processed by the service. Correlation of conversations and other interactions should be
- * accomplished via the activity payload itself using the capabilities of the dialog implementation used.
- *
- * See also:
- * Bot Framework -- Activity schema,
- * [Quickstart: Create a custom voice assistant](/azure/cognitive-services/speech-service/quickstarts/voice-assistants) (with sendActivityAsync example)
- *
- * @param activity the serialized payload of an activity to send.
- * @param interactionIdReceivedHandler a handler function called when the activity is sent to the service. This may occur
- * before the activity is processed and evaluated by the dialog implementation and the receipt of an interaction
- * identifier does not indicate any success or failure in processing the activity. Information about success or failure
- * may be obtained via response activities with correlation data or with TurnStatusReceived events that correlate to
- * this interaction identifier.
- */
-- (void)sendActivityAsync
- :(NSString * _Nonnull)activity
- interactionIdReceivedHandler:(nonnull SPXDialogServiceConnectorInteractionIdHandler)interactionIdReceivedHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Begins a speech-to-text interaction with this connector using a keyword. This interaction will use the provided
- * keyword model to listen for a keyword indefinitely, during which audio is not sent to the speech service and all
- * processing is performed locally. When a keyword is recognized, the DialogServiceConnector will automatically connect
- * to the speech service and begin sending audio data from just before the keyword as if listenOnceAsync() were invoked.
- * When received, speech-to-text results may be processed by the provided result handler or retrieved via a subscription
- * to the recognized event. The speech-to-text result produced by this operation is also provided to the configured
- * dialog implementation and that dialog system may produce any number of activity payloads in response to the speech
- * interaction. Speech interactions may be correlated with activities via dialog-specific data in the activity payload.
- *
- * @param keywordModel the keyword recognition model.
- * @param outError error information.
- * @return a value indicating whether the requested keyword recognition successfully started. If NO, outError may
- * contain additional information.
- */
-- (BOOL)startKeywordRecognition
- :(nonnull SPXKeywordRecognitionModel *)keywordModel
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Begins a speech-to-text interaction with this connector using a keyword. This interaction will use the provided
- * keyword model to listen for a keyword indefinitely, during which audio is not sent to the speech service and all
- * processing is performed locally. When a keyword is recognized, the DialogServiceConnector will automatically connect
- * to the speech service and begin sending audio data from just before the keyword as if listenOnceAsync() were invoked.
- * When received, speech-to-text results may be processed by the provided result handler or retrieved via a subscription
- * to the recognized event. The speech-to-text result produced by this operation is also provided to the configured
- * dialog implementation and that dialog system may produce any number of activity payloads in response to the speech
- * interaction. Speech interactions may be correlated with activities via dialog-specific data in the activity payload.
- *
- * @param keywordModel the keyword recognition model.
- */
-- (void)startKeywordRecognition:(nonnull SPXKeywordRecognitionModel *)keywordModel
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Asynchronously begins a speech-to-text interaction with this connector and immediately returns execution to the
- * calling thread. This interaction will use the provided keyword model to listen for a keyword indefinitely, during
- * which audio is not sent to the speech service and all processing is performed locally. When a keyword is recognized,
- * the DialogServiceConnector will automatically connect to the speech service and begin sending audio data from just
- * before the keyword as if listenOnceAsync() were invoked. When received, speech-to-text results may be processed by
- * the provided result handler or retrieved via a subscription to the recognized event. The speech-to-text result
- * produced by this operation is also provided to the configured dialog implementation and that dialog system may
- * produce any number of activity payloads in response to the speech interaction. Speech interactions may be correlated
- * with activities via dialog-specific data in the activity payload.
- *
- * @param keywordModel the keyword recognition model.
- * @param completionHandler the handler function called when keyword recognition has started.
- * @param outError error information.
- * @return a value indicating whether the request to start keyword recognition was received successfully. If NO,
- * additional information may available in outError.
- */
-- (BOOL)startKeywordRecognitionAsync
- :(nonnull SPXKeywordRecognitionModel *)keywordModel
- completionHandler:(nonnull SPXDialogServiceConnectorAsyncCompletionHandler)completionHandler
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Asynchronously begins a speech-to-text interaction with this connector and immediately returns execution to the
- * calling thread. This interaction will use the provided keyword model to listen for a keyword indefinitely, during
- * which audio is not sent to the speech service and all processing is performed locally. When a keyword is recognized,
- * the DialogServiceConnector will automatically connect to the speech service and begin sending audio data from just
- * before the keyword as if listenOnceAsync() were invoked. When received, speech-to-text results may be processed by
- * the provided result handler or retrieved via a subscription to the recognized event. The speech-to-text result
- * produced by this operation is also provided to the configured dialog implementation and that dialog system may
- * produce any number of activity payloads in response to the speech interaction. Speech interactions may be correlated
- * with activities via dialog-specific data in the activity payload.
- *
- * @param keywordModel the keyword recognition model.
- * @param completionHandler the handler function called when keyword recognition has started.
- */
-- (void)startKeywordRecognitionAsync
- :(nonnull SPXKeywordRecognitionModel *)keywordModel
- completionHandler:(nonnull SPXDialogServiceConnectorAsyncCompletionHandler)completionHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Stops any active keyword recognition.
- *
- * @param outError error information.
- * @return a value indicating whether keyword recognition was stopped successfully. If NO, additional information may
- * be available in outError.
- */
-- (BOOL)stopKeywordRecognition:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Stops any active keyword recognition.
- */
-- (void)stopKeywordRecognition
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Stops any active keyword recognition.
- *
- * @param completionHandler the handler function called when keyword recognition has stopped.
- * @param outError error information.
- * @return a value indicating whether the request to stop was received successfully. If NO, additional error
- * information may be available in outError.
- */
-- (BOOL)stopKeywordRecognitionAsync
- :(nonnull SPXDialogServiceConnectorAsyncCompletionHandler)completionHandler
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Stops any active keyword recognition.
- *
- * @param completionHandler the handler function called when keyword recognition has stopped.
- */
-- (void)stopKeywordRecognitionAsync:(nonnull SPXDialogServiceConnectorAsyncCompletionHandler)completionHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Establishes a connection with the service. Connection is automatically performed when needed, but this manual call
- * can be useful to make sure the connection is active before its first use to help reduce inital latency.
- *
- * Calling connect() on a DialogServiceConnector is functionally equivalent to initializing a Connection using
- * initFromDialogServiceConnector and then calling open(false). The Connection object also provides events to monitor
- * connections and disconnections.
- *
- * @param outError error information.
- * @return a value indicating whether connection was successful. If NO, additional information may be available in
- * outError.
- */
-- (BOOL)connect:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Establishes a connection with the service. Connection is automatically performed when needed, but this manual call
- * can be useful to make sure the connection is active before its first use to help reduce inital latency.
- *
- * Calling connect() on a DialogServiceConnector is functionally equivalent to initializing a Connection using
- * initFromDialogServiceConnector and then calling open(false). The Connection object also provides events to monitor
- * connections and disconnections.
- */
-- (void)connect
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Establishes a connection with the service. Connection is automatically performed when needed, but this manual call
- * can be useful to make sure the connection is active before its first use to help reduce inital latency.
- *
- * Calling connect() on a DialogServiceConnector is functionally equivalent to initializing a Connection using
- * initFromDialogServiceConnector and then calling open(false). The Connection object also provides events to monitor
- * connections and disconnections.
- *
- * @param completionHandler the handler function called when connection is complete.
- * @param outError error information.
- * @return a value indicating whether the request to connect started successfully. If NO, additional information may
- * be available in outError.
- */
-- (BOOL)connectAsync
- :(nonnull SPXDialogServiceConnectorAsyncCompletionHandler)completionHandler
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Establishes a connection with the service. Connection is automatically performed when needed, but this manual call
- * can be useful to make sure the connection is active before its first use to help reduce inital latency.
- *
- * Calling connect() on a DialogServiceConnector is functionally equivalent to initializing a Connection using
- * initFromDialogServiceConnector and then calling open(false). The Connection object also provides events to monitor
- * connections and disconnections.
- *
- * @param completionHandler the handler function called when connection is complete.
- */
-- (void)connectAsync:(nonnull SPXDialogServiceConnectorAsyncCompletionHandler)completionHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Disconnects from the service. Subsequent calls that require a connection will still automatically reconnect after
- * manual disconnection.
- *
- * Calling disconnect() on a DialogServiceConnector is functionally equivalent to initializing a Connection using
- * initFromDialogServiceConnector and then calling close(). The Connection object also provides events to monitor
- * connections and disconnections.
- *
- * @param outError error information.
- * @return a value indicating whether disconnection was successful. If NO, additional information may be available in
- * outError.
- */
-- (BOOL)disconnect:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Disconnects from the service. Subsequent calls that require a connection will still automatically reconnect after
- * manual disconnection.
- *
- * Calling disconnect() on a DialogServiceConnector is functionally equivalent to initializing a Connection using
- * initFromDialogServiceConnector and then calling close(). The Connection object also provides events to monitor
- * connections and disconnections.
- */
-- (void)disconnect
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Disconnects from the service. Subsequent calls that require a connection will still automatically reconnect after
- * manual disconnection.
- *
- * Calling disconnect() on a DialogServiceConnector is functionally equivalent to initializing a Connection using
- * initFromDialogServiceConnector and then calling close(). The Connection object also provides events to monitor
- * connections and disconnections.
- *
- * @param completionHandler the handler function called when disconnection is complete.
- * @param outError error information.
- * @return a value indicating whether the request to disconnect was received successfully. If NO, additional
- * information may be available in outError.
- */
-- (BOOL)disconnectAsync
- :(nonnull SPXDialogServiceConnectorAsyncCompletionHandler)completionHandler
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Disconnects from the service. Subsequent calls that require a connection will still automatically reconnect after
- * manual disconnection.
- *
- * Calling disconnect() on a DialogServiceConnector is functionally equivalent to initializing a Connection using
- * initFromDialogServiceConnector and then calling close(). The Connection object also provides events to monitor
- * connections and disconnections.
- *
- * @param completionHandler the handler function called when disconnection is complete.
- */
-- (void)disconnectAsync:(nonnull SPXDialogServiceConnectorAsyncCompletionHandler)completionHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Registers a provided handler function to be called when a final speech-to-text-result is received by this
- * DialogServiceConnector instance.
- */
-- (void)addRecognizedEventHandler:(nonnull SPXDialogServiceConnectorRecognitionEventHandler)eventHandler;
-
-/**
- * Registers a provided handler function to be called when an intermediate speech-to-text-result is received by this
- * DialogServiceConnector instance. A single speech-to-text interaction may receive many intermediate 'recognizing'
- * results that correspond to a single, final 'recognized' result.
- */
-- (void)addRecognizingEventHandler:(nonnull SPXDialogServiceConnectorRecognitionEventHandler)eventHandler;
-
-/**
- * Registers a provided handler function to be called when an interaction is abnormally terminated. This may happen for
- * expected conditions, such as the end of provided file or audio stream input, or for unexpected error conditions.
- * More information about the reason for the canceled event may be retrieved from the event data.
- */
-- (void)addCanceledEventHandler:(nonnull SPXDialogServiceConnectorCanceledEventHandler)eventHandler;
-
-/**
- * Registers a provided handler function to be called when a turn status update is received from the dialog
- * implementation that this DialogServiceConnector is connected to.
- * A turn is a single execution session within the dialog implementation that may generate
- * any number of activities over its course. The information in this payload represents success or failure conditions
- * encountered by the dialog implementation over the course of this execution. This data facilitates the indication
- * of completion or error conditions within the dialog implementation even when no explicit activity data is produced
- * as part of a turn.
- */
-- (void)addTurnStatusReceivedEventHandler
- :(nonnull SPXDialogServiceConnectorTurnStatusReceivedEventHandler)eventHandler;
-
-/**
- * Registers a provided handler function to be called when an activity payload is received from the dialog
- * implementation that this DialogServiceConnector is connected to. Activities may be sent by a dialog implementation
- * at any time during a connection and there may be a many-to-one relationship between activities received and input,
- * such as speech utterances, sent by this object.
- */
-- (void)addActivityReceivedEventHandler:(nonnull SPXDialogServiceConnectorActivityReceivedEventHandler)eventHandler;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXDialogServiceConnectorActivityReceivedEventArgs.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXDialogServiceConnectorActivityReceivedEventArgs.h
deleted file mode 100644
index 9b622a7..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXDialogServiceConnectorActivityReceivedEventArgs.h
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXAudioStream.h"
-
-/**
- * The object type that encapsulates the response data that originates from the dialog implementation used by a
- * DialogServiceConnector. Activities may be sent by a dialog implementation at any time during a connection and there
- * may be a many-to-one relationship between activities received and input utterances.
- */
-SPX_EXPORT
-@interface SPXDialogServiceConnectorActivityReceivedEventArgs : NSObject
-
-/**
- * Gets a serialized JSON object that represents the activity payload sent by the dialog implementation that a
- * DialogServiceConnector communicates with. This data is originated from the dialog implementation and both the schema
- * and contents of the document are determined by the sender.
- */
-@property (copy, readonly, nonnull)NSString *activity;
-
-/**
- * Gets a value indicating whether this activity payload includes an audio stream from the text-to-speech service. If
- * such a stream is present, it can be retrieved via the audio property.
- *
- * If there is no audio data associated with this activity payload, hasAudio will be false and audio will be nil.
- */
-@property (readonly)bool hasAudio;
-
-/**
- * Gets a PullAudioOutputStream associated with this activity, as produced by the text-to-speech service. This stream
- * is populated as data arrives and may not contain all synthesized audio when the activity arrives.
- *
- * If there is no audio data associated with this activity payload, hasAudio will be false and audio will be nil.
- */
-@property (copy, readonly, nonnull)SPXPullAudioOutputStream *audio;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXDialogServiceConnectorTurnStatusReceivedEventArgs.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXDialogServiceConnectorTurnStatusReceivedEventArgs.h
deleted file mode 100644
index 0c05bc9..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXDialogServiceConnectorTurnStatusReceivedEventArgs.h
+++ /dev/null
@@ -1,39 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-
-/**
- * The object type that encapsulates turn status information as received from the dialog implementation that a
- * DialogServiceConnector communicates with. A turn is a single execution session within the dialog implementation that
- * may generate any number of activities over its course. The information in this payload represents success or failure
- * conditions encountered by the dialog implementation over the course of this execution. This data facilitates the
- * indication of completion or error conditions within the dialog implementation even when no explicit activity data is
- * produced as part of a turn.
- */
-SPX_EXPORT
-@interface SPXDialogServiceConnectorTurnStatusReceivedEventArgs : NSObject
-
-/**
- * The interaction identifier associated with this turn status event. Interaction identifiers generally correspond to a
- * single input signal (e.g. a voice utterance or sent activity payload) and will correlate to replyTo fields within Bot
- * Framework activities.
- */
-@property (copy, readonly, nonnull)NSString *interactionId;
-
-/**
- * The conversation identifier associated with this turn status event. Conversations are logical groupings of turns that
- * may span multiple interactions. A client can use a conversation identifier to resume or retry a conversation if such
- * a capability is supported by the backing dialog implementation.
- */
-@property (copy, readonly, nonnull)NSString *conversationId;
-
-/**
- * The numeric status code associated with this turn status event. These generally correspond to standard HTTP status
- * codes such as 200 (OK), 400 (Failure/Bad Request), and 429 (Timeout/Throttled).
- */
-@property (readonly)int statusCode;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXEmbeddedSpeechConfiguration.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXEmbeddedSpeechConfiguration.h
deleted file mode 100644
index fe7a48e..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXEmbeddedSpeechConfiguration.h
+++ /dev/null
@@ -1,166 +0,0 @@
-///
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXSpeechEnums.h"
-#import "SPXSpeechRecognitionModelInfo.h"
-#import "SPXSpeechTranslationModelInfo.h"
-
-/**
- * Class that defines embedded (offline) speech configuration.
- */
-SPX_EXPORT
-@interface SPXEmbeddedSpeechConfiguration : NSObject
-
-/**
- * The model name for speech recognition.
- */
-@property (nonatomic, copy, nullable) NSString *speechRecognitionModelName;
-
-/**
- * The speech recognition output format.
- */
-@property (nonatomic) SPXOutputFormat speechRecognitionOutputFormat;
-
-/**
- * The profanity option for speech recognition.
- */
-@property (nonatomic) SPXSpeechConfigProfanityOption profanityOption;
-
-/**
- * The voice name for embedded speech synthesis.
- */
-@property (nonatomic, copy, nullable) NSString *speechSynthesisVoiceName;
-
-/**
- * The model name for speech translation.
- */
-@property (nonatomic, copy, nullable) NSString *speechTranslationModelName;
-
-/**
- * Available speech recognition models.
- */
-@property (nonatomic, copy, readonly, nonnull) NSArray *speechRecognitionModelsInfo;
-
-/**
- * Available speech translation models.
- */
-@property (nonatomic, copy, readonly, nonnull)NSArray *speechTranslationModelsInfo;
-
-/**
- * Creates an instance of the embedded speech config with a specified offline model path.
- *
- * @param path The folder path to search for offline models.
- * This can be a root path under which several models are located in subfolders,
- * or a direct path to a specific model folder.
- * @param outError The error information.
- * @return An instance of the embedded speech config.
- */
-- (nullable instancetype)initFromPath:(nonnull NSString *)path error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Creates an instance of the embedded speech config with a specified offline model path.
- *
- * @param path The folder path to search for offline models.
- * This can be a root path under which several models are located in subfolders,
- * or a direct path to a specific model folder.
- * @return An instance of the embedded speech config.
- */
-- (nullable instancetype)initFromPath:(nonnull NSString *)path
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Creates an instance of the embedded speech config with specified offline model paths.
- *
- * @param paths The folder paths to search for offline models.
- * These can be root paths under which several models are located in subfolders,
- * or direct paths to specific model folders.
- * @param outError The error information.
- * @return An instance of the embedded speech config.
- */
-- (nullable instancetype)initFromPaths:(nonnull NSArray *)paths error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Creates an instance of the embedded speech config with specified offline model paths.
- *
- * @param paths The folder paths to search for offline models.
- * These can be root paths under which several models are located in subfolders,
- * or direct paths to specific model folders.
- * @return An instance of the embedded speech config.
- */
-- (nullable instancetype)initFromPaths:(nonnull NSArray *)paths
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Get the speech synthesis output format.
- */
-- (nonnull NSString *)speechSynthesisOutputFormat;
-
-/**
- * Sets the speech synthesis output format (e.g. Riff16Khz16BitMonoPcm).
- *
- * @param format The speech synthesis output format.
- */
-- (void)setSpeechSynthesisOutputFormat:(SPXSpeechSynthesisOutputFormat)format;
-
-/**
- * Sets the model for speech recognition.
- *
- * @param name The model name.
- * @param license The license text.
- */
-- (void)setSpeechRecognitionModel:(nonnull NSString *)name license:(nonnull NSString *)license;
-/**
- * Sets the voice for embedded speech synthesis.
- *
- * @param name The voice name of the embedded speech synthesis.
- * @param license The license text.
- */
-- (void)setSpeechSynthesisVoice:(nonnull NSString *)name license:(nonnull NSString *)license;
-
-/**
- * Sets the model for speech translation.
- *
- * @param name The model name.
- * @param license The license text.
- */
-- (void)setSpeechTranslationModel:(nonnull NSString *)name license:(nonnull NSString *)license;
-
-/**
- * Returns the property value.
- * If the name is not available, it returns an empty string.
- *
- * @param name property name.
- * @return value of the property.
- */
--(nullable NSString *)getPropertyByName:(nonnull NSString *)name;
-
-/**
- * Sets the property value by name.
- *
- * @param value value of the property.
- * @param name property name.
- */
--(void)setPropertyTo:(nonnull NSString *)value byName:(nonnull NSString *)name;
-
-/**
- * Returns the property value.
- * If the specified id is not available, it returns an empty string.
- *
- * @param propertyId property id.
- * @return value of the property.
- */
--(nullable NSString *)getPropertyById:(SPXPropertyId)propertyId;
-
-/**
- * Sets the property value by property id.
- *
- * @param value value of the property.
- * @param propertyId property id.
- */
--(void)setPropertyTo:(nonnull NSString *)value byId:(SPXPropertyId)propertyId;
-
-@end
-
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXEventLogger.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXEventLogger.h
deleted file mode 100644
index 8e49389..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXEventLogger.h
+++ /dev/null
@@ -1,77 +0,0 @@
-///
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXSpeechEnums.h"
-
-/**
- * Class with static methods to control callback-based SDK logging.
- * Turning on logging while running your Speech SDK scenario provides
- * detailed information from the SDK's core native components. If you
- * report an issue to Microsoft, you may be asked to provide logs to help
- * Microsoft diagnose the issue. Your application should not take dependency
- * on particular log strings, as they may change from one SDK release to another
- * without notice.
- * Use SPXEventLogger when you want to get access to new log strings as soon
- * as they are available, and you need to further process them. For example,
- * integrating Speech SDK logs with your existing logging collection system.
- * Added in version 1.43.0
- *
- * Event logging is a process wide construct. That means that if (for example)
- * you have multiple speech recognizer objects running in parallel, you can only register
- * one callback function to receive interleaved logs from all recognizers. You cannot register
- * a separate callback for each recognizer.
- */
-SPX_EXPORT
-@interface SPXEventLogger : NSObject
-
-typedef void (^SPXEventLoggerHandler)(NSString * _Nonnull);
-
-/**
- * Registers a callback function that will be invoked for each new log message.
- *
- * @param callback The callback function to call. Pass nil to stop the Event Logger.
- * @param outError The error information.
- * @remarks You can only register one callback function. This call will happen on a working thread of the SDK,
- * so the log string should be copied somewhere for further processing by another thread, and the function should return immediately.
- * No heavy processing or network calls should be done in this callback function.
- */
-+ (void)setCallback:(nullable SPXEventLoggerHandler)callback error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Registers a callback function that will be invoked for each new log message.
- *
- * @param callback The callback function to call. Pass nil to stop the Event Logger.
- * @remarks You can only register one callback function. This call will happen on a working thread of the SDK,
- * so the log string should be copied somewhere for further processing by another thread, and the function should return immediately.
- * No heavy processing or network calls should be done in this callback function.
- */
-+ (void)setCallback:(nullable SPXEventLoggerHandler)callback
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Sets or clears the filters that apply to file logging.
- *
- * @param filters Filters to use, or nil or an empty list to remove previously set filters.
- * @param outError The error information.
- */
-+ (void)setFilters:(nullable NSArray *)filters error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Sets or clears the filters that apply to file logging.
- *
- * @param filters Filters to use, or nil or an empty list to remove previously set filters.
- */
-+ (void)setFilters:(nullable NSArray *)filters
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
- /**
- * Sets the level of the messages to be captured by the logger.
- *
- * @param level Maximum level of detail to be captured by the logger.
- */
-+ (void)setLevel:(SPXLogLevel)level;
-
-@end
\ No newline at end of file
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXFileLogger.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXFileLogger.h
deleted file mode 100644
index 88d7f46..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXFileLogger.h
+++ /dev/null
@@ -1,99 +0,0 @@
-///
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXSpeechEnums.h"
-
-/**
- * Class with static methods to control file-based SDK logging.
- * Turning on logging while running your Speech SDK scenario provides
- * detailed information from the SDK's core native components. If you
- * report an issue to Microsoft, you may be asked to provide logs to help
- * Microsoft diagnose the issue. Your application should not take dependency
- * on particular log strings, as they may change from one SDK release to another
- * without notice.
- * SPXFileLogger is the simplest logging solution and suitable for diagnosing
- * most on-device issues when running Speech SDK.
- * Added in version 1.43.0
- *
- * File logging is a process wide construct. That means that if (for example)
- * you have multiple speech recognizer objects running in parallel, there will be one
- * log file containing interleaved logs lines from all recognizers. You cannot get a
- * separate log file for each recognizer.
- */
-SPX_EXPORT
-@interface SPXFileLogger : NSObject
-
-/**
- * Starts logging to a file.
- *
- * @param path Path to a log file on local disk.
- * @param append If true, appends to existing log file. If false, creates a new log file.
- * @param outError The error information.
- */
-+ (void)start:(nonnull NSString *)path append:(BOOL)append error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Starts logging to a file.
- *
- * @param path Path to a log file on local disk.
- * @param append If true, appends to existing log file. If false, creates a new log file.
- */
-+ (void)start:(nonnull NSString *)path append:(BOOL)append
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Starts logging to a file.
- *
- * @param path Path to a log file on local disk.
- * @param outError The error information.
- */
-+ (void)start:(nonnull NSString *)path error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Starts logging to a file.
- *
- * @param path Path to a log file on local disk.
- */
-+ (void)start:(nonnull NSString *)path
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Stops logging to a file.
- *
- * @param outError The error information.
- */
-+ (void)stop:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Stops logging to a file.
- */
- + (void)stop
- NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
- /**
- * Sets or clears the filters that apply to file logging.
- *
- * @param filters Filters to use, or nil or an empty list to remove previously set filters.
- * @param outError The error information.
- */
-+ (void)setFilters:(nullable NSArray *)filters error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Sets or clears the filters that apply to file logging.
- *
- * @param filters Filters to use, or nil or an empty list to remove previously set filters.
- */
-+ (void)setFilters:(nullable NSArray *)filters
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
- /**
- * Sets the level of the messages to be captured by the logger.
- *
- * @param level Maximum level of detail to be captured by the logger.
- */
-+ (void)setLevel:(SPXLogLevel)level;
-
-@end
\ No newline at end of file
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXFoundation.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXFoundation.h
deleted file mode 100644
index 99b5066..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXFoundation.h
+++ /dev/null
@@ -1,9 +0,0 @@
-///
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import
-
-#define SPX_EXPORT __attribute__((visibility ("default")))
-
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXGrammar.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXGrammar.h
deleted file mode 100644
index 91bcbde..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXGrammar.h
+++ /dev/null
@@ -1,17 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-
-/**
- * Represents base class grammar for customizing speech recognition.
- *
- * Added in version 1.5.0.
- */
-SPX_EXPORT
-@interface SPXGrammar : NSObject
-
-@end
-
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXGrammarPhrase.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXGrammarPhrase.h
deleted file mode 100644
index a98bc69..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXGrammarPhrase.h
+++ /dev/null
@@ -1,23 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-
-/**
- * Represents a phrase that may be spoken by the user.
- *
- * Added in version 1.5.0.
- */
-SPX_EXPORT
-@interface SPXGrammarPhrase : NSObject
-
-/**
- * Initialize the phrase with a given text.
- * @param value an utterance.
- */
--(nullable instancetype) initWithText:(nonnull NSString*)value;
-
-@end
-
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXKeywordRecognitionEventArgs.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXKeywordRecognitionEventArgs.h
deleted file mode 100644
index c544b3e..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXKeywordRecognitionEventArgs.h
+++ /dev/null
@@ -1,30 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXRecognitionEventArgs.h"
-#import "SPXSpeechRecognitionEventArgs.h"
-#import "SPXKeywordRecognitionResult.h"
-
-/**
- * Defines the payload for keyword recognizing/recognized events.
- */
-SPX_EXPORT
-@interface SPXKeywordRecognitionEventArgs : SPXRecognitionEventArgs
-
-/**
- * Represents the keyword recognition result.
- */
-@property (readonly, nullable)SPXKeywordRecognitionResult *result;
-
-@end
-
-/**
- * Defines the payload of keyword recognition canceled events.
- */
-SPX_EXPORT
-@interface SPXKeywordRecognitionCanceledEventArgs : SPXSpeechRecognitionCanceledEventArgs
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXKeywordRecognitionModel.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXKeywordRecognitionModel.h
deleted file mode 100644
index 9de7ebf..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXKeywordRecognitionModel.h
+++ /dev/null
@@ -1,32 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-
-/**
- * Represents keyword recognition model used with StartKeywordRecognitionAsync methods.
- */
-SPX_EXPORT
-@interface SPXKeywordRecognitionModel : NSObject
-
-/**
- * Creates a keyword recognition model using the specified file.
- *
- * @param fileName The file name of the keyword recognition model.
- * @return an instance of keyword recognition model.
- */
-- (nullable instancetype)initFromFile:(nonnull NSString *)fileName
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Creates a keyword recognition model using the specified file.
- *
- * @param fileName The file name of the keyword recognition model.
- * @param outError error information.
- * @return an instance of keyword recognition model.
- */
-- (nullable instancetype)initFromFile:(nonnull NSString *)fileName error:(NSError * _Nullable * _Nullable)outError;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXKeywordRecognitionResult.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXKeywordRecognitionResult.h
deleted file mode 100644
index 78bddc7..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXKeywordRecognitionResult.h
+++ /dev/null
@@ -1,15 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXRecognitionResult.h"
-
-/**
- * Defines the result of keyword recognition.
- */
-SPX_EXPORT
-@interface SPXKeywordRecognitionResult : SPXRecognitionResult
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXKeywordRecognizer.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXKeywordRecognizer.h
deleted file mode 100644
index 719380c..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXKeywordRecognizer.h
+++ /dev/null
@@ -1,101 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXAudioConfiguration.h"
-#import "SPXPropertyCollection.h"
-#import "SPXRecognizer.h"
-#import "SPXKeywordRecognitionModel.h"
-#import "SPXKeywordRecognitionResult.h"
-#import "SPXKeywordRecognitionEventArgs.h"
-
-/**
- * Recognizer type that is specialized to only handle keyword activation.
- *
- * Added in version 1.15.0.
- *
- */
-SPX_EXPORT
-@interface SPXKeywordRecognizer : NSObject
-
-typedef void (^SPXKeywordRecognitionEventHandler)(SPXKeywordRecognizer * _Nonnull, SPXKeywordRecognitionEventArgs * _Nonnull);
-typedef void (^SPXKeywordRecognitionCanceledEventHandler)(SPXKeywordRecognizer * _Nonnull, SPXKeywordRecognitionCanceledEventArgs * _Nonnull);
-
-/**
- * The collection of properties and their values defined for this SPXKeywordRecognizer.
- */
-@property (readonly, nullable)id properties;
-
-/**
- * Initializes a new instance of keyword recognizer using the specified audio configuration.
- *
- * @param audioConfiguration audio configuration.
- * @return an keyword recognizer.
- */
-- (nullable instancetype)init:(nonnull SPXAudioConfiguration *)audioConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of keyword recognizer using the specified audio configuration.
- *
- * @param audioConfiguration audio configuration.
- * @param outError error information.
- * @return an keyword recognizer.
- */
-- (nullable instancetype)init:(nonnull SPXAudioConfiguration *)audioConfiguration error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Starts a keyword recognition session. This session will last until the first keyword is recognized.
- * When this happens, a Recognized event will be raised and the session will end. To rearm the keyword,
- * the method needs to be called again after the event is emitted.
- *
- * Note that if no keyword is detected in the input, the task will never resolve (unless stopRecognitionAsync method is called).
- *
- * @param resultReceivedHandler the block function to be called when the keyword has been recognized.
- * @param keywordModel the keyword recognition model.
- */
-- (void)recognizeOnceAsync:(nonnull void (^)(SPXKeywordRecognitionResult * _Nonnull)) resultReceivedHandler keywordModel:(nonnull SPXKeywordRecognitionModel *)keywordModel
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Starts a keyword recognition session. This session will last until the first keyword is recognized.
- * When this happens, a Recognized event will be raised and the session will end. To rearm the keyword,
- * the method needs to be called again after the event is emitted.
- *
- * Note that if no keyword is detected in the input, the task will never resolve (unless stopRecognitionAsync method is called).
- *
- * @param resultReceivedHandler the block function to be called when the keyword has been recognized.
- * @param keywordModel the keyword recognition model.
- * @param outError error information.
- */
-- (BOOL)recognizeOnceAsync:(nonnull void (^)(SPXKeywordRecognitionResult * _Nonnull)) resultReceivedHandler keywordModel:(nonnull SPXKeywordRecognitionModel *)keywordModel error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Stops a currently active keyword recognition session.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- */
-- (void)stopRecognitionAsync:(nonnull void (^)(BOOL stopped, NSError * _Nullable))completedHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Stops a currently active keyword recognition session.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param outError error information.
- */
-- (BOOL)stopRecognitionAsync:(nonnull void (^)(BOOL stopped, NSError * _Nullable))completedHandler error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Subscribes to the Recognized event which indicates that a final result has been recognized.
- */
-- (void)addRecognizedEventHandler:(nonnull SPXKeywordRecognitionEventHandler)eventHandler;
-
-/**
- * Subscribes to the Canceled event which indicates that an error occurred during recognition.
- */
-- (void)addCanceledEventHandler:(nonnull SPXKeywordRecognitionCanceledEventHandler)eventHandler;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXMeeting.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXMeeting.h
deleted file mode 100644
index b5248cf..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXMeeting.h
+++ /dev/null
@@ -1,327 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXUser.h"
-#import "SPXParticipant.h"
-#import "SPXPropertyCollection.h"
-#import "SPXSpeechConfiguration.h"
-
-/**
- * Performs meeting management including add and remove participants.
- */
-SPX_EXPORT
-@interface SPXMeeting : NSObject
-
-/**
- * The collection of properties and their values defined for this SPXMeeting.
- */
-@property (readonly, nullable)id properties;
-
-/**
- * The unique identifier for the meeting.
- */
-@property (nonatomic, copy, nullable)NSString *meetingId;
-
-/**
- * The authorization token used to communicate with the service.
- * Note: The caller needs to ensure that the authorization token is valid. Before the authorization token expires,
- * the caller needs to refresh it by calling this setter with a new valid token. Otherwise, the recognizer will
- * encounter errors during recognition.
- */
-@property (nonatomic, copy, nullable)NSString *authorizationToken;
-
-/**
- * Initializes a new instance of meeting using the specified speech configuration.
- *
- * @param speechConfiguration speech configuration.
- * @return a meeting instance.
- */
-- (nullable instancetype)init:(nonnull SPXSpeechConfiguration *)speechConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of meeting using the specified speech configuration and meeting id.
- *
- * @param speechConfiguration speech configuration.
- * @param meetingId a unqiue identification of your meeting.
- * @return a meeting instance.
- */
-- (nullable instancetype)init:(nonnull SPXSpeechConfiguration *)speechConfiguration meetingId:(nonnull NSString *)meetingId
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of meeting using the specified speech configuration and meeting id.
- *
- * @param speechConfiguration speech configuration.
- * @param meetingId a unqiue identification of your meeting.
- * @param outError error information.
- * @return a meeting instance.
- */
-- (nullable instancetype)init:(nonnull SPXSpeechConfiguration *)speechConfiguration meetingId:(nonnull NSString *)meetingId error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Starts a meeting, and provides asynchronous callback with the information is meeting started successfully or not.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- */
-- (void)startMeetingAsync:(nonnull void (^)(BOOL started, NSError * _Nullable))completedHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Starts a meeting, and provides asynchronous callback with the information is meeting started successfully or not.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param outError error information.
- */
-- (BOOL)startMeetingAsync:(nonnull void (^)(BOOL started, NSError * _Nullable))completedHandler error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Ends a meeting, and provides asynchronous callback with the information is meeting ended successfully or not.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- */
-- (void)endMeetingAsync:(nonnull void (^)(BOOL ended, NSError * _Nullable))completedHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Ends a meeting, and provides asynchronous callback with the information is meeting ended successfully or not.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param outError error information.
- */
-- (BOOL)endMeetingAsync:(nonnull void (^)(BOOL ended, NSError * _Nullable))completedHandler error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Deletes a meeting, and provides asynchronous callback with the information is meeting deletion completed.
- * After deleted, no one will be able to join the meeting.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- */
-- (void)deleteMeetingAsync:(nonnull void (^)(BOOL deleted, NSError * _Nullable))completedHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Deletes a meeting, and provides asynchronous callback with the information is meeting deletion completed.
- * After deleted, no one will be able to join the meeting.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param outError error information.
- */
-- (BOOL)deleteMeetingAsync:(nonnull void (^)(BOOL deleted, NSError * _Nullable))completedHandler error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Locks a meeting, and provides asynchronous callback with the information is meeting locking completed.
- * After locked, new participants are prevented from joining the meeting.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- */
-- (void)lockMeetingAsync:(nonnull void (^)(BOOL locked, NSError * _Nullable))completedHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Locks a meeting, and provides asynchronous callback with the information is meeting locking completed.
- * After locked, new participants are prevented from joining the meeting.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param outError error information.
- */
-- (BOOL)lockMeetingAsync:(nonnull void (^)(BOOL locked, NSError * _Nullable))completedHandler error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Unlocks a meeting, and provides asynchronous callback with the information is meeting unlocking completed.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- */
-- (void)unlockMeetingAsync:(nonnull void (^)(BOOL unlocked, NSError * _Nullable))completedHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Unlocks a meeting, and provides asynchronous callback with the information is meeting unlocking completed.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param outError error information.
- */
-- (BOOL)unlockMeetingAsync:(nonnull void (^)(BOOL unlocked, NSError * _Nullable))completedHandler error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Mute all other participants in the meeting. After this no other participants will have their speech recognitions broadcast,
- * nor be able to send text messages.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- */
-- (void)muteAllParticipantsAsync:(nonnull void (^)(BOOL muted, NSError * _Nullable))completedHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Mute all other participants in the meeting. After this no other participants will have their speech recognitions broadcast,
- * nor be able to send text messages.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param outError error information.
- */
-- (BOOL)muteAllParticipantsAsync:(nonnull void (^)(BOOL muted, NSError * _Nullable))completedHandler error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Unmute all other participants in the meeting.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- */
-- (void)unmuteAllParticipantsAsync:(nonnull void (^)(BOOL unmuted, NSError * _Nullable))completedHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Unmute all other participants in the meeting.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param outError error information.
- */
-- (BOOL)unmuteAllParticipantsAsync:(nonnull void (^)(BOOL unmuted, NSError * _Nullable))completedHandler error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Mute participant with a given userId in the meeting.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param userId A user identifier.
- */
-- (void)muteParticipantAsync:(nonnull void (^)(BOOL muted, NSError * _Nullable))completedHandler userId:(nonnull NSString *)userId
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Mute participant with a given userId in the meeting.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param userId A user identifier.
- * @param outError error information.
- */
-- (BOOL)muteParticipantAsync:(nonnull void (^)(BOOL muted, NSError * _Nullable))completedHandler userId:(nonnull NSString *)userId error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Unmute participant with a given userId in the meeting.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param userId A user identifier.
- */
-- (void)unmuteParticipantAsync:(nonnull void (^)(BOOL unmuted, NSError * _Nullable))completedHandler userId:(nonnull NSString *)userId
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Unmute participant with a given userId in the meeting.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param userId A user identifier.
- * @param outError error information.
- */
-- (BOOL)unmuteParticipantAsync:(nonnull void (^)(BOOL unmuted, NSError * _Nullable))completedHandler userId:(nonnull NSString *)userId error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Adds a participant from a meeting using a user id.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param userId A user identifier.
- */
-- (void)addParticipantAsync:(nonnull void (^)(SPXParticipant * _Nullable, NSError * _Nullable))completedHandler userId:(nonnull NSString *)userId
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Adds a participant from a meeting using a user id.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param userId A user identifier.
- * @param outError error information.
- */
-- (BOOL)addParticipantAsync:(nonnull void (^)(SPXParticipant * _Nullable, NSError * _Nullable))completedHandler userId:(nonnull NSString *)userId error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Adds a participant from a meeting using a Participant object.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param participant A Participant instance.
- */
-- (void)addParticipantAsync:(nonnull void (^)(SPXParticipant * _Nullable, NSError * _Nullable))completedHandler participant:(nonnull SPXParticipant *)participant
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Adds a participant from a meeting using a Participant object.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param participant A Participant instance.
- * @param outError error information.
- */
-- (BOOL)addParticipantAsync:(nonnull void (^)(SPXParticipant * _Nullable, NSError * _Nullable))completedHandler participant:(nonnull SPXParticipant *)participant error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Adds a participant from a meeting using a User object.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param user A User instance.
- */
-- (void)addParticipantAsync:(nonnull void (^)(SPXUser * _Nullable, NSError * _Nullable))completedHandler user:(nonnull SPXUser *)user
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Adds a participant from a meeting using a User object.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param user A User instance.
- * @param outError error information.
- */
-- (BOOL)addParticipantAsync:(nonnull void (^)(SPXUser * _Nullable, NSError * _Nullable))completedHandler user:(nonnull SPXUser *)user error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Remove a participant from a meeting using a user id.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param userId A user identifier.
- */
-- (void)removeParticipantAsync:(nonnull void (^)(BOOL removed, NSError * _Nullable))completedHandler userId:(nonnull NSString *)userId
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Remove a participant from a meeting using a user id.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param userId A user identifier.
- * @param outError error information.
- */
-- (BOOL)removeParticipantAsync:(nonnull void (^)(BOOL removed, NSError * _Nullable))completedHandler userId:(nonnull NSString *)userId error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Remove a participant from a meeting using a Participant object.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param participant A Participant instance.
- */
-- (void)removeParticipantAsync:(nonnull void (^)(BOOL removed, NSError * _Nullable))completedHandler participant:(nonnull SPXParticipant *)participant
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Remove a participant from a meeting using a Participant object.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param participant A Participant instance.
- * @param outError error information.
- */
-- (BOOL)removeParticipantAsync:(nonnull void (^)(BOOL removed, NSError * _Nullable))completedHandler participant:(nonnull SPXParticipant *)participant error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Remove a participant from a meeting using a User object.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param user A User instance.
- */
-- (void)removeParticipantAsync:(nonnull void (^)(BOOL removed, NSError * _Nullable))completedHandler user:(nonnull SPXUser *)user
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Remove a participant from a meeting using a User object.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param user A User instance.
- * @param outError error information.
- */
-- (BOOL)removeParticipantAsync:(nonnull void (^)(BOOL removed, NSError * _Nullable))completedHandler user:(nonnull SPXUser *)user error:(NSError * _Nullable * _Nullable)outError;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXMeetingTranscriber.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXMeetingTranscriber.h
deleted file mode 100644
index cbb4058..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXMeetingTranscriber.h
+++ /dev/null
@@ -1,153 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXSpeechConfiguration.h"
-#import "SPXAudioConfiguration.h"
-#import "SPXPropertyCollection.h"
-#import "SPXRecognizer.h"
-#import "SPXMeeting.h"
-#import "SPXMeetingTranscriptionResult.h"
-#import "SPXMeetingTranscriptionEventArgs.h"
-
-/**
- * Performs meeting transcribing for audio input streams, and gets transcribed text and user id as a result.
- */
-SPX_EXPORT
-@interface SPXMeetingTranscriber : SPXRecognizer
-
-typedef void (^SPXMeetingTranscriptionEventHandler)(SPXMeetingTranscriber * _Nonnull, SPXMeetingTranscriptionEventArgs * _Nonnull);
-typedef void (^SPXMeetingTranscriptionCanceledEventHandler)(SPXMeetingTranscriber * _Nonnull, SPXMeetingTranscriptionCanceledEventArgs * _Nonnull);
-
-/**
- * The authorization token used to communicate with the meeting transcription service.
- * Note: The caller needs to ensure that the authorization token is valid. Before the authorization token expires,
- * the caller needs to refresh it by calling this setter with a new valid token.
- * Otherwise, the recognizer will encounter errors during recognition.
- */
-@property (nonatomic, copy, nullable)NSString *authorizationToken;
-
-/**
- * Initializes a new instance of a meeting transcriber using the default configuration.
- * @return a meeting transcriber instance.
- */
-#pragma clang diagnostic push
-#pragma clang diagnostic ignored "-Wnullability"
-- (nullable instancetype)init
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-#pragma clang diagnostic pop
-/**
- * Initializes a new instance of a meeting transcriber using the default configuration.
- *
- * @param outError error information.
- * @return a meeting transcriber instance.
- */
-- (nullable instancetype)init:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of a meeting transcriber using the specified audio configuration.
- *
- * @param audioConfiguration audio configuration.
- * @return a meeting transcriber instance.
- */
-- (nullable instancetype)initWithAudioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of a meeting transcriber using the specified audio configuration.
- *
- * @param audioConfiguration audio configuration.
- * @return a meeting transcriber instance.
- */
-- (nullable instancetype)initWithAudioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Join a meeting.
- * A meeting transcriber must join a meeting before transcribing audio.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param meeting speech configuration.
- */
-- (void)joinMeetingAsync:(nonnull void (^)(BOOL joined, NSError * _Nullable))completedHandler meeting:(nonnull SPXMeeting *)meeting
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Join a meeting.
- * A meeting transcriber must join a meeting before transcribing audio.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param meeting speech configuration.
- * @param outError error information.
- */
-- (BOOL)joinMeetingAsync:(nonnull void (^)(BOOL joined, NSError * _Nullable))completedHandler meeting:(nonnull SPXMeeting *)meeting error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Leave a meeting.
- * After leaving a meeting, no transcribing and transcribed events will be sent out.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- */
-- (void)leaveMeetingAsync:(nonnull void (^)(BOOL left, NSError * _Nullable))completedHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Leave a meeting.
- * After leaving a meeting, no transcribing and transcribed events will be sent out.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param outError error information.
- */
-- (BOOL)leaveMeetingAsync:(nonnull void (^)(BOOL left, NSError * _Nullable))completedHandler error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Starts meeting transcribing on a continuous audio stream, until stopTranscribingAsync() is called.
- * User must subscribe to events to receive transcription results.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- */
-- (void)startTranscribingAsync:(nonnull void (^)(BOOL started, NSError * _Nullable))completedHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Starts meeting transcribing on a continuous audio stream, until stopTranscribingAsync() is called.
- * User must subscribe to events to receive transcription results.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param outError error information.
- */
-- (BOOL)startTranscribingAsync:(nonnull void (^)(BOOL started, NSError * _Nullable))completedHandler error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Stops meeting transcribing.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- */
-- (void)stopTranscribingAsync:(nonnull void (^)(BOOL stopped, NSError * _Nullable))completedHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Stops meeting transcribing.
- *
- * @param completedHandler the block function to be called when async operation has been completed.
- * @param outError error information.
- */
-- (BOOL)stopTranscribingAsync:(nonnull void (^)(BOOL stopped, NSError * _Nullable))completedHandler error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Subscribes to the Transcribed event which indicates that a final result has been transcribed.
- */
-- (void)addTranscribedEventHandler:(nonnull SPXMeetingTranscriptionEventHandler)eventHandler;
-
-/**
- * Subscribes to the Transcribing event which indicates an that intermediate result has been transcribed.
- */
-- (void)addTranscribingEventHandler:(nonnull SPXMeetingTranscriptionEventHandler)eventHandler;
-
-/**
- * Subscribes to the Canceled event which indicates that an error occurred during transcription.
- */
-- (void)addCanceledEventHandler:(nonnull SPXMeetingTranscriptionCanceledEventHandler)eventHandler;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXMeetingTranscriptionEventArgs.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXMeetingTranscriptionEventArgs.h
deleted file mode 100644
index 7f5a1e1..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXMeetingTranscriptionEventArgs.h
+++ /dev/null
@@ -1,45 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXRecognitionEventArgs.h"
-#import "SPXMeetingTranscriptionResult.h"
-
-/**
- * Defines the payload for meeting transcription events.
- */
-SPX_EXPORT
-@interface SPXMeetingTranscriptionEventArgs : SPXRecognitionEventArgs
-
-/**
- * Represents the meeting transcription result.
- */
-@property (readonly, nullable)SPXMeetingTranscriptionResult *result;
-
-@end
-
-/**
- * Defines the payload of meeting transcription canceled result events.
- */
-SPX_EXPORT
-@interface SPXMeetingTranscriptionCanceledEventArgs : SPXMeetingTranscriptionEventArgs
-
-/**
- * The reason the trancription was canceled.
- */
-@property (readonly)SPXCancellationReason reason;
-
-/**
- * The error code in case of an unsuccessful transcription (reason is set to Error).
- *
- */
-@property (readonly)SPXCancellationErrorCode errorCode;
-
-/**
- * The error message in case of an unsuccessful transcription (reason is set to Error).
- */
-@property (copy, readonly, nullable)NSString *errorDetails;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXMeetingTranscriptionResult.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXMeetingTranscriptionResult.h
deleted file mode 100644
index ef89c64..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXMeetingTranscriptionResult.h
+++ /dev/null
@@ -1,25 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXRecognitionResult.h"
-
-/**
- * Defines the result of meeting transcription.
- */
-SPX_EXPORT
-@interface SPXMeetingTranscriptionResult : SPXRecognitionResult
-
-/**
- * A string that represents an user identifier in the meeting.
- */
-@property (copy, readonly, nullable)NSString *userId;
-
-/**
- * A string that represents the utterance. This id is consistence for intermediates and final speech recognition result from one speaker.
- */
-@property (copy, readonly, nullable)NSString *utteranceId;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXMemoryLogger.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXMemoryLogger.h
deleted file mode 100644
index f22bb3b..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXMemoryLogger.h
+++ /dev/null
@@ -1,127 +0,0 @@
-///
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXSpeechEnums.h"
-
-/**
- * Class with static methods to control SDK logging into an in-memory buffer.
- * Turning on logging while running your Speech SDK scenario provides
- * detailed information from the SDK's core native components. If you
- * report an issue to Microsoft, you may be asked to provide logs to help
- * Microsoft diagnose the issue. Your application should not take dependency
- * on particular log strings, as they may change from one SDK release to another
- * without notice.
- * SPXMemoryLogger is designed for the case where you want to get access to logs
- * that were taken in the short duration before some unexpected event happens.
- * For example, if you are running a Speech Recognizer, you may want to dump the SPXMemoryLogger
- * after getting an event indicating recognition was canceled due to some error.
- * The size of the memory buffer is fixed at 2MB and cannot be changed. This is
- * a "ring" buffer, that is, new log strings written replace the oldest ones
- * in the buffer.
- * Added in version 1.43.0
- *
- * Memory logging is a process wide construct. That means that if (for example)
- * you have multiple speech recognizer objects running in parallel, there will be one
- * memory buffer containing interleaved logs from all recognizers. You cannot get a
- * separate logs for each recognizer.
- */
-SPX_EXPORT
-@interface SPXMemoryLogger : NSObject
-
-/**
- * Starts logging into the internal memory buffer.
- */
-+ (void)start;
-
-/**
- * Stops logging into the internal memory buffer.
- */
-+ (void)stop;
-
-/**
- * Sets or clears the filters that apply to file logging.
- *
- * @param filters Filters to use, or nil or an empty list to remove previously set filters.
- * @param outError The error information.
- */
-+ (void)setFilters:(nullable NSArray *)filters error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Sets or clears the filters that apply to file logging.
- *
- * @param filters Filters to use, or nil or an empty list to remove previously set filters.
- */
-+ (void)setFilters:(nullable NSArray *)filters
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Writes the content of the whole memory buffer to the specified file.
- * It does not block other SDK threads from continuing to log into the buffer.
- *
- * @param path Path to a log file on local disk.
- * @remarks This does not reset (clear) the memory buffer.
- */
-+ (void)dumpToFile:(nonnull NSString *)path
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Writes the content of the whole memory buffer to the specified file.
- * It does not block other SDK threads from continuing to log into the buffer.
- *
- * @param path Path to a log file on local disk.
- * @param outError The error information.
- * @remarks This does not reset (clear) the memory buffer.
- */
-+ (void)dumpToFile:(nonnull NSString *)path error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Writes the content of the whole memory buffer to the specified output stream.
- * It does not block other SDK threads from continuing to log into the buffer.
- *
- * @param outputStream The output stream to write to.
- * @remarks This does not reset (clear) the memory buffer.
- */
-+ (void)dumpToOutputStream:(nonnull NSOutputStream *)outputStream
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Writes the content of the whole memory buffer to the specified output stream.
- * It does not block other SDK threads from continuing to log into the buffer.
- *
- * @param outputStream The output stream to write to.
- * @param outError The error information.
- * @remarks This does not reset (clear) the memory buffer.
- */
-+ (void)dumpToOutputStream:(nonnull NSOutputStream *)outputStream error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Returns the content of the whole memory buffer as an array of strings.
- * It does not block other SDK threads from continuing to log into the buffer.
- *
- * @returns An array with the contents of the memory buffer copied into it.
- * @remarks This does not reset (clear) the memory buffer.
- */
-+ (nullable NSArray *)dumpToNSArray
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Returns the content of the whole memory buffer as an array of strings.
- * It does not block other SDK threads from continuing to log into the buffer.
- *
- * @returns An array with the contents of the memory buffer copied into it.
- * @param outError The error information.
- * @remarks This does not reset (clear) the memory buffer.
- */
-+ (nullable NSArray *)dumpToNSArray:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Sets the level of the messages to be captured by the logger.
- *
- * @param level Maximum level of detail to be captured by the logger.
- */
-+ (void)setLevel:(SPXLogLevel)level;
-
-@end
\ No newline at end of file
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXParticipant.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXParticipant.h
deleted file mode 100644
index f141ade..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXParticipant.h
+++ /dev/null
@@ -1,126 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXPropertyCollection.h"
-
-/**
- * Represents a participant in a conversation transcribing session.
- *
- * Added in version 1.13.0.
- */
-SPX_EXPORT
-@interface SPXParticipant : NSObject
-
-/**
- * The collection of properties and their values defined for this SPXParticipant.
- */
-@property (readonly, nullable)id properties;
-
-/**
- * The unique identifier for the participant.
- */
-@property (nonatomic, copy, nullable)NSString *id;
-
-/**
- * The user's avatar as an HTML hex string (e.g. FF0000 for red).
- */
-@property (nonatomic, copy, nullable)NSString *avatar;
-
-/**
- * The participant's display name. Please note that each participant within the same conversation must
- * have a different display name. Duplicate names within the same conversation are not allowed. You can
- * use the id property as another way to refer to each participant.
- */
-@property (nonatomic, copy, nullable)NSString *displayName;
-
-/**
- * The participant's preferred spoken language.
- */
-@property (nonatomic, copy, nullable)NSString *preferredLanguage;
-
-/**
- * The participant's voice signature.
- */
-@property (nonatomic, copy, nullable)NSString *voiceSignature;
-
-/**
- * Provides information is Participant muted.
- */
-@property (nonatomic, readonly)BOOL isMuted;
-
-/**
- * Provides information is participant using Text To Speech (TTS).
- */
-@property (nonatomic, readonly)BOOL isUsingTts;
-
-/**
- * Provides information is participant host.
- */
-@property (nonatomic, readonly)BOOL isHost;
-
-/**
- * Create a Participant using user id, her/his preferred language and her/his voice signature.
- * If voice signature is empty then user will not be identified.
- *
- * @param userId user's Id.
- * @param preferredLanguage users' preferred language.
- * @param voiceSignature user's voice signature.
- * @return The Participant object.
- */
-- (nullable instancetype)initFrom:(nonnull NSString *)userId preferredLanguage:(nonnull NSString *)preferredLanguage voiceSignature:(nonnull NSString *)voiceSignature
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Create a Participant using user id, her/his preferred language and her/his voice signature.
- * If voice signature is empty then user will not be identified.
- *
- * @param userId user's Id.
- * @param preferredLanguage users' preferred language.
- * @param voiceSignature user's voice signature.
- * @return The Participant object.
- * @param outError error information.
- */
-- (nullable instancetype)initFrom:(nonnull NSString *)userId preferredLanguage:(nonnull NSString *)preferredLanguage voiceSignature:(nonnull NSString *)voiceSignature error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Create a Participant using user id and her/his preferred language.
- *
- * @param userId user's Id.
- * @param preferredLanguage users' preferred language.
- * @return The Participant object.
- */
-- (nullable instancetype)initFrom:(nonnull NSString *)userId preferredLanguage:(nonnull NSString *)preferredLanguage
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Create a Participant using user id and her/his preferred language.
- *
- * @param userId user's Id.
- * @param preferredLanguage users' preferred language.
- * @return The Participant object.
- * @param outError error information.
- */
-- (nullable instancetype)initFrom:(nonnull NSString *)userId preferredLanguage:(nonnull NSString *)preferredLanguage error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Create a Participant using user id.
- *
- * @param userId user's Id.
- * @return The Participant object.
- */
-- (nullable instancetype)initFrom:(nonnull NSString *)userId
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Create a Participant using user id.
- *
- * @param userId user's Id.
- * @return The Participant object.
- * @param outError error information.
- */
-- (nullable instancetype)initFrom:(nonnull NSString *)userId error:(NSError * _Nullable * _Nullable)outError;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXPhraseListGrammar.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXPhraseListGrammar.h
deleted file mode 100644
index 64ab102..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXPhraseListGrammar.h
+++ /dev/null
@@ -1,47 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXGrammar.h"
-#import "SPXRecognizer.h"
-
-/**
- * Represents a phrase list grammar for dynamic grammar scenarios.
- *
- * Added in version 1.5.0.
- */
-SPX_EXPORT
-@interface SPXPhraseListGrammar : SPXGrammar
-
-/**
- * Creates a phrase list grammar for the specified recognizer.
- *
- * @param recognizer The recognizer from which to obtain the phrase list grammar.
- * @return a phrase list grammar instance.
- */
--(nullable instancetype)initWithRecognizer:(nonnull SPXRecognizer *)recognizer;
-
-/**
- * Adds a simple phrase that may be spoken by the user.
- *
- * @param phrase The phrase to be added.
- */
--(void)addPhrase:(nonnull NSString *)phrase;
-
-/**
- * Sets the phrase list grammar biasing weight.
- * The allowed range is [0.0, 2.0].
- * The default weight is 1.0. Value zero disables the phrase list.
- *
- * @param weight Phrase list grammar biasing weight.
- */
--(void)setWeight:(double)weight;
-
-/**
- * Clears all phrases from the phrase list grammar.
- */
--(void)clear;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXPronunciationAssessmentConfiguration.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXPronunciationAssessmentConfiguration.h
deleted file mode 100644
index 046a929..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXPronunciationAssessmentConfiguration.h
+++ /dev/null
@@ -1,185 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXSpeechEnums.h"
-#import "SPXRecognizer.h"
-
-/**
- * Represents pronunciation assessment configuration
- * Added in version 1.14.0
- */
-SPX_EXPORT
-@interface SPXPronunciationAssessmentConfiguration : NSObject
-
-/**
- * Initializes an instance of the SPXPronunciationAssessmentConfiguration.
- * For parameter details, see the table
- * [Pronunciation assessment parameters](/azure/cognitive-services/speech-service/rest-speech-to-text-short#pronunciation-assessment-parameters).
- *
- * @param referenceText The reference text.
- * @param gradingSystem The point system for score calibration.
- * @param granularity The evaluation granularity.
- * @param enableMiscue If enables miscue calculation. When true, the pronounced words are compared to the reference text, and are marked with omission/insertion based on the comparison; when false, the recognized text will always be reference text.
- *
- * @return an instance of pronunciation assessment configuration.
- */
-- (nullable instancetype)init:(nonnull NSString *)referenceText
- gradingSystem:(SPXPronunciationAssessmentGradingSystem)gradingSystem
- granularity:(SPXPronunciationAssessmentGranularity)granularity
- enableMiscue:(BOOL)enableMiscue
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes an instance of the SPXPronunciationAssessmentConfiguration.
- * For parameter details, see the table
- * [Pronunciation assessment parameters](/azure/cognitive-services/speech-service/rest-speech-to-text-short#pronunciation-assessment-parameters).
- *
- * @param referenceText The reference text.
- * @param gradingSystem The point system for score calibration.
- * @param granularity The evaluation granularity.
- * @param enableMiscue If enables miscue calculation.
- * @param outError error information.
- *
- * @return an instance of pronunciation assessment configuration.
- */
-- (nullable instancetype)init:(nonnull NSString *)referenceText
- gradingSystem:(SPXPronunciationAssessmentGradingSystem)gradingSystem
- granularity:(SPXPronunciationAssessmentGranularity)granularity
- enableMiscue:(BOOL)enableMiscue
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes an instance of the SPXPronunciationAssessmentConfiguration.
- * For parameter details, see the table
- * [Pronunciation assessment parameters](/azure/cognitive-services/speech-service/rest-speech-to-text-short#pronunciation-assessment-parameters).
- *
- * @param referenceText The reference text.
- * @param gradingSystem The point system for score calibration.
- * @param granularity The evaluation granularity.
- *
- * @return an instance of pronunciation assessment configuration.
- */
-- (nullable instancetype)init:(nonnull NSString *)referenceText
- gradingSystem:(SPXPronunciationAssessmentGradingSystem)gradingSystem
- granularity:(SPXPronunciationAssessmentGranularity)granularity
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes an instance of the SPXPronunciationAssessmentConfiguration.
- * For parameter details, see the table
- * [Pronunciation assessment parameters](/azure/cognitive-services/speech-service/rest-speech-to-text-short#pronunciation-assessment-parameters).
- *
- * @param referenceText The reference text.
- * @param gradingSystem The point system for score calibration.
- * @param granularity The evaluation granularity.
- * @param outError error information.
- *
- * @return an instance of pronunciation assessment configuration.
- */
-- (nullable instancetype)init:(nonnull NSString *)referenceText
- gradingSystem:(SPXPronunciationAssessmentGradingSystem)gradingSystem
- granularity:(SPXPronunciationAssessmentGranularity)granularity
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes an instance of the SPXPronunciationAssessmentConfiguration.
- * For parameter details, see the table
- * [Pronunciation assessment parameters](/azure/cognitive-services/speech-service/rest-speech-to-text-short#pronunciation-assessment-parameters).
- *
- * @param referenceText The reference text.
- *
- * @return an instance of pronunciation assessment configuration.
- */
-- (nullable instancetype)init:(nonnull NSString *)referenceText
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes an instance of the SPXPronunciationAssessmentConfiguration.
- * For parameter details, see the table
- * [Pronunciation assessment parameters](/azure/cognitive-services/speech-service/rest-speech-to-text-short#pronunciation-assessment-parameters).
- *
- * @param referenceText The reference text.
- * @param outError error information.
- *
- * @return an instance of pronunciation assessment configuration.
- */
-- (nullable instancetype)init:(nonnull NSString *)referenceText
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes an instance of the SPXPronunciationAssessmentConfiguration using json string.
- *
- * @param json the json string.
- *
- * @return an instance of pronunciation assessment configuration.
- */
-- (nullable instancetype)initWithJson:(nonnull NSString *)json
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes an instance of the SPXPronunciationAssessmentConfiguration using json string.
- *
- * @param json the json string.
- * @param outError error information.
- *
- * @return an instance of pronunciation assessment configuration.
- */
-- (nullable instancetype)initWithJson:(nonnull NSString *)json
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * The reference text.
- */
-@property (nonatomic, copy, nullable)NSString *referenceText;
-
-/**
- * The phoneme alphabet. Valid values are "SAPI" (default) and "IPA".
- *
- * NOTE: Added in version 1.20.0
- */
-@property (nonatomic, copy, nullable)NSString *phonemeAlphabet;
-- (nullable NSString *)phonemeAlphabet UNAVAILABLE_ATTRIBUTE;
-
-/**
- * The nbest phoneme count.
- *
- * NOTE: Added in version 1.20.0
- */
-@property (nonatomic)NSInteger nbestPhonemeCount;
-- (NSInteger)nbestPhonemeCount UNAVAILABLE_ATTRIBUTE;
-
-/**
- * Whether to enable prosoody assessment.
- *
- * Added in version 1.33.0.
- */
-- (void)enableProsodyAssessment;
-
-/**
- * Gets the json string of pronunciation assessment parameters.
- *
- * @return json string of pronunciation assessment parameters.
- */
-- (nullable NSString *)toJson;
-
-/**
- * Applies the settings in this config to a recognizer.
- *
- * @param recognizer The target recognizer.
- */
-- (void)applyToRecognizer:(nonnull SPXRecognizer *)recognizer
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-
-/**
- * Applies the settings in this config to a recognizer.
- *
- * @param recognizer The target recognizer.
- * @param outError error information.
- */
-- (BOOL)applyToRecognizer:(nonnull SPXRecognizer *)recognizer error:(NSError * _Nullable * _Nullable)outError;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXPronunciationAssessmentResult.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXPronunciationAssessmentResult.h
deleted file mode 100644
index d794325..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXPronunciationAssessmentResult.h
+++ /dev/null
@@ -1,72 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXSpeechRecognitionResult.h"
-#import "SPXTimingResult.h"
-
-/**
- * Represents content assessment result
- * Added in version 1.33.0
- */
-SPX_EXPORT
-@interface SPXContentAssessmentResult : NSObject
-
-
-@end
-
-/**
- * Represents pronunciation assessment result
- * Added in version 1.14.0
- */
-SPX_EXPORT
-@interface SPXPronunciationAssessmentResult : NSObject
-
-/**
- * The pronunciation accuracy of the given speech, which indicates
- * how closely the phonemes match a native speaker's pronunciation.
- */
-@property (readonly) double accuracyScore;
-
-/**
- * The overall score indicating the pronunciation quality of the given speech.
- * This is calculated from AccuracyScore, FluencyScore and CompletenessScore with weight.
- */
-@property (readonly)double pronunciationScore;
-
-/**
- * The score indicating the completeness of the given speech by calculating the ratio of pronounced words towards entire input.
- */
-@property (readonly)double completenessScore;
-
-/**
- * The score indicating the fluency of the given speech.
- */
-@property (readonly)double fluencyScore;
-
-/**
- * The prosody score.
- */
-@property (readonly)double prosodyScore;
-
-/**
- * Word level pronunciation assessment results.
- *
- * Added in version 1.21.0
- */
-@property (nonatomic, retain, nullable) NSArray *words;
-
-/**
- * Initializes an SPXPronunciationAssessmentResult object using SPXSpeechRecognitionResult.
- *
- * @param speechRecognitionResult the speech recognition result
- *
- * @return an instance of auto detection source language result.
- */
-
-- (nullable instancetype)init:(nonnull SPXSpeechRecognitionResult *)speechRecognitionResult;
-
-
-@end
\ No newline at end of file
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXPropertyCollection.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXPropertyCollection.h
deleted file mode 100644
index 3297e78..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXPropertyCollection.h
+++ /dev/null
@@ -1,69 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXSpeechEnums.h"
-
-/**
- * Represents a collection of properties and their values.
- */
-@protocol SPXPropertyCollection
-
-/**
- * Returns the property value.
- * If the name is not available, it returns an empty string.
- *
- * @param name property name.
- * @return value of the property.
- */
--(nullable NSString *)getPropertyByName:(nonnull NSString *)name;
-
-/**
- * Returns the property value.
- * If the name is not available, it returns the specified default value.
- *
- * @param name property name.
- * @param defaultValue default value which is returned if the property is not available in the collection.
- * @return value of the property.
- */
--(nullable NSString *)getPropertyByName:(nonnull NSString *)name defaultValue:(nonnull NSString *)defaultValue;
-
-/**
- * Returns the property value.
- * If the specified id is not available, it returns an empty string.
- *
- * @param propertyId property id.
- * @return value of the property.
- */
--(nullable NSString *)getPropertyById:(SPXPropertyId)propertyId;
-
-/**
- * Returns the property value.
- * If the specified id is not available, it returns the specified default value.
- *
- * @param propertyId property id.
- * @param defaultValue default value which is returned if the property is not available in the collection.
- * @return value of the property.
- */
--(nullable NSString *)getPropertyById:(SPXPropertyId)propertyId defaultValue:(nonnull NSString *)defaultValue;
-
-@optional
-/**
- * Sets the property value by name.
- *
- * @param name property name.
- * @param value value of the property.
- */
--(void)setPropertyTo:(nonnull NSString *)value byName:(nonnull NSString *)name;
-
-/**
- * Sets the property value by property id.
- *
- * @param propertyId property id.
- * @param value value of the property.
- */
--(void)setPropertyTo:(nonnull NSString *)value byId:(SPXPropertyId)propertyId;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXRecognitionEventArgs.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXRecognitionEventArgs.h
deleted file mode 100644
index 3882ebe..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXRecognitionEventArgs.h
+++ /dev/null
@@ -1,21 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXSessionEventArgs.h"
-
-/**
- * Defines the payload for SpeechStartDetected and SpeechEndDetected events.
- */
-SPX_EXPORT
-@interface SPXRecognitionEventArgs : SPXSessionEventArgs
-
-/**
- * Represents the message offset in ticks.
- * A single tick represents one hundred nanoseconds or one ten-millionth of a second.
- */
-@property (readonly)uint64_t offset;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXRecognitionResult.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXRecognitionResult.h
deleted file mode 100644
index 2d7e3e5..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXRecognitionResult.h
+++ /dev/null
@@ -1,134 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXSpeechEnums.h"
-#import "SPXPropertyCollection.h"
-
-/**
- * Represents the recognition result base class.
- */
-SPX_EXPORT
-@interface SPXRecognitionResult : NSObject
-
-/**
- * The result identifier.
- */
-@property (copy, readonly, nonnull)NSString *resultId;
-
-/**
- * The reason the result was created.
- */
-@property (readonly)SPXResultReason reason;
-
-/**
- * The recognized text in the result.
- */
-@property (copy, readonly, nullable)NSString *text;
-
-/**
- * Duration of recognized speech in ticks.
- * A single tick represents one hundred nanoseconds or one ten-millionth of a second.
- */
-@property (readonly)uint64_t duration;
-
-/**
- * Offset of recognized speech in milliseconds.
- * A single tick represents one hundred nanoseconds or one ten-millionth of a second.
- */
-@property (readonly)uint64_t offset;
-
-/**
- * Index of the input audio channel where the speech was recognized.
- * Numbering starts at zero.
- */
-@property (readonly)uint32_t channel;
-
-/**
- * The set of properties exposed in the result.
- */
-@property (readonly, nullable)id properties;
-
-@end
-
-
-/**
- * Defines detailed information about why a result was canceled.
- */
-SPX_EXPORT
-@interface SPXCancellationDetails : NSObject
-
-/**
- * The reason the recognition was canceled.
- */
-@property (readonly)SPXCancellationReason reason;
-
-/**
- * The error code in case of an unsuccessful recognition (reason is set to Error).
- *
- * Added in version 1.1.0.
- */
-@property (readonly)SPXCancellationErrorCode errorCode;
-
-/**
- * The error message in case of an unsuccessful recognition (reason is set to Error).
- */
-@property (copy, readonly, nullable)NSString *errorDetails;
-
-/**
- * Creates an instance of SPXCancellationDetails object for the canceled SPXSpeechRecognitionResult.
- *
- * @param recognitionResult The result that was canceled.
- * @return The cancellation details object being created.
- */
--(nullable instancetype)initFromCanceledRecognitionResult:(nonnull SPXRecognitionResult *)recognitionResult
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Creates an instance of SPXCancellationDetails object for the canceled SPXSpeechRecognitionResult.
- *
- * Added in version 1.6.0.
- *
- * @param recognitionResult The result that was canceled.
- * @param outError error information.
- * @return The cancellation details object being created.
- */
--(nullable instancetype)initFromCanceledRecognitionResult:(nonnull SPXRecognitionResult *)recognitionResult error:(NSError * _Nullable * _Nullable)outError;
-
-@end
-
-
-/**
- * Defines detailed information for NoMatch recognition results.
- */
-SPX_EXPORT
-@interface SPXNoMatchDetails : NSObject
-
-/**
- * The reason why NoMatch is returned.
- */
-@property (readonly)SPXNoMatchReason reason;
-
-/**
- * Initializes an instance of SPXNoMatchDetails object from a NoMatch result.
- *
- * @param recognitionResult recognition result that has NoMatch returned in Reason.
- * @return an SPXNoMatchDetails instance.
- */
--(nullable instancetype)initFromNoMatchRecognitionResult:(nonnull SPXRecognitionResult *)recognitionResult
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes an instance of SPXNoMatchDetails object from a NoMatch result.
- *
- * Added in version 1.6.0.
- *
- * @param recognitionResult recognition result that has NoMatch returned in Reason.
- * @param outError error information.
- * @return an SPXNoMatchDetails instance.
- */
--(nullable instancetype)initFromNoMatchRecognitionResult:(nonnull SPXRecognitionResult *)recognitionResult error:(NSError * _Nullable * _Nullable)outError;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXRecognizer.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXRecognizer.h
deleted file mode 100644
index 44c2bf3..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXRecognizer.h
+++ /dev/null
@@ -1,54 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXSessionEventArgs.h"
-#import "SPXRecognitionEventArgs.h"
-#import "SPXPropertyCollection.h"
-
-/**
- * Defines the base class SPXRecognizer which mainly contains common event handlers.
- */
-
-SPX_EXPORT
-@interface SPXRecognizer : NSObject
-
-typedef void (^SPXSessionEventHandler)(SPXRecognizer * _Nonnull, SPXSessionEventArgs * _Nonnull);
-typedef void (^SPXRecognitionEventHandler)(SPXRecognizer * _Nonnull, SPXRecognitionEventArgs * _Nonnull);
-
-/**
- * The collection of properties and their values defined for this SPXRecognizer.
- */
-@property (readonly, nullable)id properties;
-
-/**
- * Subscribes to the SessionStarted event using the specified handler.
- *
- * @param eventHandler the handler function for this event.
- */
-- (void)addSessionStartedEventHandler:(nonnull SPXSessionEventHandler)eventHandler;
-
-/**
- * Subscribes to the SessionStopped event using the specified handler.
- *
- * @param eventHandler the handler function for this event.
- */
-- (void)addSessionStoppedEventHandler:(nonnull SPXSessionEventHandler)eventHandler;
-
-/**
- * Subscribes to the SpeechStartDetected event using the specified handler.
- *
- * @param eventHandler the handler function for this event.
- */
-- (void)addSpeechStartDetectedEventHandler:(nonnull SPXRecognitionEventHandler)eventHandler;
-
-/**
- * Subscribes to SpeechEndDetected event using the specified handler.
- *
- * @param eventHandler the handler function for this event.
- */
-- (void)addSpeechEndDetectedEventHandler:(nonnull SPXRecognitionEventHandler)eventHandler;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSessionEventArgs.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSessionEventArgs.h
deleted file mode 100644
index d9964ba..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSessionEventArgs.h
+++ /dev/null
@@ -1,19 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-
-/**
- * Defines the payload for SessionStarted/SessionStopped events.
- */
-SPX_EXPORT
-@interface SPXSessionEventArgs : NSObject
-
-/**
- * The session identifier.
- */
-@property (copy, readonly, nonnull)NSString *sessionId;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSourceLanguageConfiguration.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSourceLanguageConfiguration.h
deleted file mode 100644
index c602345..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSourceLanguageConfiguration.h
+++ /dev/null
@@ -1,59 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-
-/**
- * Represents source language configuration, allowing specifying the source language and customized endpoint
- * Added in version 1.12.0
- */
-SPX_EXPORT
-@interface SPXSourceLanguageConfiguration : NSObject
-
-/**
- * Initializes an SPXSourceLanguageConfiguration object using the language.
- *
- * @param language value of the language.
- *
- * @return an instance of source language configuration.
- */
-- (nullable instancetype)init:(nonnull NSString *)language
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes an SPXSourceLanguageConfiguration object using the language.
- *
- * @param language value of the language.
- * @param outError error information.
- *
- * @return an instance of source language configuration.
- */
-- (nullable instancetype)init:(nonnull NSString *)language error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes an SPXSourceLanguageConfiguration object using the language and corresponding endpoint id
- *
- * @param language value of the language.
- * @param endpointId id of the customized endpoint, will be used to recognize the audio in the source language.
- *
- * @return an instance of source language configuration.
- */
- - (nullable instancetype)initWithLanguage:(nonnull NSString *)language endpointId:(nonnull NSString *)endpointId
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes an SPXSourceLanguageConfiguration object using the language and corresponding endpoint id
- *
- * @param language value of the language.
- * @param endpointId id of the customized endpoint, will be used to recognize the audio in the source language.
- * @param outError error information.
- *
- * @return an instance of source language configuration.
- */
- - (nullable instancetype)initWithLanguage:(nonnull NSString *)language
- endpointId:(nonnull NSString *)endpointId
- error:(NSError * _Nullable * _Nullable)outError;
-
-@end
\ No newline at end of file
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechApi.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechApi.h
deleted file mode 100644
index ef2211a..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechApi.h
+++ /dev/null
@@ -1,67 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXAudioConfiguration.h"
-#import "SPXAudioDataStream.h"
-#import "SPXAudioProcessingOptions.h"
-#import "SPXAudioStream.h"
-#import "SPXAudioStreamFormat.h"
-#import "SPXAutoDetectSourceLanguageConfiguration.h"
-#import "SPXAutoDetectSourceLanguageResult.h"
-#import "SPXConnection.h"
-#import "SPXConnectionEventArgs.h"
-#import "SPXConversation.h"
-#import "SPXConversationEventArgs.h"
-#import "SPXConversationTranscriber.h"
-#import "SPXConversationTranscriptionEventArgs.h"
-#import "SPXConversationTranscriptionResult.h"
-#import "SPXConversationTranslationEventArgs.h"
-#import "SPXConversationTranslationResult.h"
-#import "SPXConversationTranslator.h"
-#import "SPXDialogServiceConfiguration.h"
-#import "SPXDialogServiceConnector.h"
-#import "SPXDialogServiceConnectorActivityReceivedEventArgs.h"
-#import "SPXDialogServiceConnectorTurnStatusReceivedEventArgs.h"
-#import "SPXEventLogger.h"
-#import "SPXEmbeddedSpeechConfiguration.h"
-#import "SPXFileLogger.h"
-#import "SPXGrammar.h"
-#import "SPXGrammarPhrase.h"
-#import "SPXMeeting.h"
-#import "SPXMeetingTranscriber.h"
-#import "SPXMeetingTranscriptionEventArgs.h"
-#import "SPXMeetingTranscriptionResult.h"
-#import "SPXMemoryLogger.h"
-#import "SPXKeywordRecognitionEventArgs.h"
-#import "SPXKeywordRecognitionResult.h"
-#import "SPXKeywordRecognizer.h"
-#import "SPXKeywordRecognitionModel.h"
-#import "SPXParticipant.h"
-#import "SPXPhraseListGrammar.h"
-#import "SPXPronunciationAssessmentConfiguration.h"
-#import "SPXPronunciationAssessmentResult.h"
-#import "SPXPropertyCollection.h"
-#import "SPXRecognitionEventArgs.h"
-#import "SPXRecognitionResult.h"
-#import "SPXRecognizer.h"
-#import "SPXSessionEventArgs.h"
-#import "SPXSpeechConfiguration.h"
-#import "SPXSpeechRecognitionEventArgs.h"
-#import "SPXSpeechRecognitionModelInfo.h"
-#import "SPXSpeechRecognitionResult.h"
-#import "SPXSpeechRecognizer.h"
-#import "SPXSpeechSynthesisCancellationDetails.h"
-#import "SPXSpeechSynthesisEventArgs.h"
-#import "SPXSpeechSynthesizer.h"
-#import "SPXSpeechTranslationConfiguration.h"
-#import "SPXSpeechTranslationModelInfo.h"
-#import "SPXSourceLanguageConfiguration.h"
-#import "SPXTranslationRecognitionEventArgs.h"
-#import "SPXTranslationRecognitionResult.h"
-#import "SPXTranslationRecognizer.h"
-#import "SPXTranslationSynthesisEventArgs.h"
-#import "SPXTranslationSynthesisResult.h"
-#import "SPXUser.h"
-#import "SPXTimingResult.h"
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechConfiguration.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechConfiguration.h
deleted file mode 100644
index 27767ab..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechConfiguration.h
+++ /dev/null
@@ -1,402 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXPropertyCollection.h"
-
-/**
- * Defines configurations for speech recognition.
- */
-SPX_EXPORT
-@interface SPXSpeechConfiguration : NSObject
-
-/**
- * Tag of speech recognition language, using BCP-47 format.
- */
-@property (nonatomic, copy, nullable)NSString *speechRecognitionLanguage;
-
-/**
- * Endpoint ID of a customized speech model that is used for speech recognition, or a custom voice model for speech synthesis.
- */
-@property (nonatomic, copy, nullable)NSString *endpointId;
-
-/**
- * The output format of the speech recognition result.
- *
- * Note: This output format is for speech recognition result, use SPXSpeechConfiguration.speechSynthesisOutputFormat
- * and SPXSpeechConfiguration.setSpeechSynthesisOutputFormat to get/set the systhesized audio output format.
- */
-@property (nonatomic)SPXOutputFormat outputFormat;
-
-/**
- * Authorization token.
- *
- * Note: The caller needs to ensure that the authorization token is valid. Before the authorization token
- * expires, the caller needs to refresh it by calling this setter with a new valid token.
- * As configuration values are copied when creating a new recognizer, the new token value will not apply to recognizers that have already been created.
- * For recognizers that have been created before, you need to set authorization token of the corresponding recognizer
- * to refresh the token. Otherwise, the recognizers will encounter errors during recognition.
- */
-@property (nonatomic, copy, nullable)NSString *authorizationToken;
-
-/**
- * Subscription key.
- */
-@property (nonatomic, copy, readonly, nullable)NSString *subscriptionKey;
-
-/**
- * Region name (see the region page).
- */
-@property (nonatomic, copy, readonly, nullable)NSString *region;
-
-/**
- * Speech synthesis language.
- *
- * Added in version 1.7.0
- */
-@property (nonatomic, copy, nullable)NSString *speechSynthesisLanguage;
-
-/**
- * Speech synthesis voice.
- *
- * Added in version 1.7.0
- */
-@property (nonatomic, copy, nullable)NSString *speechSynthesisVoiceName;
-
-/**
- * Speech synthesis optput format.
- *
- * Added in version 1.7.0
- */
-@property (nonatomic, copy, readonly, nullable)NSString* speechSynthesisOutputFormat;
-
-/**
- * Initializes an instance of a speech configuration with the specified subscription key and service region.
- *
- * Added in version 1.6.0.
- *
- * @param subscriptionKey the subscription key to be used.
- * @param region the region name (see the region page).
- * @param outError error information.
- * @return a speech configuration instance.
- */
-- (nullable instancetype)initWithSubscription:(nonnull NSString *)subscriptionKey region:(nonnull NSString *)region error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes an instance of a speech configuration with the specified subscription key and service region.
- *
- * @param subscriptionKey the subscription key to be used.
- * @param region the region name (see the region page).
- * @return a speech configuration instance.
- */
-- (nullable instancetype)initWithSubscription:(nonnull NSString *)subscriptionKey region:(nonnull NSString *)region
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes an instance of a speech configuration with specified authorization token and service region.
- *
- * Note: The caller needs to ensure that the authorization token is valid. Before the authorization token
- * expires, the caller needs to refresh it by calling this setter with a new valid token.
- * As configuration values are copied when creating a new recognizer, the new token value will not apply to recognizers that have already been created.
- * For recognizers that have been created before, you need to set authorization token of the corresponding recognizer
- * to refresh the token. Otherwise, the recognizers will encounter errors during recognition.
- *
- * @param authToken the authorization token.
- * @param region the region name (see the region page).
- * @return a speech configuration instance.
- */
-- (nullable instancetype)initWithAuthorizationToken:(nonnull NSString *)authToken region:(nonnull NSString *)region
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes an instance of a speech configuration with specified authorization token and service region.
- *
- * Note: The caller needs to ensure that the authorization token is valid. Before the authorization token
- * expires, the caller needs to refresh it by calling this setter with a new valid token.
- * As configuration values are copied when creating a new recognizer, the new token value will not apply to recognizers that have already been created.
- * For recognizers that have been created before, you need to set authorization token of the corresponding recognizer
- * to refresh the token. Otherwise, the recognizers will encounter errors during recognition.
- *
- * Added in version 1.6.0.
- *
- * @param authToken the authorization token.
- * @param region the region name (see the region page).
- * @param outError error information.
- * @return a speech configuration instance.
- */
-- (nullable instancetype)initWithAuthorizationToken:(nonnull NSString *)authToken region:(nonnull NSString *)region error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes an instance of the speech configuration with specified endpoint and subscription key.
- * This method is intended only for users who use a non-standard service endpoint or parameters.
- *
- * Note: The query parameters specified in the endpoint URI are not changed, even if they are set by any other APIs.
- * Whether a specific query parameter is supported or not, depends on the endpoint and scenario.
- * For example, if the recognition language is defined in the URI as query parameter "language=de-DE", and is also set to "en-US" via
- * property speechRecognitionLanguage in SPXSpeechConfiguration, the language setting in the URI takes precedence, and the effective language is "de-DE".
- * The example only applies when the endpoint and scenario combination supports language as a query parameter.
- * Only the parameters that are not specified in the endpoint URI can be set by other APIs.
- *
- * Note: To use an authorization token, use initWithEndpoint, and then set the authorizationToken property on the created SPXSpeechConfiguration instance.
- *
- * @param endpointUri The service endpoint to connect to.
- * @param subscriptionKey the subscription key.
- * @return A speech configuration instance.
- */
-- (nullable instancetype)initWithEndpoint:(nonnull NSString *)endpointUri subscription:(nonnull NSString *)subscriptionKey
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes an instance of the speech configuration with specified endpoint and subscription key.
- * This method is intended only for users who use a non-standard service endpoint or parameters.
- *
- * Note: The query parameters specified in the endpoint URI are not changed, even if they are set by any other APIs.
- * For example, if the recognition language is defined in the URI as query parameter "language=de-DE", and is also set to "en-US" via
- * property speechRecognitionLanguage in SPXSpeechConfiguration, the language setting in the URI takes precedence, and the effective language is "de-DE".
- * Only the parameters that are not specified in the endpoint URI can be set by other APIs.
- *
- * Note: To use an authorization token, use initWithEndpoint, and then set the authorizationToken property on the created SPXSpeechConfiguration instance.
- *
- * Added in version 1.5.0.
- *
- * @param endpointUri The service endpoint to connect to.
- * @param subscriptionKey the subscription key.
- * @param outError error information.
- * @return A speech configuration instance.
- */
-- (nullable instancetype)initWithEndpoint:(nonnull NSString *)endpointUri subscription:(nonnull NSString *)subscriptionKey error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes an instance of the speech configuration with specified endpoint.
- * This method is intended only for users who use a non-standard service endpoint or parameters.
- *
- * Note: The query parameters specified in the endpoint URI are not changed, even if they are set by any other APIs.
- * For example, if the recognition language is defined in the uri as query parameter "language=de-DE", and is also set to "en-US" via
- * property speechRecognitionLanguage in SpeechConfiguration, the language setting in the uri takes precedence, and the effective language is "de-DE".
- * Only the parameters that are not specified in the endpoint URL can be set by other APIs.
- *
- * Note: if the endpoint requires a subscription key for authentication, please use initWithEndpoint:subscription: to pass the subscription key as parameter.
- * To use an authorization token, use this method to create a SpeechConfig instance, and then set the authorizationToken property on the created SPXSpeechConfiguration instance.
- *
- * Added in version 1.6.0.
- *
- * @param endpointUri The service endpoint to connect to.
- * @return A speech configuration instance.
- */
-- (nullable instancetype)initWithEndpoint:(nonnull NSString *)endpointUri
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-
-/**
- * Initializes an instance of the speech configuration with specified endpoint.
- * This method is intended only for users who use a non-standard service endpoint or parameters.
- *
- * Note: The query parameters specified in the endpoint URI are not changed, even if they are set by any other APIs.
- * For example, if the recognition language is defined in the uri as query parameter "language=de-DE", and is also set to "en-US" via
- * property speechRecognitionLanguage in SpeechConfiguration, the language setting in the uri takes precedence, and the effective language is "de-DE".
- * Only the parameters that are not specified in the endpoint URL can be set by other APIs.
- *
- * Note: if the endpoint requires a subscription key for authentication, please use initWithEndpoint:subscription: to pass the subscription key as parameter.
- * To use an authorization token, use this method to create a SpeechConfig instance, and then set the authorizationToken property on the created SPXSpeechConfiguration instance.
- *
- * Added in version 1.6.0.
- *
- * @param endpointUri The service endpoint to connect to.
- * @param outError error information.
- * @return A speech configuration instance.
- */
-- (nullable instancetype)initWithEndpoint:(nonnull NSString *)endpointUri error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes an instance of the speech configuration with specified host and subscription key.
- * This method is intended only for users who use a non-default service host. Standard resource path will be assumed.
- * For services with a non-standard resource path or no path at all, use initWithEndpoint instead.
- *
- * Note: Query parameters are not allowed in the host URI and must be set by other APIs.
- *
- * Note: To use an authorization token, use initWithHost, and then set the authorizationToken property on the created SPXSpeechConfiguration instance.
- *
- * Added in version 1.8.0.
- *
- * @param hostUri The service host to connect to. Format is "protocol://host:port" where ":port" is optional.
- * @param subscriptionKey The subscription key.
- * @return A speech configuration instance.
- */
-- (nullable instancetype)initWithHost:(nonnull NSString *)hostUri subscription:(nonnull NSString *)subscriptionKey
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes an instance of the speech configuration with specified host and subscription key.
- * This method is intended only for users who use a non-default service host. Standard resource path will be assumed.
- * For services with a non-standard resource path or no path at all, use initWithEndpoint instead.
- *
- * Note: Query parameters are not allowed in the host URI and must be set by other APIs.
- *
- * Note: To use an authorization token, use initWithHost, and then set the authorizationToken property on the created SPXSpeechConfiguration instance.
- *
- * Added in version 1.8.0.
- *
- * @param hostUri The service host to connect to. Format is "protocol://host:port" where ":port" is optional.
- * @param subscriptionKey The subscription key.
- * @param outError Error information.
- * @return A speech configuration instance.
- */
-- (nullable instancetype)initWithHost:(nonnull NSString *)hostUri subscription:(nonnull NSString *)subscriptionKey error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes an instance of the speech configuration with specified host.
- * This method is intended only for users who use a non-default service host. Standard resource path will be assumed.
- * For services with a non-standard resource path or no path at all, use initWithEndpoint instead.
- *
- * Note: Query parameters are not allowed in the host URI and must be set by other APIs.
- *
- * Note: If the host requires a subscription key for authentication, use initWithHost:subscription: to pass the subscription key as parameter.
- * To use an authorization token, use this method to create a SpeechConfig instance, and then set the authorizationToken property on the created SPXSpeechConfiguration instance.
- *
- * Added in version 1.8.0.
- *
- * @param hostUri The service host to connect to. Format is "protocol://host:port" where ":port" is optional.
- * @return A speech configuration instance.
- */
-- (nullable instancetype)initWithHost:(nonnull NSString *)hostUri
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-
-/**
- * Initializes an instance of the speech configuration with specified host.
- * This method is intended only for users who use a non-default service host. Standard resource path will be assumed.
- * For services with a non-standard resource path or no path at all, use initWithEndpoint instead.
- *
- * Note: Query parameters are not allowed in the host URI and must be set by other APIs.
- *
- * Note: If the host requires a subscription key for authentication, use initWithHost:subscription: to pass the subscription key as parameter.
- * To use an authorization token, use this method to create a SpeechConfig instance, and then set the authorizationToken property on the created SPXSpeechConfiguration instance.
- *
- * Added in version 1.8.0.
- *
- * @param hostUri The service host to connect to. Format is "protocol://host:port" where ":port" is optional.
- * @param outError Error information.
- * @return A speech configuration instance.
- */
-- (nullable instancetype)initWithHost:(nonnull NSString *)hostUri error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Sets proxy configuration
- *
- * Added in version 1.1.0
- *
- * Note: Proxy functionality is not available on iOS and macOS. This function will have no effect on these platforms.
- *
- * @param proxyHostName the host name of the proxy server, without the protocol scheme (http://)
- * @param proxyPort the port number of the proxy server.
- * @param proxyUserName the user name of the proxy server. Use empty string if no user name is needed.
- * @param proxyPassword the password of the proxy server. Use empty string if no user password is needed.
- */
--(void)setProxyUsingHost:(nonnull NSString *)proxyHostName Port:(uint32_t)proxyPort UserName:(nullable NSString *)proxyUserName Password:(nullable NSString *)proxyPassword
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-
-/**
- * Sets proxy configuration
- *
- * Note: Proxy functionality is not available on iOS and macOS. This function will have no effect on these platforms.
- *
- * Added in version 1.6.0
- *
- * @param proxyHostName the host name of the proxy server, without the protocol scheme (http://)
- * @param proxyPort the port number of the proxy server.
- * @param proxyUserName the user name of the proxy server. Use empty string if no user name is needed.
- * @param proxyPassword the password of the proxy server. Use empty string if no user password is needed.
- * @param outError error information.
- */
--(BOOL)setProxyUsingHost:(nonnull NSString *)proxyHostName Port:(uint32_t)proxyPort UserName:(nullable NSString *)proxyUserName Password:(nullable NSString *)proxyPassword error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Returns the property value.
- * If the name is not available, it returns an empty string.
- *
- * @param name property name.
- * @return value of the property.
- */
--(nullable NSString *)getPropertyByName:(nonnull NSString *)name;
-
-/**
- * Sets the property value by name.
- *
- * @param name property name.
- * @param value value of the property.
- */
--(void)setPropertyTo:(nonnull NSString *)value byName:(nonnull NSString *)name;
-
-/**
- * Returns the property value.
- * If the specified id is not available, it returns an empty string.
- *
- * @param propertyId property id.
- * @return value of the property.
- */
--(nullable NSString *)getPropertyById:(SPXPropertyId)propertyId;
-
-/**
- * Sets the property value by property id.
- *
- * @param propertyId property id.
- * @param value value of the property.
- */
--(void)setPropertyTo:(nonnull NSString *)value byId:(SPXPropertyId)propertyId;
-
-/**
- * Sets a property value that will be passed to service using the specified channel.
- *
- * Added in version 1.5.0.
- *
- * @param name the property name.
- * @param value the property value.
- * @param channel the channel used to pass the specified property to service.
- */
--(void)setServicePropertyTo:(nonnull NSString *)value byName:(nonnull NSString*)name usingChannel:(SPXServicePropertyChannel)channel;
-
-/**
- * Sets profanity option.
- *
- * Added in version 1.5.0.
- *
- * @param profanity Profanity option value.
- */
--(void)setProfanityOptionTo:(SPXSpeechConfigProfanityOption)profanity;
-
-/**
- * Set the speech synthesis audio output format (e.g. Riff16Khz16BitMonoPcm).
- *
- * Added in version 1.7.0
- *
- * @param formatId output format id.
- */
--(void)setSpeechSynthesisOutputFormat:(SPXSpeechSynthesisOutputFormat)formatId;
-
-/**
- * Enables audio logging in service.
- * Audio and content logs are stored either in Microsoft-owned storage, or in your own storage account linked
- * to your Cognitive Services subscription (Bring Your Own Storage (BYOS) enabled Speech resource).
- * Added in version 1.5.0.
- *
- */
--(void)enableAudioLogging;
-
-/**
- * Includes word-level timestamps in response result.
- *
- * Added in version 1.5.0.
- */
--(void)requestWordLevelTimestamps;
-
-/**
- * Enables dictation mode. Only supported in speech continuous recognition.
- *
- * Added in version 1.5.0.
- */
--(void)enableDictation;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechEnums.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechEnums.h
deleted file mode 100644
index 0982f70..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechEnums.h
+++ /dev/null
@@ -1,1312 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-/**
- * Defines property ids.
- *
- * Changed in version 1.4.0
- */
-typedef NS_ENUM(NSUInteger, SPXPropertyId)
-{
-
- /**
- * The Cognitive Services Speech Service subscription key. Under normal circumstances, you shouldn't
- * have to use this property directly.
- * Instead, use SPXSpeechConfiguration.initWithSubscription.
- */
- SPXSpeechServiceConnectionKey = 1000,
-
- /**
- * The Cognitive Services Speech Service endpoint (url). Under normal circumstances, you shouldn't
- * have to use this property directly.
- * Instead, use SPXSpeechConfiguration.initWithEndpoint.
- *
- * NOTE: This endpoint is not the same as the endpoint used to obtain an access token.
- */
- SPXSpeechServiceConnectionEndpoint = 1001,
-
- /**
- * The Cognitive Services Speech Service region. Under normal circumstances, you shouldn't have to
- * use this property directly.
- * Instead, use SPXSpeechConfiguration.initWithEndpoint, SPXSpeechConfiguration.initWithHost, or
- * SPXSpeechConfiguration.initWithAuthorizationToken.
- */
- SPXSpeechServiceConnectionRegion = 1002,
-
- /**
- * The Cognitive Services Speech Service authorization token (aka access token). Under normal circumstances,
- * you shouldn't have to use this property directly.
- * Instead, use SPXSpeechConfiguration.initWithAuthorizationToken,
- * SPXSpeechRecognizer.authorizationToken, or
- * SPXTranslationRecognizer.authorizationToken.
- */
- SPXSpeechServiceAuthorizationToken = 1003,
-
- /**
- * The Cognitive Services Speech Service authorization type. Currently unused.
- */
- SPXSpeechServiceAuthorizationType = 1004,
-
- /**
- * The Cognitive Services Custom Speech or Custom Voice Service endpoint id.
- *
- * NOTE: The endpoint id is available in the Custom Speech Portal, listed under Endpoint Details.
- */
- SPXSpeechServiceConnectionEndpointId = 1005,
-
- /**
- * The Cognitive Services Speech Service host (url). Under normal circumstances, you shouldn't
- * have to use this property directly.
- * Instead, use SPXSpeechConfiguration.initWithHost.
- */
- SPXSpeechServiceConnectionHost = 1006,
-
- /**
- * The host name of the proxy server. Not implemented yet.
- *
- * NOTE: Added in version 1.1.0.
- */
- SPXSpeechServiceConnectionProxyHostName = 1100,
-
- /**
- * The port of the proxy server. Not implemented yet.
- *
- * NOTE: Added in version 1.1.0.
- */
- SPXSpeechServiceConnectionProxyPort = 1101,
-
- /**
- * The user name of the proxy server. Not implemented yet.
- *
- * NOTE: Added in version 1.1.0.
- */
- SPXSpeechServiceConnectionProxyUserName = 1102,
-
- /**
- * The password of the proxy server. Not implemented yet.
- *
- * NOTE: Added in version 1.1.0.
- */
- SPXSpeechServiceConnectionProxyPassword = 1103,
-
- /**
- * The URL string built from speech configuration.
- * This property is intended to be read-only. The SDK is using it internally.
- *
- * NOTE: Added in version 1.5.0.
- */
- SPXSpeechServiceConnectionUrl = 1104,
-
- /**
- * Specifies the list of hosts for which proxies should not be used. This setting overrides all other configurations.
- * Hostnames are separated by commas and are matched in a case-insensitive manner. Wildcards are not supported.
- */
- SPXSpeechServiceConnectionProxyHostBypass = 1105,
-
- /**
- * The list of comma separated languages (BCP-47 format) used as target translation languages. Under normal circumstances,
- * you shouldn't have to use this property directly.
- * Instead use SPXSpeechTranslationConfiguration.addTargetLanguage
- * and the read-only SPXSpeechTranslationConfiguration.targetLanguages and SPXTranslationRecognizer.targetLanguages
- * collections.
- */
- SPXSpeechServiceConnectionTranslationToLanguages = 2000,
-
- /**
- * The name of the Cognitive Service Text to Speech Service voice. Under normal circumstances, you shouldn't have to use this
- * property directly.
- * Instead use SPXSpeechTranslationConfiguration.voiceName.
- *
- * NOTE: Valid voice names can be found here.
- */
- SPXSpeechServiceConnectionTranslationVoice = 2001,
-
- /**
- * Translation features. For internal use.
- */
- SPXSpeechServiceConnectionTranslationFeatures = 2002,
-
- /**
- * The Cognitive Services Speech Service recognition mode. Can be "INTERACTIVE", "CONVERSATION", "DICTATION".
- * This property is intended to be read-only. The SDK is using it internally.
- */
- SPXSpeechServiceConnectionRecognitionMode = 3000,
-
- /**
- * The spoken language to be recognized (in BCP-47 format).
- */
- SPXSpeechServiceConnectionRecognitionLanguage = 3001,
-
- /**
- * The session id. This id is a universally unique identifier (aka UUID) representing a specific binding of an audio input stream
- * and the underlying speech recognition instance to which it is bound. Under normal circumstances, you shouldn't have to use this
- * property directly.
- * Instead, use SPXSessionEventArgs.sessionId.
- */
- SPXSpeechSessionId = 3002,
-
- /**
- * The spoken language to be synthesized (e.g. en-US)
- */
- SPXSpeechServiceConnectionSynthesisLanguage = 3100,
-
- /**
- * The name of the voice to be used for speech synthesis
- */
- SPXSpeechServiceConnectionSynthesisVocie = 3101,
-
- /**
- * The string to specify speech synthesis output audio format (e.g. riff-16khz-16bit-mono-pcm)
- */
- SPXSpeechServiceConnectionSynthesisOutputFormat = 3102,
-
- /**
- * Indicates if use compressed audio format for speech synthesis audio transmission.
- * This property only affects when SpeechServiceConnection_SynthOutputFormat is set to a pcm format.
- * If this property is not set and GStreamer is available, SDK will use compressed format for synthesized audio transmission,
- * and decode it. You can set this property to "false" to use raw pcm format for transmission on wire.
- * Added in version 1.16.0
- */
- SPXSpeechServiceConnectionSynthesisEnableCompressedAudioTransmission = 3103,
-
- /**
- * The string to specify TTS backend; valid options are online and offline.
- * Under normal circumstances, you shouldn't have to use this property directly.
- * Instead, use SPXEmbeddedSpeechConfig.initWithPath or SPXEmbeddedSpeechConfig.initWithPaths
- * to set the synthesis backend to offline.
- * Added in version 1.19.0
- */
- SPXSpeechServiceConnectionSynthBackend = 3110,
-
- /**
- * The data file path(s) for offline synthesis engine; only valid when synthesis backend is offline.
- * Under normal circumstances, you shouldn't have to use this property directly.
- * Instead, use SPXEmbeddedSpeechConfig.initWithPath or SPXEmbeddedSpeechConfig.initWithPaths
- * Added in version 1.19.0
- */
- SPXSpeechServiceConnectionSynthOfflineDataPath = 3112,
-
- /**
- * The name of the offline TTS voice to be used for speech synthesis.
- * Added in version 1.19.0
- */
- SPXSpeechServiceConnectionSynthOfflineVoice = 3113,
-
- /**
- * The Cognitive Services Speech Service voices list api endpoint (url). Under normal circumstances,
- * you don't need to specify this property, SDK will construct it based on the region/host/endpoint of SPXSpeechConfig.
- * Added in version 1.16.0
- */
- SPXSpeechServiceConnectionVoicesListEndpoint = 3130,
-
- /**
- * The initial silence timeout value (in milliseconds) used by the service.
- * Added in version 1.5.0
- */
- SPXSpeechServiceConnectionInitialSilenceTimeoutMs = 3200,
-
- /**
- * This property is deprecated.
- * For current information about silence timeouts, please visit https://aka.ms/csspeech/timeouts.
- */
- SPXSpeechServiceConnectionEndSilenceTimeoutMs = 3201,
-
- /**
- * A boolean value specifying whether audio logging is enabled in the service or not.
- * Audio and content logs are stored either in Microsoft-owned storage, or in your own storage account linked
- * to your Cognitive Services subscription (Bring Your Own Storage (BYOS) enabled Speech resource).
- * Added in version 1.5.0
- */
- SPXSpeechServiceConnectionEnableAudioLogging = 3202,
-
- /**
- * The speech service connection language identifier mode.
- * Can be "AtStart" (the default), or "Continuous". See Language
- * Identification document https://aka.ms/speech/lid?pivots=programming-language-objectivec
- * for more details.
- * Added in 1.25.0
- */
- SPXSpeechServiceConnectionLanguageIdMode = 3205,
-
- /**
- * The speech service connection translation categoryId.
- */
- SPXSpeechServiceConnectionTranslationCategoryId = 3206,
-
- /**
- * The source language candidates used for auto language detection
- * Added in version 1.12.0
- */
- SPXSpeechServiceConnectionAutoDetectSourceLanguages = 3300,
-
- /**
- * The auto language detection result
- * Added in version 1.12.0
- */
- SPXSpeechServiceConnectionAutoDetectSourceLanguageResult = 3301,
-
- /**
- * The requested Cognitive Services Speech Service response output format (simple or detailed). Not implemented yet.
- */
- SPXSpeechServiceResponseRequestDetailedResultTrueFalse = 4000,
-
- /**
- * The requested Cognitive Services Speech Service response output profanity level. Currently unused.
- */
- SPXSpeechServiceResponseRequestProfanityFilterTrueFalse = 4001,
-
- /**
- * The requested Cognitive Services Speech Service response output profanity setting.
- * Allowed values are "masked", "removed", and "raw".
- * Added in version 1.5.0.
- */
- SPXSpeechServiceResponseProfanityOption = 4002,
-
- /**
- * A string value specifying which post processing option should be used by service.
- * Allowed values are "TrueText".
- * Added in version 1.5.0
- */
- SPXSpeechServiceResponsePostProcessingOption = 4003,
-
- /**
- * A boolean value specifying whether to include word-level timestamps in the response result.
- * Added in version 1.5.0
- */
- SPXSpeechServiceResponseRequestWordLevelTimestamps = 4004,
-
- /**
- * The number of times a word has to be in partial results to be returned.
- * Added in version 1.5.0
- */
- SPXSpeechServiceResponseStablePartialResultThreshold = 4005,
-
- /**
- * A string value specifying the output format option in the response result. Internal use only.
- * Added in version 1.5.0.
- */
- SPXSpeechServiceResponseOutputFormatOption = 4006,
-
- /**
- * A boolean value specifying whether to include SNR (signal to noise ratio) in the response result.
- * Added in version 1.18.0.
- */
- SPXSpeechServiceResponseRequestSnr = 4007,
-
- /**
- * A boolean value to request for stabilizing translation partial results by omitting words in the end.
- * Added in version 1.5.0.
- */
- SPXSpeechServiceResponseTranslationRequestStablePartialResult = 4100,
-
- /**
- * A boolean value specifying whether to request WordBoundary events.
- * Added in version 1.21.0.
- */
- SPXSpeechServiceResponseRequestWordBoundary = 4200,
-
- /**
- * A boolean value specifying whether to request punctuation boundary in WordBoundary Events. Default is true.
- * Added in version 1.21.0.
- */
- SPXSpeechServiceResponseRequestPunctuationBoundary = 4201,
-
- /**
- * A boolean value specifying whether to request sentence boundary in WordBoundary Events. Default is false.
- * Added in version 1.21.0.
- */
- SPXSpeechServiceResponseRequestSentenceBoundary = 4202,
-
- /**
- * A boolean value specifying whether the SDK should synchronize synthesis metadata events,
- * (e.g. word boundary, viseme, etc.) to the audio playback. This only takes effect when the audio is played through the SDK.
- * Default is true.
- * If set to false, the SDK will fire the events as they come from the service, which may be out of sync with the audio playback.
- * Added in version 1.31.0.
- */
- SPXSpeechServiceResponseSynthesisEventsSyncToAudio = 4210,
-
- /**
- * The Cognitive Services Speech Service response output (in JSON format). This property is available on recognition result objects only.
- */
- SPXSpeechServiceResponseJsonResult = 5000,
-
- /**
- * The Cognitive Services Speech Service error details (in JSON format). Under normal circumstances, you shouldn't have to
- * use this property directly.
- * Instead, use SPXCancellationDetails.errorDetails.
- */
- SPXSpeechServiceResponseJsonErrorDetails = 5001,
-
- /**
- * The recognition latency in milliseconds. Read-only, available on final speech/translation results.
- * This measures the latency between when an audio input is received by the SDK, and the moment the final result is received from the service.
- * The SDK computes the time difference between the last audio fragment from the audio input that is contributing to the final result, and the time the final result is received from the speech service.
- * Added in version 1.3.0.
- */
- SPXSpeechServiceResponseRecognitionLatencyMs = 5002,
-
- /**
- * The speech synthesis first byte latency in milliseconds. Read-only, available on final speech synthesis results.
- * This measures the latency between when the synthesis is started to be processed, and the moment the first byte audio is available.
- * Added in version 1.17.0.
- */
- SPXSpeechServiceResponseSynthesisFirstByteLatencyMs = 5010,
-
- /**
- * The speech synthesis all bytes latency in milliseconds. Read-only, available on final speech synthesis results.
- * This measures the latency between when the synthesis is started to be processed, and the moment the whole audio is synthesized.
- * Added in version 1.17.0.
- */
- SPXSpeechServiceResponseSynthesisFinishLatencyMs = 5011,
-
- /**
- * The underrun time for speech synthesis in milliseconds. Read-only, available on results in SynthesisCompleted events.
- * This measures the total underrun time from SPXAudioConfigPlaybackBufferLengthInMs is filled to synthesis completed.
- * Added in version 1.17.0.
- */
- SPXSpeechServiceResponseSynthesisUnderrunTimeMs = 5012,
-
- /**
- * The speech synthesis connection latency in milliseconds. Read-only, available on final speech synthesis results.
- * This measures the latency between when the synthesis is started to be processed, and the moment the HTTP/WebSocket connection is established.
- * Added in version 1.26.0
- */
- SPXSpeechServiceResponseSynthesisConnectionLatencyMs = 5013,
-
- /**
- * The speech synthesis network latency in milliseconds. Read-only, available on final speech synthesis results.
- * This measures the network round trip time.
- * Added in version 1.26.0
- */
- SPXSpeechServiceResponseSynthesisNetworkLatencyMs = 5014,
-
- /**
- * The speech synthesis service latency in milliseconds. Read-only, available on final speech synthesis results.
- * This measures the service processing time to synthesize the first byte of audio.
- * Added in version 1.26.0
- */
- SPXSpeechServiceResponseSynthesisServiceLatencyMs = 5015,
-
- /**
- * Indicates which backend the synthesis is finished by.
- * Read-only, available on speech synthesis results, except for the result in SynthesisStarted event.
- * Added in version 1.17.0.
- */
- SPXSpeechServiceResponseSynthesisBackend = 5020,
-
- /**
- * Determines if intermediate results contain speaker identification.
- * Allowed values are "true" or "false". If set to "true", the intermediate results will contain speaker identification.
- * The default value if unset or set to an invalid value is "false".
- * This is currently only supported for scenarios using the ConversationTranscriber".
- * Adding in version 1.40.
- */
- SPXSpeechServiceResponseDiarizeIntermediateResults = 5025,
-
- /**
- * The cancellation reason. Currently unused.
- */
- SPXCancellationDetailsReason = 6000,
-
- /**
- * The cancellation text. Currently unused.
- */
- SPXCancellationDetailsReasonText = 6001,
-
- /**
- * The cancellation detailed text. Currently unused.
- */
- SPXCancellationDetailsReasonDetailedText = 6002,
-
- /**
- * The device name for audio render. Under normal circumstances, you shouldn't have to
- * use this property directly.
- * Instead, use SPXAudioConfiguration.initWithSpeakerOutput.
- * Added in version 1.17.0
- */
- SPXAudioConfigDeviceNameForRender = 8005,
-
- /**
- * Playback buffer length in milliseconds, default is 50 milliseconds.
- * Added in version 1.17.0.
- */
- SPXAudioConfigPlaybackBufferLengthInMs = 8006,
-
- /**
- * The file name to write logs.
- *
- * NOTE: Added in version 1.4.0.
- */
- SPXSpeechLogFilename = 9001,
-
- /**
- * A duration of detected silence, measured in milliseconds, after which speech-to-text will determine a spoken
- * phrase has ended and generate a final Recognized result. Configuring this timeout may be helpful in situations
- * where spoken input is significantly faster or slower than usual and default segmentation behavior consistently
- * yields results that are too long or too short. Segmentation timeout values that are inappropriately high or low
- * can negatively affect speech-to-text accuracy; this property should be carefully configured and the resulting
- * behavior should be thoroughly validated as intended.
- *
- * The value must be in the range **[100, 5000]** milliseconds.
- * For more information about timeout configuration that includes discussion of default behaviors, please visit
- * https://aka.ms/csspeech/timeouts.
- */
- SPXSpeechSegmentationSilenceTimeoutMs = 9002,
-
- /**
- * The maximum length of a spoken phrase when using the Time segmentation strategy.
- * The value of must be set in order to use this setting.
- * As the length of a spoken phrase approaches this value, the will begin being reduced until either the phrase silence timeout is hit or the phrase reaches the maximum length.
- * The value must be in the range **[20000, 70000]** milliseconds.
- */
- SPXSpeechSegmentationMaximumTimeMs = 9003,
-
- /**
- * The strategy used to determine when a spoken phrase has ended and a final recognized result should be generated.
- * Allowed values are "Default", "Time", and "Semantic".
- *
- * Valid values are:
- * - **Default**: Use the default strategy and settings as determined by the Speech Service. Use in most situations.
- * - **Time**: Uses a time-based strategy where the amount of silence between speech is used to determine when to generate a final result.
- * - **Semantic**: Uses an AI model to determine the end of a spoken phrase based on the content of the phrase.
- *
- * When using the time strategy, the `Speech_SegmentationSilenceTimeoutMs` property can be used to adjust the amount of silence needed to determine the end of a spoken phrase,
- * and the `Speech_SegmentationMaximumTimeMs` property can be used to adjust the maximum length of a spoken phrase.
- *
- * The semantic strategy has no control properties available.
- */
- SPXSpeechSegmentationStrategy = 9004,
-
- /**
- * Controls how quickly the system signals a potential speech start after detecting voice activity.
- * This setting does not alter the underlying voice activity detection algorithm. It only adjusts the timing criteria for raising a SpeechStartDetected event.
- *
- * Allowed values are "low" (default), "medium" and "high".
- *
- * Usage notes:
- * Higher sensitivity values cause earlier event signaling, which can improve responsiveness but may increase false starts.
- * Lower sensitivity values delay signaling until more evidence is available, reducing false positives at the cost of latency.
- * Choose the sensitivity based on the trade-off between responsiveness and accuracy for your application.
- */
- SPXSpeechStartEventSensitivity = 9010,
-
- /**
- * The timestamp associated to data buffer written by client when using Pull/Push audio mode streams.
- * The timestamp is a 64-bit value with resolution of 90kHz. The same as the presentation timestamp in
- * MPEG transfrom stream.
- * See https://en.wikipedia.org/wiki/Presentation_timestamp.
- * NOTE: Added in version 1.13.0.
- */
- SPXDataBuffer_TimeStamp = 11001,
-
- /**
- * The user id associated to data buffer written by client when using Pull/Push audio mode streams.
- *
- * NOTE: Added in version 1.13.0.
- */
- SPXDataBuffer_UserId = 11002,
-
- /**
- * The reference text of the audio for pronunciation evaluation.
- * For this and the following pronunciation assessment parameters, see the table
- * [Pronunciation assessment parameters](/azure/cognitive-services/speech-service/rest-speech-to-text-short#pronunciation-assessment-parameters).
- * Under normal circumstances, you shouldn't have to use this property directly.
- *
- * NOTE: Added in version 1.14.0
- */
- SPXPronunciationAssessment_ReferenceText = 12001,
-
- /**
- * The point system for pronunciation score calibration (FivePoint or HundredMark).
- * Under normal circumstances, you shouldn't have to use this property directly.
- *
- * NOTE: Added in version 1.14.0
- */
- SPXPronunciationAssessment_GradingSystem = 12002,
-
- /**
- * The pronunciation evaluation granularity (Phoneme, Word, or FullText).
- * Under normal circumstances, you shouldn't have to use this property directly.
- *
- * NOTE: Added in version 1.14.0
- */
- SPXPronunciationAssessment_Granularity = 12003,
-
- /**
- * Defines if enable miscue calculation.
- * With this enabled, the pronounced words will be compared to the reference text,
- * and will be marked with omission/insertion based on the comparison. The default setting is False.
- * Under normal circumstances, you shouldn't have to use this property directly.
- *
- * NOTE: Added in version 1.14.0
- */
- SPXPronunciationAssessment_EnableMiscue = 12005,
-
- /**
- * The pronunciation evaluation phoneme alphabet. The valid values are "SAPI" (default) and "IPA"
- * Under normal circumstances, you shouldn't have to use this property directly.
- * Instead, use SPXPronunciationAssessmentConfiguration.phonemeAlphabet.
- *
- * NOTE: Added in version 1.20.0
- */
- SPXPronunciationAssessment_PhonemeAlphabet = 12006,
-
- /**
- * The pronunciation evaluation nbest phoneme count.
- * Under normal circumstances, you shouldn't have to use this property directly.
- * Instead, use SPXPronunciationAssessmentConfiguration.nbestPhonemeCount.
- *
- * NOTE: Added in version 1.20.0
- */
- SPXPronunciationAssessment_NBestPhonemeCount = 12007,
-
- /**
- * Whether to enable prosoody assessment.
- * Under normal circumstances, you shouldn't have to use this property directly.
- * Instead, use SPXPronunciationAssessmentConfiguration.enableProsodyAssessment.
- *
- * NOTE: Added in version 1.33.0
- */
- SPXPronunciationAssessment_EnableProsodyAssessment = 12008,
-
- /**
- * The json string of pronunciation assessment parameters
- * Under normal circumstances, you shouldn't have to use this property directly.
- *
- * NOTE: Added in version 1.14.0
- */
- SPXPronunciationAssessment_Json = 12009,
-
- /**
- * Pronunciation assessment parameters.
- * This property is intended to be read-only. The SDK is using it internally.
- *
- * NOTE: Added in version 1.14.0
- */
- SPXPronunciationAssessment_Params = 12010,
-
- /**
- * The timeout interval in milliseconds between synthesized speech audio frames.
- * The greater of this and 10 seconds is used as a hard frame timeout.
- * A speech synthesis timeout occurs if
- * a) the time passed since the latest frame exceeds this timeout interval and the Real-Time Factor (RTF) exceeds its maximum value, or
- * b) the time passed since the latest frame exceeds the hard frame timeout.
- */
- SPXSpeechSynthesis_FrameTimeoutInterval = 14101,
-
- /**
- * The maximum Real-Time Factor (RTF) for speech synthesis. The RTF is calculated as
- * RTF = f(d)/d
- * where f(d) is the time taken to synthesize speech audio of duration d.
- */
- SPXSpeechSynthesis_RtfTimeoutThreshold = 14102,
-};
-
-/**
- * Defines possible values of output format.
- */
-typedef NS_ENUM(NSUInteger, SPXOutputFormat)
-{
- /**
- * Simple output format.
- */
- SPXOutputFormat_Simple = 0,
-
- /**
- * Detailed output format.
- */
- SPXOutputFormat_Detailed = 1
-};
-
-/**
- * Specifies the possible reasons a recognition result might be generated.
- */
-typedef NS_ENUM(NSUInteger, SPXResultReason)
-{
- /**
- * Indicates speech could not be recognized. More details can be found in the SPXNoMatchDetails object.
- */
- SPXResultReason_NoMatch = 0,
-
- /**
- * Indicates that the recognition was canceled. More details can be found using the SPXCancellationDetails object.
- */
- SPXResultReason_Canceled = 1,
-
- /**
- * Indicates the speech result contains hypothesis text as an intermediate result.
- */
- SPXResultReason_RecognizingSpeech = 2,
-
- /**
- * Indicates the speech result contains final text that has been recognized.
- * Speech recognition is now complete for this phrase.
- */
- SPXResultReason_RecognizedSpeech = 3,
-
- /**
- * This result reason is deprecated and not used anymore.
- */
- SPXResultReason_RecognizingIntent = 4,
-
- /**
- * This result reason is deprecated and not used anymore.
- */
- SPXResultReason_RecognizedIntent = 5,
-
- /**
- * Indicates the translation result contains hypothesis text and translation(s) as an intermediate result.
- */
- SPXResultReason_TranslatingSpeech = 6,
-
- /**
- * Indicates the translation result contains final text and corresponding translation(s).
- * Speech recognition and translation are now complete for this phrase.
- */
- SPXResultReason_TranslatedSpeech = 7,
-
- /**
- * Indicates the synthesized audio result contains a non-zero amount of audio data
- */
- SPXResultReason_SynthesizingAudio = 8,
-
- /**
- * Indicates the synthesized audio is now complete for this phrase.
- */
- SPXResultReason_SynthesizingAudioCompleted = 9,
-
- /**
- * Indicates the speech result contains (unverified) keyword text.
- */
- SPXResultReason_RecognizingKeyword = 10,
-
- /**
- * Indicates that keyword recognition completed recognizing the given keyword.
- */
- SPXResultReason_RecognizedKeyword = 11,
-
- /**
- * Indicates the speech synthesis is now started.
- */
- SPXResultReason_SynthesizingAudioStarted = 12,
-
- /**
- * Indicates the voices list has been retrieved successfully.
- * Added in version 1.16.0
- */
- SPXResultReason_VoicesListRetrieved = 23,
-};
-
-/**
- * Defines the possible reasons a recognition result might be canceled.
- */
-typedef NS_ENUM(NSUInteger, SPXCancellationReason)
-{
- /**
- * Indicates that an error occurred during speech recognition.
- */
- SPXCancellationReason_Error = 1,
-
- /**
- * Indicates that the end of the audio stream was reached.
- */
- SPXCancellationReason_EndOfStream = 2,
-
- /**
- * Indicates that request was cancelled by the user.
- * Added in version 1.14.0
- */
- SPXCancellationReason_CancelledByUser = 3
-};
-
-/**
- * Defines error code in case that CancellationReason is set to Error.
- * Added in version 1.1.0.
- */
-typedef NS_ENUM(NSUInteger, SPXCancellationErrorCode)
-{
- /**
- * No error.
- * If SPXCancellationReason is SPXCancellationReason_EndOfStream, SPXCancellationErrorCode
- * is set to SPXCancellationErrorCode_NoError.
- */
- SPXCancellationErrorCode_NoError = 0,
-
- /**
- * Indicates an authentication error.
- * An authentication error occurs if subscription key or authorization token is invalid, expired,
- * or does not match the region being used.
- */
- SPXCancellationErrorCode_AuthenticationFailure = 1,
-
- /**
- * Indicates that one or more recognition parameters are invalid or the audio format is not supported.
- */
- SPXCancellationErrorCode_BadRequest = 2,
-
- /**
- * Indicates that the number of parallel requests exceeded the number of allowed concurrent transcriptions for the subscription.
- */
- SPXCancellationErrorCode_TooManyRequests = 3,
-
- /**
- * Indicates that the free subscription used by the request ran out of quota.
- */
- SPXCancellationErrorCode_Forbidden = 4,
-
- /**
- * Indicates a connection error.
- */
- SPXCancellationErrorCode_ConnectionFailure = 5,
-
- /**
- * Indicates a time-out error when waiting for response from service.
- */
- SPXCancellationErrorCode_ServiceTimeout = 6,
-
- /**
- * Indicates that an error is returned by the service.
- */
- SPXCancellationErrorCode_ServiceError = 7,
-
- /**
- * Indicates that the service is currently unavailable.
- */
- SPXCancellationErrorCode_ServiceUnavailable = 8,
-
- /**
- * Indicates an unexpected runtime error.
- */
- SPXCancellationErrorCode_RuntimeError = 9,
-
- /**
- * Indicates the embedded speech (SR or TTS) model is not available or corrupted.
- */
- SPXCancellationErrorCode_EmbeddedModelError = 12
-};
-
-/**
- * Defines the possible reasons a recognition result might not have been recognized.
- */
-typedef NS_ENUM(NSUInteger, SPXNoMatchReason)
-{
- /**
- * Indicates that speech was detected, but not recognized.
- */
- SPXNoMatchReason_NotRecognized = 1,
-
- /**
- * Indicates that the start of the audio stream contained only silence, and the service timed out waiting for speech.
- */
- SPXNoMatchReason_InitialSilenceTimeout = 2,
-
- /**
- * Indicates that the start of the audio stream contained only noise, and the service timed out waiting for speech.
- */
- SPXNoMatchReason_InitialBabbleTimeout = 3,
-
- /**
- * Indicates that the spotted keyword has been rejected by the keyword verification service.
- * Added in version 1.5.0.
- */
- SPXNoMatchReason_KeywordNotRecognized = 4,
-
- /**
- * Indicates that the audio stream contained only silence after the last recognized phrase.
- */
- SPXNoMatchReason_EndSilenceTimeout = 5
-};
-
-/**
- * Defines channels used to send service properties.
- * Added in version 1.5.0.
- */
-typedef NS_ENUM(NSUInteger, SPXServicePropertyChannel)
-{
- /**
- * Uses URI query parameter to pass property settings to service.
- */
- SPXServicePropertyChannel_UriQueryParameter = 0
-};
-
-/**
- * Defines the setting for the profanity filter.
- * Added in version 1.5.0.
- */
-typedef NS_ENUM(NSUInteger, SPXSpeechConfigProfanityOption)
-{
- /**
- * Mask profanity.
- */
- SPXSpeechConfigProfanityOption_ProfanityMasked = 0,
-
- /**
- * Remove profanity.
- */
- SPXSpeechConfigProfanityOption_ProfanityRemoved = 1,
-
- /**
- * Don't filter profanity.
- */
- SPXSpeechConfigProfanityOption_ProfanityRaw = 2,
-};
-
-/**
- * Defines the possible speech synthesis output audio format.
- *
- * Updated in version 1.17.0
- */
-typedef NS_ENUM(NSUInteger, SPXSpeechSynthesisOutputFormat)
-{
- /**
- * raw-8khz-8bit-mono-mulaw
- */
- SPXSpeechSynthesisOutputFormat_Raw8Khz8BitMonoMULaw = 1,
-
- /**
- * riff-16khz-16kbps-mono-siren
- * Unsupported by the service. Do not use this value.
- */
- SPXSpeechSynthesisOutputFormat_Riff16Khz16KbpsMonoSiren = 2,
-
- /**
- * audio-16khz-16kbps-mono-siren
- * Unsupported by the service. Do not use this value.
- */
- SPXSpeechSynthesisOutputFormat_Audio16Khz16KbpsMonoSiren = 3,
-
- /**
- * audio-16khz-32kbitrate-mono-mp3
- */
- SPXSpeechSynthesisOutputFormat_Audio16Khz32KBitRateMonoMp3 = 4,
-
- /**
- * audio-16khz-128kbitrate-mono-mp3
- */
- SPXSpeechSynthesisOutputFormat_Audio16Khz128KBitRateMonoMp3 = 5,
-
- /**
- * audio-16khz-64kbitrate-mono-mp3
- */
- SPXSpeechSynthesisOutputFormat_Audio16Khz64KBitRateMonoMp3 = 6,
-
- /**
- * audio-24khz-48kbitrate-mono-mp3
- */
- SPXSpeechSynthesisOutputFormat_Audio24Khz48KBitRateMonoMp3 =7,
-
- /**
- * audio-24khz-96kbitrate-mono-mp3
- */
- SPXSpeechSynthesisOutputFormat_Audio24Khz96KBitRateMonoMp3 = 8,
-
- /**
- * audio-24khz-160kbitrate-mono-mp3
- */
- SPXSpeechSynthesisOutputFormat_Audio24Khz160KBitRateMonoMp3 = 9,
-
- /**
- * raw-16khz-16bit-mono-truesilk
- */
- SPXSpeechSynthesisOutputFormat_Raw16Khz16BitMonoTrueSilk = 10,
-
- /**
- * riff-16khz-16bit-mono-pcm
- */
- SPXSpeechSynthesisOutputFormat_Riff16Khz16BitMonoPcm = 11,
-
- /**
- * riff-8khz-16bit-mono-pcm
- */
- SPXSpeechSynthesisOutputFormat_Riff8Khz16BitMonoPcm = 12,
-
- /**
- * riff-24khz-16bit-mono-pcm
- */
- SPXSpeechSynthesisOutputFormat_Riff24Khz16BitMonoPcm = 13,
-
- /**
- * riff-8khz-8bit-mono-mulaw
- */
- SPXSpeechSynthesisOutputFormat_Riff8Khz8BitMonoMULaw = 14,
-
- /**
- * raw-16khz-16bit-mono-pcm
- */
- SPXSpeechSynthesisOutputFormat_Raw16Khz16BitMonoPcm = 15,
-
- /**
- * raw-24khz-16bit-mono-pcm
- */
- SPXSpeechSynthesisOutputFormat_Raw24Khz16BitMonoPcm = 16,
-
- /**
- * raw-8khz-16bit-mono-pcm
- */
- SPXSpeechSynthesisOutputFormat_Raw8Khz16BitMonoPcm = 17,
-
- /**
- * ogg-16khz-16bit-mono-opus
- */
- SPXSpeechSynthesisOutputFormat_Ogg16khz16BitMonoOpus = 18,
-
- /**
- * ogg-24khz-16bit-mono-opus
- */
- SPXSpeechSynthesisOutputFormat_Ogg24khz16BitMonoOpus = 19,
-
- /**
- * raw-48khz-16bit-mono-pcm
- */
- SPXSpeechSynthesisOutputFormat_Raw48Khz16BitMonoPcm = 20,
-
- /**
- * riff-48khz-16bit-mono-pcm
- */
- SPXSpeechSynthesisOutputFormat_Riff48Khz16BitMonoPcm = 21,
-
- /**
- * audio-48khz-96kbitrate-mono-mp3
- */
- SPXSpeechSynthesisOutputFormat_Audio48Khz96KBitRateMonoMp3 = 22,
-
- /**
- * audio-48khz-192kbitrate-mono-mp3
- */
- SPXSpeechSynthesisOutputFormat_Audio48Khz192KBitRateMonoMp3 = 23,
-
- /**
- * ogg-48khz-16bit-mono-opus
- * Added in version 1.16.0
- */
- SPXSpeechSynthesisOutputFormat_Ogg48Khz16BitMonoOpus = 24,
-
- /**
- * webm-16khz-16bit-mono-opus
- * Added in version 1.16.0
- */
- SPXSpeechSynthesisOutputFormat_Webm16Khz16BitMonoOpus = 25,
-
- /**
- * webm-24khz-16bit-mono-opus
- * Added in version 1.16.0
- */
- SPXSpeechSynthesisOutputFormat_Webm24Khz16BitMonoOpus = 26,
-
- /**
- * raw-24khz-16bit-mono-truesilk
- * Added in version 1.17.0
- */
- SPXSpeechSynthesisOutputFormat_Raw24Khz16BitMonoTrueSilk = 27,
-
- /**
- * raw-8khz-8bit-mono-alaw
- * Added in version 1.17.0
- */
- SPXSpeechSynthesisOutputFormat_Raw8Khz8BitMonoALaw = 28,
-
- /**
- * riff-8khz-8bit-mono-alaw
- * Added in version 1.17.0
- */
- SPXSpeechSynthesisOutputFormat_Riff8Khz8BitMonoALaw = 29,
-
- /**
- * webm-24khz-16bit-24kbps-mono-opus
- * Audio compressed by OPUS codec in a WebM container, with bitrate of 24kbps, optimized for IoT scenario.
- * Added in version 1.19.0
- */
- SPXSpeechSynthesisOutputFormat_Webm24Khz16Bit24KbpsMonoOpus = 30,
-
- /**
- * audio-16khz-16bit-32kbps-mono-opus
- * Audio compressed by OPUS codec without container, with bitrate of 32kbps.
- * Added in version 1.20.0
- */
- SPXSpeechSynthesisOutputFormat_Audio16Khz16Bit32KbpsMonoOpus = 31,
-
- /**
- * audio-24khz-16bit-48kbps-mono-opus
- * Audio compressed by OPUS codec without container, with bitrate of 48kbps.
- * Added in version 1.20.0
- */
- SPXSpeechSynthesisOutputFormat_Audio24Khz16Bit48KbpsMonoOpus = 32,
-
- /**
- * audio-24khz-16bit-24kbps-mono-opus
- * Audio compressed by OPUS codec without container, with bitrate of 24kbps.
- * Added in version 1.20.0
- */
- SPXSpeechSynthesisOutputFormat_Audio24Khz16Bit24KbpsMonoOpus = 33,
-
- /**
- * raw-22050hz-16bit-mono-pcm
- * Raw PCM audio at 22050Hz sampling rate and 16-bit depth.
- * Added in 1.22.0
- */
- SPXSpeechSynthesisOutputFormat_Raw22050Hz16BitMonoPcm = 34,
-
- /**
- * riff-22050hz-16bit-mono-pcm
- * PCM audio at 22050Hz sampling rate and 16-bit depth, with RIFF header.
- * Added in 1.22.0
- */
- SPXSpeechSynthesisOutputFormat_Riff22050Hz16BitMonoPcm = 35,
-
- /**
- * raw-44100hz-16bit-mono-pcm
- * Raw PCM audio at 44100Hz sampling rate and 16-bit depth.
- * Added in 1.22.0
- */
- SPXSpeechSynthesisOutputFormat_Raw44100Hz16BitMonoPcm = 36,
-
- /**
- * riff-44100hz-16bit-mono-pcm
- * PCM audio at 44100Hz sampling rate and 16-bit depth, with RIFF header.
- * Added in 1.22.0
- */
- SPXSpeechSynthesisOutputFormat_Riff44100Hz16BitMonoPcm = 37,
-
- /**
- * amr-wb-16000hz
- * AMR-WB audio at 16kHz sampling rate.
- * Added in 1.24.0
- */
- SPXSpeechSynthesisOutputFormat_AmrWb16000Hz = 38,
-
- /**
- * g722-16khz-64kbps
- * G.722 audio at 16kHz sampling rate and 64kbps bitrate.
- * Added in 1.38.0
- */
- SPXSpeechSynthesisOutputFormat_G72216Khz64Kbps = 39
-};
-
-/**
- * Defines the possible status of audio data stream.
- *
- * Added in version 1.7.0
- */
-typedef NS_ENUM(NSUInteger, SPXStreamStatus)
-{
- /**
- * The audio data stream status is unknown
- */
- SPXStreamStatus_Unknown = 0,
-
- /**
- * The audio data stream contains no data
- */
- SPXStreamStatus_NoData = 1,
-
- /**
- * The audio data stream contains partial data of a speak request
- */
- SPXStreamStatus_PartialData = 2,
-
- /**
- * The audio data stream contains all data of a speak request
- */
- SPXStreamStatus_AllData = 3,
-
- /**
- * The audio data stream was cancelled
- */
- SPXStreamStatus_Canceled = 4
-};
-
-/**
- * Defines the possible reasons why the participant changed event was raised.
- * Added in version 1.13.0
- */
-typedef NS_ENUM(NSUInteger, SPXParticipantChangedReason)
-{
- /**
- * Indicates that a participant has joined the conversation.
- */
- SPXParticipantChangedReason_JoinedConversation = 0,
-
- /**
- * Indicates that a participant has left the conversation. This could be voluntary, or involuntary.
- */
- SPXParticipantChangedReason_LeftConversation = 1,
-
- /**
- * Indicates that a participants' state has changed (e.g. they became muted, changed their nickname).
- */
- SPXParticipantChangedReason_Updated = 2
-};
-
-/**
- * Defines the point system for pronunciation score calibration; default value is FivePoint.
- * Added in version 1.14.0
- */
-typedef NS_ENUM(NSUInteger, SPXPronunciationAssessmentGradingSystem)
-{
- /**
- * Five point calibration
- */
- SPXPronunciationAssessmentGradingSystem_FivePoint = 1,
-
- /**
- * Hundred mark
- */
- SPXPronunciationAssessmentGradingSystem_HundredMark = 2
-};
-
-/**
- * Defines the pronunciation evaluation granularity; default value is Phoneme.
- * Added in version 1.14.0
- */
-typedef NS_ENUM(NSUInteger, SPXPronunciationAssessmentGranularity)
-{
- /**
- * Shows the score on the full text, word and phoneme level
- */
- SPXPronunciationAssessmentGranularity_Phoneme = 1,
-
- /**
- * Shows the score on the full text and word level
- */
- SPXPronunciationAssessmentGranularity_Word = 2,
-
- /**
- * Shows the score on the full text level only
- */
- SPXPronunciationAssessmentGranularity_FullText = 3
-};
-
-/**
- * Define synthesis voice type.
- * Added in version 1.16.0
- */
-typedef NS_ENUM(NSUInteger, SPXSynthesisVoiceType)
-{
- /**
- * Online neural voice.
- */
- SPXSynthesisVoiceType_OnlineNeural = 1,
-
- /**
- * Online standard voice.
- */
- SPXSynthesisVoiceType_OnlineStandard = 2,
-
- /**
- * Offline neural voice.
- */
- SPXSynthesisVoiceType_OfflineNeural = 3,
-
- /**
- * Offline standard voice.
- */
- SPXSynthesisVoiceType_OfflineStandard = 4
-};
-
-/**
- * Define synthesis voice gender.
- * Added in version 1.17.0
- */
-typedef NS_ENUM(NSUInteger, SPXSynthesisVoiceGender)
-{
- /**
- * Gender unknown.
- */
- SPXSynthesisVoiceGender_Unknown = 0,
-
- /**
- * Female.
- */
- SPXSynthesisVoiceGender_Female = 1,
-
- /**
- * Male.
- */
- SPXSynthesisVoiceGender_Male = 2,
-
- /**
- * Neutral.
- */
- SPXSynthesisVoiceGender_Neutral = 3
-};
-
-/**
- * Define synthesis voice status.
- */
-typedef NS_ENUM(NSUInteger, SPXSynthesisVoiceStatus)
-{
- /**
- * Status unknown.
- */
- SPXSynthesisVoiceStatus_Unknown = 0,
-
- /**
- * General availability.
- */
- SPXSynthesisVoiceStatus_GeneralAvailability = 1,
-
- /**
- * Preview.
- */
- SPXSynthesisVoiceStatus_Preview = 2,
-
- /**
- * Deprecated, do not use this voice.
- */
- SPXSynthesisVoiceStatus_Deprecated = 3,
-};
-
-/**
- * Defines the boundary type of speech synthesis boundary event.
- * Changed in version 1.21.0.
- */
-typedef NS_ENUM(NSUInteger, SPXSpeechSynthesisBoundaryType)
-{
- /**
- * Indicates the boundary text is a word.
- */
- SPXSpeechSynthesisBoundaryType_Word = 1,
- /**
- * Indicates the boundary text is a punctuation.
- */
- SPXSpeechSynthesisBoundaryType_Punctuation = 1,
- /**
- * Indicates the boundary text is a sentence.
- */
- SPXSpeechSynthesisBoundaryType_Sentence = 2
-};
-
-/**
- * Defines the different available log levels.
- *
- * This is used by different loggers to set the maximum level of detail they will output.
- *
- * @see SPXMemoryLogger.setLevel:
- * @see SPXEventLogger.setLevel:
- * @see SPXFileLogger.setLevel:
- */
-typedef NS_ENUM(NSInteger, SPXLogLevel)
-{
- /**
- * Error logging level. Only errors will be logged.
- */
- SPXLogLevelError,
-
- /**
- * Warning logging level. Only errors and warnings will be logged.
- */
- SPXLogLevelWarning,
-
- /**
- * Informational logging level. Only errors, warnings and informational log messages will be logged.
- */
- SPXLogLevelInfo,
-
- /**
- * Verbose logging level. All log messages will be logged.
- */
- SPXLogLevelVerbose
-};
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechRecognitionEventArgs.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechRecognitionEventArgs.h
deleted file mode 100644
index 4c3e1ff..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechRecognitionEventArgs.h
+++ /dev/null
@@ -1,47 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXRecognitionEventArgs.h"
-#import "SPXSpeechRecognitionResult.h"
-
-/**
- * Defines the payload of speech recognizing/recognized event.
- */
-SPX_EXPORT
-@interface SPXSpeechRecognitionEventArgs : SPXRecognitionEventArgs
-
-/**
- * The recognition result.
- */
-@property (readonly, nonnull)SPXSpeechRecognitionResult *result;
-
-@end
-
-
-/**
- * Defines the payload of speech recognition canceled events.
- */
-SPX_EXPORT
-@interface SPXSpeechRecognitionCanceledEventArgs : SPXSpeechRecognitionEventArgs
-
-/**
- * The reason why the recognition was canceled.
- */
-@property (readonly)SPXCancellationReason reason;
-
-/**
- * The error code in case of an unsuccessful recognition (reason is set to Error).
- *
- * Added in version 1.1.0.
- */
-@property (readonly)SPXCancellationErrorCode errorCode;
-
-/**
- * The error message in case of an unsuccessful recognition (reason is set to Error).
- */
-@property (copy, readonly, nullable)NSString *errorDetails;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechRecognitionModelInfo.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechRecognitionModelInfo.h
deleted file mode 100644
index dcb810e..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechRecognitionModelInfo.h
+++ /dev/null
@@ -1,48 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-
-/**
- * Speech recognition model information.
- */
-SPX_EXPORT
-@interface SPXSpeechRecognitionModelInfo : NSObject
-
-/**
- * Model name.
- */
-@property (nonatomic, copy, readonly, nullable) NSString *name;
-
-/**
- * Locales of the model in BCP-47 format.
- */
-@property (nonatomic, copy, readonly, nullable) NSArray *locales;
-
-/**
- * Model path (only valid for offline models).
- */
-@property (nonatomic, copy, readonly, nullable) NSString *path;
-
-/**
- * Model version.
- */
-@property (nonatomic, copy, readonly, nullable) NSString *version;
-
-/**
- * Initialize a new instance of SPXSpeechRecognitionModelInfo.
- *
- * @param name The model name.
- * @param locales The locales of the model in BCP-47 format.
- * @param path The model path (only valid for offline models).
- * @param version The model version.
- * @return A new instance of SPXSpeechRecognitionModelInfo.
- */
-- (nullable instancetype)initWithName:(nonnull NSString *)name
- locales:(nonnull NSArray *)locales
- path:(nullable NSString *)path
- version:(nonnull NSString *)version;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechRecognitionResult.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechRecognitionResult.h
deleted file mode 100644
index 8e3e109..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechRecognitionResult.h
+++ /dev/null
@@ -1,17 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXRecognitionResult.h"
-
-/**
- * Defines the result of speech recognition.
- * Currently no additional properties and methods, besides those from SPXRecognitionResult.
- */
-SPX_EXPORT
-@interface SPXSpeechRecognitionResult : SPXRecognitionResult
-
-@end
-
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechRecognizer.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechRecognizer.h
deleted file mode 100644
index 3ea841e..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechRecognizer.h
+++ /dev/null
@@ -1,556 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXAudioConfiguration.h"
-#import "SPXAutoDetectSourceLanguageConfiguration.h"
-#import "SPXSourceLanguageConfiguration.h"
-#import "SPXSpeechConfiguration.h"
-#import "SPXSpeechRecognizer.h"
-#import "SPXSpeechRecognitionResult.h"
-#import "SPXSpeechRecognitionEventArgs.h"
-#import "SPXEmbeddedSpeechConfiguration.h"
-
-/**
- * Performs speech recognition on the specified audio input, and gets transcribed text as result.
- */
-SPX_EXPORT
-@interface SPXSpeechRecognizer : SPXRecognizer
-
-typedef void (^SPXSpeechRecognitionEventHandler)(SPXSpeechRecognizer * _Nonnull, SPXSpeechRecognitionEventArgs * _Nonnull);
-typedef void (^SPXSpeechRecognitionCanceledEventHandler)(SPXSpeechRecognizer * _Nonnull, SPXSpeechRecognitionCanceledEventArgs * _Nonnull);
-typedef void (^SPXSpeechRecognitionAsyncCompletionHandler)(void);
-
-/**
- * Authorization token used to communicate with the speech recognition service.
- *
- * Note: The caller needs to ensure that the authorization token is valid. Before the authorization token expires,
- * the caller needs to refresh it by calling this setter with a new valid token.
- * Otherwise, the recognizer will encounter errors during recognition.
- */
-@property (nonatomic, copy, nullable)NSString *authorizationToken;
-
-/**
- * Endpoint ID of a customized speech model that is used for speech recognition.
- */
-@property (nonatomic, copy, readonly, nullable)NSString *endpointId;
-
-/**
- * Initializes a new instance of speech recognizer.
- *
- * @param speechConfiguration speech recognition configuration.
- * @return an instance of speech recognizer.
- */
-- (nullable instancetype)init:(nonnull SPXSpeechConfiguration *)speechConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of speech recognizer.
- *
- * Added in version 1.6.0.
- *
- * @param speechConfiguration speech recognition configuration.
- * @param outError error information.
- * @return an instance of speech recognizer.
- */
-- (nullable instancetype)init:(nonnull SPXSpeechConfiguration *)speechConfiguration error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of speech recognizer.
- *
- * @param speechConfiguration embedded speech recognition configuration.
- * @return an instance of speech recognizer.
- */
-- (nullable instancetype)initWithEmbeddedSpeechConfiguration:(nonnull SPXEmbeddedSpeechConfiguration *)speechConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of speech recognizer.
- *
- * @param speechConfiguration embedded speech recognition configuration.
- * @param outError error information.
- * @return an instance of speech recognizer.
- */
-- (nullable instancetype)initWithEmbeddedSpeechConfiguration:(nonnull SPXEmbeddedSpeechConfiguration *)speechConfiguration error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of speech recognizer using the specified audio config.
- *
- * @param speechConfiguration speech recognition configuration.
- * @param audioConfiguration audio configuration.
- * @return an instance of speech recognizer.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of speech recognizer using the specified audio config.
- *
- * Added in version 1.6.0.
-
- * @param speechConfiguration speech recognition configuration.
- * @param audioConfiguration audio configuration.
- * @param outError error information.
- * @return an instance of speech recognizer.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of speech recognizer using the specified audio config.
- *
- * @param speechConfiguration embedded speech recognition configuration.
- * @param audioConfiguration audio configuration.
- * @return an instance of speech recognizer.
- */
-- (nullable instancetype)initWithEmbeddedSpeechConfiguration:(nonnull SPXEmbeddedSpeechConfiguration *)speechConfiguration audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of speech recognizer using the specified audio config.
- *
- * @param speechConfiguration embedded speech recognition configuration.
- * @param audioConfiguration audio configuration.
- * @param outError error information.
- * @return an instance of speech recognizer.
- */
-- (nullable instancetype)initWithEmbeddedSpeechConfiguration:(nonnull SPXEmbeddedSpeechConfiguration *)speechConfiguration audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of speech recognizer using the specified source language.
- *
- * Added in version 1.12.0.
-
- * @param speechConfiguration speech recognition configuration.
- * @param language source language.
- * @return an instance of speech recognizer.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration language:(nonnull NSString *)language
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of speech recognizer using the specified source language.
- *
- * Added in version 1.12.0.
-
- * @param speechConfiguration speech recognition configuration.
- * @param language source language.
- * @param outError error information.
- * @return an instance of speech recognizer.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration
- language:(nonnull NSString *)language
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of speech recognizer using the specified source language and audio configuration.
- *
- * Added in version 1.12.0.
-
- * @param speechConfiguration speech recognition configuration.
- * @param language source language.
- * @param audioConfiguration audio configuration.
- * @return an instance of speech recognizer.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration
- language:(nonnull NSString *)language
- audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of speech recognizer using the specified source language and audio configuration.
- *
- * Added in version 1.12.0.
-
- * @param speechConfiguration speech recognition configuration.
- * @param language source language.
- * @param audioConfiguration audio configuration.
- * @param outError error information.
- * @return an instance of speech recognizer.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration
- language:(nonnull NSString *)language
- audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of speech recognizer using the specified source language configuration.
- *
- * Added in version 1.12.0.
-
- * @param speechConfiguration speech recognition configuration.
- * @param sourceLanguageConfiguration the source language configuration.
- * @return an instance of speech recognizer.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration
- sourceLanguageConfiguration:(nonnull SPXSourceLanguageConfiguration *)sourceLanguageConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of speech recognizer using the specified source language configuration.
- *
- * Added in version 1.12.0.
-
- * @param speechConfiguration speech recognition configuration.
- * @param sourceLanguageConfiguration the source language configuration.
- * @param outError error information.
- * @return an instance of speech recognizer.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration
- sourceLanguageConfiguration:(nonnull SPXSourceLanguageConfiguration *)sourceLanguageConfiguration
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of speech recognizer using the specified source language configuration and audio configuration.
- *
- * Added in version 1.12.0.
-
- * @param speechConfiguration speech recognition configuration.
- * @param sourceLanguageConfiguration the source language configuration.
- * @param audioConfiguration audio configuration.
- * @return an instance of speech recognizer.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration
- sourceLanguageConfiguration:(nonnull SPXSourceLanguageConfiguration *)sourceLanguageConfiguration
- audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of speech recognizer using the specified source language configuration and audio configuration.
- *
- * Added in version 1.12.0.
-
- * @param speechConfiguration speech recognition configuration.
- * @param sourceLanguageConfiguration the source language configuration.
- * @param audioConfiguration audio configuration.
- * @param outError error information.
- * @return an instance of speech recognizer.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration
- sourceLanguageConfiguration:(nonnull SPXSourceLanguageConfiguration *)sourceLanguageConfiguration
- audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of speech recognizer using the specified configuration for auto language detection.
- *
- * Added in version 1.12.0.
-
- * @param speechConfiguration speech recognition configuration.
- * @param autoDetectSourceLanguageConfiguration the configuration for auto language detection.
- * @return an instance of speech recognizer.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration
- autoDetectSourceLanguageConfiguration:(nonnull SPXAutoDetectSourceLanguageConfiguration *)autoDetectSourceLanguageConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of speech recognizer using the specified configuration for auto language detection.
- *
- * Added in version 1.12.0.
-
- * @param speechConfiguration speech recognition configuration.
- * @param autoDetectSourceLanguageConfiguration the configuration for auto language detection.
- * @param outError error information.
- * @return an instance of speech recognizer.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration
- autoDetectSourceLanguageConfiguration:(nonnull SPXAutoDetectSourceLanguageConfiguration *)autoDetectSourceLanguageConfiguration
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of speech recognizer using the specified configuration for auto language detection.
- *
- * @param speechConfiguration embedded speech recognition configuration.
- * @param autoDetectSourceLanguageConfiguration the configuration for auto language detection.
- * @return an instance of speech recognizer.
- */
-- (nullable instancetype)initWithEmbeddedSpeechConfiguration:(nonnull SPXEmbeddedSpeechConfiguration *)speechConfiguration
- autoDetectSourceLanguageConfiguration:(nonnull SPXAutoDetectSourceLanguageConfiguration *)autoDetectSourceLanguageConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of speech recognizer using the specified configuration for auto language detection.
- *
- * @param speechConfiguration embedded speech recognition configuration.
- * @param autoDetectSourceLanguageConfiguration the configuration for auto language detection.
- * @param outError error information.
- * @return an instance of speech recognizer.
- */
-- (nullable instancetype)initWithEmbeddedSpeechConfiguration:(nonnull SPXEmbeddedSpeechConfiguration *)speechConfiguration
- autoDetectSourceLanguageConfiguration:(nonnull SPXAutoDetectSourceLanguageConfiguration *)autoDetectSourceLanguageConfiguration
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of speech recognizer using the specified configuration for auto language detection and audio configuration.
- *
- * Added in version 1.12.0.
-
- * @param speechConfiguration speech recognition configuration.
- * @param autoDetectSourceLanguageConfiguration the configuration for auto language detection.
- * @param audioConfiguration audio configuration.
- * @return an instance of speech recognizer.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration
- autoDetectSourceLanguageConfiguration:(nonnull SPXAutoDetectSourceLanguageConfiguration *)autoDetectSourceLanguageConfiguration
- audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of speech recognizer using the specified configuration for auto language detection and audio configuration.
- *
- * Added in version 1.12.0.
-
- * @param speechConfiguration speech recognition configuration.
- * @param autoDetectSourceLanguageConfiguration the configuration for auto language detection.
- * @param audioConfiguration audio configuration.
- * @param outError error information.
- * @return an instance of speech recognizer.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration
- autoDetectSourceLanguageConfiguration:(nonnull SPXAutoDetectSourceLanguageConfiguration *)autoDetectSourceLanguageConfiguration
- audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of speech recognizer using the specified configuration for auto language detection and audio configuration.
- *
- * @param speechConfiguration embedded speech recognition configuration.
- * @param autoDetectSourceLanguageConfiguration the configuration for auto language detection.
- * @param audioConfiguration audio configuration.
- * @return an instance of speech recognizer.
- */
-- (nullable instancetype)initWithEmbeddedSpeechConfiguration:(nonnull SPXEmbeddedSpeechConfiguration *)speechConfiguration
- autoDetectSourceLanguageConfiguration:(nonnull SPXAutoDetectSourceLanguageConfiguration *)autoDetectSourceLanguageConfiguration
- audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of speech recognizer using the specified configuration for auto language detection and audio configuration.
- *
- * @param speechConfiguration embedded speech recognition configuration.
- * @param autoDetectSourceLanguageConfiguration the configuration for auto language detection.
- * @param audioConfiguration audio configuration.
- * @param outError error information.
- * @return an instance of speech recognizer.
- */
-- (nullable instancetype)initWithEmbeddedSpeechConfiguration:(nonnull SPXEmbeddedSpeechConfiguration *)speechConfiguration
- autoDetectSourceLanguageConfiguration:(nonnull SPXAutoDetectSourceLanguageConfiguration *)autoDetectSourceLanguageConfiguration
- audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Starts speech recognition, and returns after a single utterance is recognized. The end of a
- * single utterance is determined by listening for silence at the end or until a maximum of about 30
- * seconds of audio is processed. The task returns the recognition text as result.
- *
- * Note: Since recognizeOnceAsync() returns only a single utterance, it is suitable only for single
- * shot recognition like command or query.
- * For long-running multi-utterance recognition, use startContinuousRecognition() instead.
- *
- * @return the result of speech recognition.
- */
-- (nonnull SPXSpeechRecognitionResult *)recognizeOnce
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.") NS_RETURNS_RETAINED;
-
-/**
- * Starts speech recognition, and returns after a single utterance is recognized. The end of a
- * single utterance is determined by listening for silence at the end or until a maximum of about 30
- * seconds of audio is processed. The task returns the recognition text as result.
- *
- * Note: Since recognizeOnceAsync() returns only a single utterance, it is suitable only for single
- * shot recognition like command or query.
- * For long-running multi-utterance recognition, use startContinuousRecognition() instead.
- *
- * Added in version 1.6.0.
- *
- * @param outError error information.
- * @return the result of speech recognition.
- */
-- (nullable SPXSpeechRecognitionResult *)recognizeOnce:(NSError * _Nullable * _Nullable)outError NS_RETURNS_RETAINED;
-
-/**
- * Starts speech recognition, and returns after a single utterance is recognized. The end of a
- * single utterance is determined by listening for silence at the end or until a maximum of about 30
- * seconds of audio is processed. The task returns the recognition text as result.
- *
- * Note: Since recognizeOnceAsync() returns only a single utterance, it is suitable only for single
- * shot recognition like command or query.
- * For long-running multi-utterance recognition, use startContinuousRecognition() instead.
- *
- * @param resultReceivedHandler the block function to be called when the first utterance has been recognized.
- */
-- (void)recognizeOnceAsync:(nonnull void (^)(SPXSpeechRecognitionResult * _Nonnull))resultReceivedHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Starts speech recognition, and returns after a single utterance is recognized. The end of a
- * single utterance is determined by listening for silence at the end or until a maximum of about 30
- * seconds of audio is processed. The task returns the recognition text as result.
- *
- * Note: Since recognizeOnceAsync() returns only a single utterance, it is suitable only for single
- * shot recognition like command or query.
- * For long-running multi-utterance recognition, use startContinuousRecognition() instead.
- *
- * Added in version 1.6.0.
- *
- * @param resultReceivedHandler the block function to be called when the first utterance has been recognized.
- * @param outError error information.
- */
-- (BOOL)recognizeOnceAsync:(nonnull void (^)(SPXSpeechRecognitionResult * _Nonnull))resultReceivedHandler error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Starts speech recognition on a continuous audio stream, until stopContinuousRecognition() is called.
- * User must subscribe to events to receive recognition results.
- */
-- (void)startContinuousRecognition
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Starts speech recognition on a continuous audio stream, until stopContinuousRecognition() is called.
- * User must subscribe to events to receive recognition results.
- *
- * Added in version 1.6.0.
- *
- * @param outError error information.
- */
-- (BOOL)startContinuousRecognition:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Stops continuous speech recognition.
- */
-- (void)stopContinuousRecognition
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Stops continuous speech recognition.
- *
- * Added in version 1.6.0.
- *
- * @param outError error information.
- */
-- (BOOL)stopContinuousRecognition:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Begins a speech-to-text interaction with this recognizer using a keyword.
- * This interaction will use the provided keyword model to listen for a keyword indefinitely,
- * during which audio is not sent to the speech service and all processing is performed locally.
- * When a keyword is recognized, SpeechRecognizer will automatically connect to the speech service
- * and begin sending audio data from just before the keyword.
- * When received, speech-to-text results may be processed by the provided result handler
- * or retrieved via a subscription to the recognized event.
- *
- * @param keywordModel the keyword recognition model.
- * @param outError error information.
- * @return a value indicating whether the requested keyword recognition successfully started. If NO, outError may
- * contain additional information.
- */
-- (BOOL)startKeywordRecognition
- :(nonnull SPXKeywordRecognitionModel *)keywordModel
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Begins a speech-to-text interaction with this recognizer using a keyword.
- * This interaction will use the provided keyword model to listen for a keyword indefinitely,
- * during which audio is not sent to the speech service and all processing is performed locally.
- * When a keyword is recognized, SpeechRecognizer will automatically connect to the speech service
- * and begin sending audio data from just before the keyword.
- * When received, speech-to-text results may be processed by the provided result handler
- * or retrieved via a subscription to the recognized event.
- *
- * @param keywordModel the keyword recognition model.
- */
-- (void)startKeywordRecognition:(nonnull SPXKeywordRecognitionModel *)keywordModel
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Asynchronously begins a speech-to-text interaction with this recognizer
- * and immediately returns execution to the calling thread.
- * This interaction will use the provided keyword model to listen for a keyword indefinitely,
- * during which audio is not sent to the speech service and all processing is performed locally.
- * When a keyword is recognized, SpeechRecognizer will automatically connect to the speech service
- * and begin sending audio data from just before the keyword.
- * When received, speech-to-text results may be processed by the provided result handler
- * or retrieved via a subscription to the recognized event.
- *
- * @param keywordModel the keyword recognition model.
- * @param completionHandler the handler function called when keyword recognition has started.
- * @param outError error information.
- * @return a value indicating whether the request to start keyword recognition was received successfully. If NO,
- * additional information may available in outError.
- */
-- (BOOL)startKeywordRecognitionAsync
- :(nonnull SPXKeywordRecognitionModel *)keywordModel
- completionHandler:(nonnull SPXSpeechRecognitionAsyncCompletionHandler)completionHandler
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Asynchronously begins a speech-to-text interaction with this recognizer
- * and immediately returns execution to the calling thread.
- * This interaction will use the provided keyword model to listen for a keyword indefinitely,
- * during which audio is not sent to the speech service and all processing is performed locally.
- * When a keyword is recognized, SpeechRecognizer will automatically connect to the speech service
- * and begin sending audio data from just before the keyword.
- * When received, speech-to-text results may be processed by the provided result handler
- * or retrieved via a subscription to the recognized event.
- *
- * @param keywordModel the keyword recognition model.
- * @param completionHandler the handler function called when keyword recognition has started.
- */
-- (void)startKeywordRecognitionAsync
- :(nonnull SPXKeywordRecognitionModel *)keywordModel
- completionHandler:(nonnull SPXSpeechRecognitionAsyncCompletionHandler)completionHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Stops any active keyword recognition.
- *
- * @param outError error information.
- * @return a value indicating whether keyword recognition was stopped successfully. If NO, additional information may
- * be available in outError.
- */
-- (BOOL)stopKeywordRecognition:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Stops any active keyword recognition.
- */
-- (void)stopKeywordRecognition
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Stops any active keyword recognition.
- *
- * @param completionHandler the handler function called when keyword recognition has stopped.
- * @param outError error information.
- * @return a value indicating whether the request to stop was received successfully. If NO, additional error
- * information may be available in outError.
- */
-- (BOOL)stopKeywordRecognitionAsync
- :(nonnull SPXSpeechRecognitionAsyncCompletionHandler)completionHandler
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Stops any active keyword recognition.
- *
- * @param completionHandler the handler function called when keyword recognition has stopped.
- */
-- (void)stopKeywordRecognitionAsync:(nonnull SPXSpeechRecognitionAsyncCompletionHandler)completionHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Subscribes to the Recognized event which indicates that a final result has been recognized.
- */
-- (void)addRecognizedEventHandler:(nonnull SPXSpeechRecognitionEventHandler)eventHandler;
-
-/**
- * Subscribes to the Recognizing event which indicates that an intermediate result has been recognized.
- */
-- (void)addRecognizingEventHandler:(nonnull SPXSpeechRecognitionEventHandler)eventHandler;
-
-/**
- * Subscribes to the Canceled event which indicates that an error occurred during recognition.
- */
-- (void)addCanceledEventHandler:(nonnull SPXSpeechRecognitionCanceledEventHandler)eventHandler;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechSynthesisCancellationDetails.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechSynthesisCancellationDetails.h
deleted file mode 100644
index 69d8add..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechSynthesisCancellationDetails.h
+++ /dev/null
@@ -1,71 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXSpeechEnums.h"
-#import "SPXSpeechSynthesisResult.h"
-#import "SPXAudioDataStream.h"
-
-
-/**
- * Defines detailed information about why a speech synthesis result was canceled.
- *
- * Added in version 1.7.0
- */
-SPX_EXPORT
-@interface SPXSpeechSynthesisCancellationDetails : NSObject
-
-/**
- * The reason the synthesis was canceled.
- */
-@property (readonly)SPXCancellationReason reason;
-
-/**
- * The error message in case of an unsuccessful synthesis (reason is set to Error). If reason is not an error, errorCode returns NoErro.
- */
-@property (readonly)SPXCancellationErrorCode errorCode;
-
-/**
- * The error message in case of an unsuccessful synthesis (reason is set to Error).
- */
-@property (copy, readonly, nullable)NSString *errorDetails;
-
-/**
- * Creates an instance of SPXSpeechSynthesisCancellationDetails object for the canceled SPXSpeechSynthesisResult.
- *
- * @param synthesisResult the synthesis result that was canceled.
- * @return the speech synthesis cancellation details object being created.
- */
-- (nullable instancetype)initFromCanceledSynthesisResult:(nonnull SPXSpeechSynthesisResult *)synthesisResult
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Creates an instance of SPXSpeechSynthesisCancellationDetails object for the canceled SPXSpeechSynthesisResult.
- *
- * @param synthesisResult the synthesis result that was canceled.
- * @param outError error information.
- * @return the speech synthesis cancellation details object being created.
- */
-- (nullable instancetype)initFromCanceledSynthesisResult:(nonnull SPXSpeechSynthesisResult *)synthesisResult error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Creates an instance of SPXSpeechSynthesisCancellationDetails object for the canceled SPXAudioDataStream.
- *
- * @param stream the audio data stream that was canceled.
- * @return the speech synthesis cancellation details object being created.
- */
-- (nullable instancetype)initFromCanceledAudioDataStream:(nonnull SPXAudioDataStream *)stream
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Creates an instance of SPXSpeechSynthesisCancellationDetails object for the canceled SPXAudioDataStream.
- *
- * @param stream the audio data stream that was canceled.
- * @param outError error information.
- * @return the speech synthesis cancellation details object being created.
- */
-- (nullable instancetype)initFromCanceledAudioDataStream:(nonnull SPXAudioDataStream *)stream error:(NSError * _Nullable * _Nullable)outError;
-
-@end
\ No newline at end of file
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechSynthesisEventArgs.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechSynthesisEventArgs.h
deleted file mode 100644
index b779cc4..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechSynthesisEventArgs.h
+++ /dev/null
@@ -1,134 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXSpeechEnums.h"
-
-/**
- * Defines the payload of speech synthesis event.
- *
- * Added in version 1.7.0
- */
-SPX_EXPORT
-@interface SPXSpeechSynthesisEventArgs : NSObject
-
-/**
- * The synthesis result.
- */
-@property (readonly, nonnull)SPXSpeechSynthesisResult *result;
-
-@end
-
-/**
- * Defines the payload of speech synthesis word boundary event.
- *
- * Added in version 1.7.0
- */
-SPX_EXPORT
-@interface SPXSpeechSynthesisWordBoundaryEventArgs : NSObject
-
-/**
- * The result identifier.
- *
- * Added in version 1.25.0
- */
-@property (copy, readonly, nonnull)NSString *resultId;
-
-/**
- * Word boundary audio offset, in ticks (100 nanoseconds).
- */
-@property (readonly)NSUInteger audioOffset;
-
-/**
- * Time duration of the audio.
- *
- * Added in version 1.21.0.
- */
-@property (readonly)NSTimeInterval duration;
-
-/**
- * Word boundary text offset.
- */
-@property (readonly)NSUInteger textOffset;
-
-/**
- * Word boundary word length.
- */
-@property (readonly)NSUInteger wordLength;
-
-/**
- * The text.
- *
- * Added in version 1.21.0
- */
-@property (copy, readonly, nonnull)NSString *text;
-
-/**
- * Word boundary type.
- *
- * Added in version 1.21.0.
- */
-@property (readonly) SPXSpeechSynthesisBoundaryType boundaryType;
-
-@end
-
-/**
- * Defines the payload of speech synthesis viseme event.
- *
- * Added in version 1.16.0
- */
-SPX_EXPORT
-@interface SPXSpeechSynthesisVisemeEventArgs : NSObject
-
-/**
- * The result identifier.
- *
- * Added in version 1.25.0
- */
-@property (copy, readonly, nonnull)NSString *resultId;
-
-/**
- * Viseme audio offset, in ticks (100 nanoseconds).
- */
-@property (readonly)uint64_t audioOffset;
-
-/**
- * Viseme ID.
- */
-@property (readonly)NSUInteger visemeId;
-
-/**
- * The animation of current viseme evenet, could be in svg or other format.
- */
-@property (copy, readonly, nonnull)NSString *animation;
-
-@end
-
-/**
- * Defines the payload of speech synthesis bookmark event.
- *
- * Added in version 1.16.0
- */
-SPX_EXPORT
-@interface SPXSpeechSynthesisBookmarkEventArgs : NSObject
-
-/**
- * The result identifier.
- *
- * Added in version 1.25.0
- */
-@property (copy, readonly, nonnull)NSString *resultId;
-
-/**
- * Audio offset of current bookmark, in ticks (100 nanoseconds).
- */
-@property (readonly)uint64_t audioOffset;
-
-/**
- * The bookmark text.
- */
-@property (copy, readonly, nonnull)NSString *text;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechSynthesisResult.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechSynthesisResult.h
deleted file mode 100644
index b341ae2..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechSynthesisResult.h
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXSpeechEnums.h"
-#import "SPXPropertyCollection.h"
-
-/**
- * Defines the speech synthesis result.
- *
- * Added in version 1.7.0
- */
-SPX_EXPORT
-@interface SPXSpeechSynthesisResult : NSObject
-
-/**
- * The result identifier.
- */
-@property (copy, readonly, nonnull)NSString *resultId;
-
-/**
- * The synthesized audio data.
- */
-@property (readonly, nullable)NSData *audioData;
-
-/**
- * The reason the result was created.
- */
-@property (readonly)SPXResultReason reason;
-
-/**
- * The set of properties exposed in the result.
- */
-@property (readonly, nullable)id properties;
-
-/**
- * The time duration of the synthesized audio.
- * Added in version 1.21.0.
- */
-@property (readonly)NSTimeInterval audioDuration;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechSynthesizer.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechSynthesizer.h
deleted file mode 100644
index 73d17ff..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechSynthesizer.h
+++ /dev/null
@@ -1,352 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXAudioConfiguration.h"
-#import "SPXSpeechConfiguration.h"
-#import "SPXSpeechSynthesisResult.h"
-#import "SPXSpeechSynthesisEventArgs.h"
-#import "SPXSynthesisVoicesResult.h"
-#import "SPXEmbeddedSpeechConfiguration.h"
-
-/**
- * Performs speech synthesis from a text to a specified audio output.
- *
- * Updated in version 1.16.0
- */
-SPX_EXPORT
-@interface SPXSpeechSynthesizer : NSObject
-
-typedef void (^SPXSpeechSynthesisEventHandler)(SPXSpeechSynthesizer * _Nonnull, SPXSpeechSynthesisEventArgs * _Nonnull);
-typedef void (^SPXSpeechSynthesisWordBoundaryEventHandler)(SPXSpeechSynthesizer * _Nonnull, SPXSpeechSynthesisWordBoundaryEventArgs * _Nonnull);
-typedef void (^SPXSpeechSynthesisVisemeEventHandler)(SPXSpeechSynthesizer * _Nonnull, SPXSpeechSynthesisVisemeEventArgs * _Nonnull);
-typedef void (^SPXSpeechSynthesisBookmarkEventHandler)(SPXSpeechSynthesizer * _Nonnull, SPXSpeechSynthesisBookmarkEventArgs * _Nonnull);
-
-/**
- * The collection of properties and their values defined for this SPXSpeechSynthesizer.
- */
-@property (readonly, nullable)id properties;
-
-/**
- * Authorization token used to communicate with the speech synthesis service.
- *
- * Note: The caller needs to ensure that the authorization token is valid. Before the authorization token expires,
- * the caller needs to refresh it by calling this setter with a new valid token.
- * Otherwise, the synthesizer will encounter errors during speech synthesis.
- */
-@property (nonatomic, copy, nullable)NSString *authorizationToken;
-
-/**
- * Initializes a new instance of speech synthesizer using a speech config.
- * This synthesizer will output the audio to default speaker, which will throw an exception if the speaker is not available.
- * Please use initWithSpeechConfiguration(speechConfiguration, nil) if you just need the SPXSynthesisResult or SPXAudioDataStream.
- *
- * @param speechConfiguration speech configuration.
- * @return an instance of speech synthesizer.
- */
-- (nullable instancetype)init:(nonnull SPXSpeechConfiguration *)speechConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of speech synthesizer using a speech config.
- * This synthesizer will output the audio to default speaker, which will throw an exception if the speaker is not available.
- * Please use initWithSpeechConfiguration(speechConfiguration, nil) if you just need the SPXSynthesisResult or SPXAudioDataStream.
- *
- * @param speechConfiguration speech configuration.
- * @param outError error information.
- * @return an instance of speech synthesizer.
- */
-- (nullable instancetype)init:(nonnull SPXSpeechConfiguration *)speechConfiguration error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of speech synthesizer using a speech config and audio config.
- *
- * @param speechConfiguration speech configuration.
- * @param audioConfiguration audio configuration.
- * @return an instance of speech synthesizer.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration audioConfiguration:(nullable SPXAudioConfiguration *)audioConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of speech synthesizer using a speech config and audio config.
- *
- * @param speechConfiguration speech configuration.
- * @param audioConfiguration audio configuration.
- * @param outError error information.
- * @return an instance of speech synthesizer.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration audioConfiguration:(nullable SPXAudioConfiguration *)audioConfiguration error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of speech synthesizer using a embedded speech config.
- * This synthesizer will output the audio to default speaker, which will throw an exception if the speaker is not available.
- * Please use initWithEmbeddedSpeechConfiguration(speechConfiguration, nil) if you just need the SPXSynthesisResult or SPXAudioDataStream.
- *
- * @param speechConfiguration embedded speech configuration.
- * @return an instance of speech synthesizer.
- */
-- (nullable instancetype)initWithEmbeddedSpeechConfiguration:(nonnull SPXEmbeddedSpeechConfiguration *)speechConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of speech synthesizer using a embedded speech config.
- * This synthesizer will output the audio to default speaker, which will throw an exception if the speaker is not available.
- * Please use initWithEmbeddedSpeechConfiguration(speechConfiguration, nil) if you just need the SPXSynthesisResult or SPXAudioDataStream.
- *
- * @param speechConfiguration embedded speech configuration.
- * @param outError error information.
- * @return an instance of speech synthesizer.
- */
-- (nullable instancetype)initWithEmbeddedSpeechConfiguration:(nonnull SPXEmbeddedSpeechConfiguration *)speechConfiguration error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of speech synthesizer using a embedded speech config and audio config.
- *
- * @param speechConfiguration embedded speech configuration.
- * @param audioConfiguration audio configuration.
- * @return an instance of speech synthesizer.
- */
-- (nullable instancetype)initWithEmbeddedSpeechConfiguration:(nonnull SPXEmbeddedSpeechConfiguration *)speechConfiguration audioConfiguration:(nullable SPXAudioConfiguration *)audioConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of speech synthesizer using a embedded speech config and audio config.
- *
- * @param speechConfiguration embedded speech configuration.
- * @param audioConfiguration audio configuration.
- * @param outError error information.
- * @return an instance of speech synthesizer.
- */
-- (nullable instancetype)initWithEmbeddedSpeechConfiguration:(nonnull SPXEmbeddedSpeechConfiguration *)speechConfiguration audioConfiguration:(nullable SPXAudioConfiguration *)audioConfiguration error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of speech synthesizer using the specified configuration for auto language detection.
- *
- * Added in version 1.13.0.
-
- * @param speechConfiguration speech recognition configuration.
- * @param autoDetectSourceLanguageConfiguration the configuration for auto language detection.
- * @return an instance of speech synthesizer
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration
- autoDetectSourceLanguageConfiguration:(nonnull SPXAutoDetectSourceLanguageConfiguration *)autoDetectSourceLanguageConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of speech synthesizer using the specified configuration for auto language detection.
- *
- * Added in version 1.13.0.
-
- * @param speechConfiguration speech recognition configuration.
- * @param autoDetectSourceLanguageConfiguration the configuration for auto language detection.
- * @param outError error information.
- * @return an instance of speech synthesizer.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration
- autoDetectSourceLanguageConfiguration:(nonnull SPXAutoDetectSourceLanguageConfiguration *)autoDetectSourceLanguageConfiguration
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of speech synthesizer using the specified configuration for auto language detection and audio configuration.
- *
- * Added in version 1.13.0.
-
- * @param speechConfiguration speech recognition configuration.
- * @param autoDetectSourceLanguageConfiguration the configuration for auto language detection.
- * @param audioConfiguration audio configuration.
- * @return an instance of speech synthesizer.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration
- autoDetectSourceLanguageConfiguration:(nonnull SPXAutoDetectSourceLanguageConfiguration *)autoDetectSourceLanguageConfiguration
- audioConfiguration:(nullable SPXAudioConfiguration *)audioConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of speech synthesizer using the specified configuration for auto language detection and audio configuration.
- *
- * Added in version 1.13.0.
-
- * @param speechConfiguration speech recognition configuration.
- * @param autoDetectSourceLanguageConfiguration the configuration for auto language detection.
- * @param audioConfiguration audio configuration.
- * @param outError error information.
- * @return an instance of speech synthesizer.
- */
-- (nullable instancetype)initWithSpeechConfiguration:(nonnull SPXSpeechConfiguration *)speechConfiguration
- autoDetectSourceLanguageConfiguration:(nonnull SPXAutoDetectSourceLanguageConfiguration *)autoDetectSourceLanguageConfiguration
- audioConfiguration:(nullable SPXAudioConfiguration *)audioConfiguration
- error:(NSError * _Nullable * _Nullable)outError;
-
-
-/**
- * Execute the speech synthesis on plain text.
- *
- * @param text the plain text for synthesis.
- * @return the result of speech synthesis.
- */
-- (nonnull SPXSpeechSynthesisResult *)speakText:(nonnull NSString*)text NS_RETURNS_RETAINED
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Execute the speech synthesis on plain text.
- *
- * @param text the plain text for synthesis.
- * @param outError error information.
- * @return the result of speech synthesis.
- */
-- (nullable SPXSpeechSynthesisResult *)speakText:(nonnull NSString*)text error:(NSError * _Nullable * _Nullable)outError NS_RETURNS_RETAINED;
-
-/**
- * Execute the speech synthesis on SSML.
- *
- * @param ssml the SSML for synthesis.
- * @return the result of speech synthesis.
- */
-- (nonnull SPXSpeechSynthesisResult *)speakSsml:(nonnull NSString*)ssml NS_RETURNS_RETAINED
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Execute the speech synthesis on SSML.
- *
- * @param ssml the SSML for synthesis.
- * @param outError error information.
- * @return the result of speech synthesis.
- */
-- (nullable SPXSpeechSynthesisResult *)speakSsml:(nonnull NSString*)ssml error:(NSError * _Nullable * _Nullable)outError NS_RETURNS_RETAINED;
-
-/**
- * Start the speech synthesis on plain text.
- *
- * @param text the plain the for synthesis.
- * @return the result of speech synthesis.
- */
-- (nonnull SPXSpeechSynthesisResult *)startSpeakingText:(nonnull NSString*)text NS_RETURNS_RETAINED
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Start the speech synthesis on plain text.
- *
- * @param text the plain text for synthesis.
- * @param outError error information.
- * @return the result of speech synthesis.
- */
-- (nullable SPXSpeechSynthesisResult *)startSpeakingText:(nonnull NSString*)text error:(NSError * _Nullable * _Nullable)outError NS_RETURNS_RETAINED;
-
-/**
- * Start the speech synthesis on SSML.
- *
- * @param ssml the SSML for synthesis.
- * @return the result of speech synthesis.
- */
-- (nonnull SPXSpeechSynthesisResult *)startSpeakingSsml:(nonnull NSString*)ssml NS_RETURNS_RETAINED
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Start the speech synthesis on SSML.
- *
- * @param ssml the SSML for synthesis.
- * @param outError error information.
- * @return the result of speech synthesis.
- */
-- (nullable SPXSpeechSynthesisResult *)startSpeakingSsml:(nonnull NSString*)ssml error:(NSError * _Nullable * _Nullable)outError NS_RETURNS_RETAINED;
-
-/**
- * Stops synthesis.
- * This method will stop the playback and clear the unread data in SPXPullAudioOutputStream
- *
- * Added in version 1.14.0
- */
-- (void)stopSpeaking
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Stops synthesis.
- * This method will stop the playback and clear the unread data in SPXPullAudioOutputStream
- *
- * Added in version 1.14.0
- *
- * @param outError error information.
- */
-- (BOOL)stopSpeaking:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Get the available voices.
- *
- * Added in version 1.16.0
- *
- * @param locale Specify the locale of voices, in BCP-47 format; or leave it empty to get all available voices.
- * @return the result of voices retrieved.
- */
-- (nonnull SPXSynthesisVoicesResult *)getVoicesWithLocale:(nonnull NSString*)locale NS_RETURNS_RETAINED
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Get the available voices.
- *
- * Added in version 1.16.0
- *
- * @param locale Specify the locale of voices, in BCP-47 format; or leave it empty to get all available voices.
- * @param outError error information.
- * @return the result of voices retrieved.
- */
-- (nullable SPXSynthesisVoicesResult *)getVoicesWithLocale:(nonnull NSString*)locale error:(NSError * _Nullable * _Nullable)outError NS_RETURNS_RETAINED;
-
-/**
- * Get the available voices in all locales.
- *
- * Added in version 1.16.0
- *
- * @return the result of voices retrieved.
- */
-- (nonnull SPXSynthesisVoicesResult *)getVoices NS_RETURNS_RETAINED
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Get the available voices in all locales.
- *
- * Added in version 1.16.0
- *
- * @param outError error information.
- * @return the result of voices retrieved.
- */
-- (nullable SPXSynthesisVoicesResult *)getVoices:(NSError * _Nullable * _Nullable)outError NS_RETURNS_RETAINED;
-
-/**
- * Subscribes to the SynthesisStarted event which indicates that the synthesis just started.
- */
-- (void)addSynthesisStartedEventHandler:(nonnull SPXSpeechSynthesisEventHandler)eventHandler;
-
-/**
- * Subscribes to the Synthesizing event which indicates that the synthesis is on going.
- */
-- (void)addSynthesizingEventHandler:(nonnull SPXSpeechSynthesisEventHandler)eventHandler;
-
-/**
- * Subscribes to the SynthesisCompleted event which indicates that the synthesis completed.
- */
-- (void)addSynthesisCompletedEventHandler:(nonnull SPXSpeechSynthesisEventHandler)eventHandler;
-
-/**
- * Subscribes to the SynthesisCanceled event which indicates that the synthesis is canceled.
- */
-- (void)addSynthesisCanceledEventHandler:(nonnull SPXSpeechSynthesisEventHandler)eventHandler;
-
-/**
- * Subscribes to the SynthesisWordBoundary event which indicates that a word boundary is received.
- */
-- (void)addSynthesisWordBoundaryEventHandler:(nonnull SPXSpeechSynthesisWordBoundaryEventHandler)eventHandler;
-
-/**
- * Subscribes to the VisemeReceived event which indicates that a viseme is received.
- */
-- (void)addVisemeReceivedEventHandler:(nonnull SPXSpeechSynthesisVisemeEventHandler)eventHandler;
-
-/**
- * Subscribes to the BookmarkReached event which indicates that a bookmark is reached.
- */
-- (void)addBookmarkReachedEventHandler:(nonnull SPXSpeechSynthesisBookmarkEventHandler)eventHandler;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechTranslationConfiguration.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechTranslationConfiguration.h
deleted file mode 100644
index 9be0e13..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechTranslationConfiguration.h
+++ /dev/null
@@ -1,256 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXSpeechConfiguration.h"
-
-/**
- * Defines configurations for translation with speech input.
- */
-SPX_EXPORT
-@interface SPXSpeechTranslationConfiguration : SPXSpeechConfiguration
-
-/**
- * All target languages that have been configured for translation.
- */
-@property (nonatomic, copy, readonly, nonnull)NSArray *targetLanguages;
-
-/**
- * Voice name of the synthesis output of translated language.
- */
-@property (nonatomic, copy, nullable)NSString *voiceName;
-
-/**
- * Initializes speech translation configuration with the specified subscription key and service region.
- *
- * @param subscriptionKey the key of subscription to be used.
- * @param region the region name (see the region page).
- * @return an instance of speech translation configuration.
- */
-- (nullable instancetype)initWithSubscription:(nonnull NSString *)subscriptionKey region:(nonnull NSString *)region
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes speech translation configuration with the specified subscription key and service region.
- *
- * Added in version 1.6.0.
- *
- * @param subscriptionKey the key of subscription to be used.
- * @param region the region name (see the region page).
- * @param outError error information.
- * @return an instance of speech translation configuration.
- */
-- (nullable instancetype)initWithSubscription:(nonnull NSString *)subscriptionKey region:(nonnull NSString *)region error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes speech translation configuration with the specified subscription key and service region.
- *
- * Note: The caller needs to ensure that the authorization token is valid. Before the authorization token
- * expires, the caller needs to refresh it by calling setAuthorizationToken with a new valid token on the created recognizer.
- * Otherwise, the recognizer instance will encounter errors during recognition.
- * For long-living recognizers, the authorization token needs to be updated on the recognizer.
- *
- * @param authToken the authorization token.
- * @param region the region name (see the region page).
- * @return an instance of speech translation configuration.
- */
-- (nullable instancetype)initWithAuthorizationToken:(nonnull NSString *)authToken region:(nonnull NSString *)region
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes speech translation configuration with the specified subscription key and service region.
- *
- * Note: The caller needs to ensure that the authorization token is valid. Before the authorization token
- * expires, the caller needs to refresh it by calling setAuthorizationToken with a new valid token on the created recognizer.
- * Otherwise, the recognizer instance will encounter errors during recognition.
- * For long-living recognizers, the authorization token needs to be updated on the recognizer.
- *
- * Added in version 1.6.0.
- *
- * @param authToken the authorization token.
- * @param region the region name (see the region page).
- * @param outError error information.
- * @return an instance of speech translation configuration.
- */
-- (nullable instancetype)initWithAuthorizationToken:(nonnull NSString *)authToken region:(nonnull NSString *)region error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes speech translation configuration with specified endpoint and subscription key.
- * This method is intended only for users who use a non-standard service endpoint or parameters.
- *
- * Note: The query parameters specified in the endpoint URI are not changed, even if they are set by any other APIs.
- * For example, if the recognition language is defined in the URI as query parameter "language=de-DE", and is also set to "en-US" via
- * property speechRecognitionLanguage in SPXSpeechTranslationConfiguration, the language setting in URI takes precedence,
- * and the effective language is "de-DE".
- * Only the parameters that are not specified in the endpoint URI can be set by other APIs.
- *
- * Note: To use an authorization token, use initWithEndpoint, and then set the authorizationToken property on the created SPXSpeechTranslationConfiguration instance.
- *
- * @param endpointUri The service endpoint to connect to.
- * @param subscriptionKey the subscription key.
- * @return an instance of speech translation configuration.
- */
-- (nullable instancetype)initWithEndpoint:(nonnull NSString *)endpointUri subscription:(nonnull NSString *)subscriptionKey
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes speech translation configuration with specified endpoint and subscription key.
- * This method is intended only for users who use a non-standard service endpoint or parameters.
- *
- * Note: The query parameters specified in the endpoint URI are not changed, even if they are set by any other APIs.
- * For example, if the recognition language is defined in the URI as query parameter "language=de-DE", and is also set to "en-US" via
- * property speechRecognitionLanguage in SPXSpeechTranslationConfiguration, the language setting in URI takes precedence,
- * and the effective language is "de-DE".
- * Only the parameters that are not specified in the endpoint URI can be set by other APIs.
- *
- * Note: To use an authorization token, use initWithEndpoint, and then set the authorizationToken property on the created SPXSpeechTranslationConfiguration instance.
- *
- * Added in version 1.6.0.
- *
- * @param endpointUri The service endpoint to connect to.
- * @param subscriptionKey the subscription key.
- * @param outError error information.
- * @return an instance of speech translation configuration.
- */
-- (nullable instancetype)initWithEndpoint:(nonnull NSString *)endpointUri subscription:(nonnull NSString *)subscriptionKey error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes speech translation configuration with specified endpoint.
- * This method is intended only for users who use a non-standard service endpoint or parameters.
- *
- * Note: The query parameters specified in the endpoint URI are not changed, even if they are set by any other APIs.
- * For example, if the recognition language is defined in the URI as query parameter "language=de-DE", and is also set to "en-US" via
- * property speechRecognitionLanguage in SPXSpeechTranslationConfiguration, the language setting in URI takes precedence,
- * and the effective language is "de-DE".
- * Only the parameters that are not specified in the endpoint URI can be set by other APIs.
- *
- * Note: if the endpoint requires a subscription key for authentication, please use initWithEndpoint:subscription: to pass the subscription key as parameter.
- * To use an authorization token, use this method to create a SPXSpeechTranslationConfig instance, and then set the authorizationToken property on the created SPXSpeechTranslationConfiguration instance.
- *
- * Note: Added in version 1.5.0.
- *
- * @param endpointUri The service endpoint to connect to.
- * @return an instance of speech translation configuration.
- */
-- (nullable instancetype)initWithEndpoint:(nonnull NSString *)endpointUri
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes speech translation configuration with specified endpoint.
- * This method is intended only for users who use a non-standard service endpoint or parameters.
- *
- * Note: The query parameters specified in the endpoint URI are not changed, even if they are set by any other APIs.
- * For example, if the recognition language is defined in the URI as query parameter "language=de-DE", and is also set to "en-US" via
- * property speechRecognitionLanguage in SPXSpeechTranslationConfiguration, the language setting in URI takes precedence,
- * and the effective language is "de-DE".
- * Only the parameters that are not specified in the endpoint URI can be set by other APIs.
- *
- * Note: if the endpoint requires a subscription key for authentication, please use initWithEndpoint:subscription: to pass the subscription key as parameter.
- * To use an authorization token, use this method to create a SPXSpeechTranslationConfig instance, and then set the authorizationToken property on the created SPXSpeechTranslationConfiguration instance.
- *
- * Note: Added in version 1.6.0.
- *
- * @param endpointUri The service endpoint to connect to.
- * @param outError error information.
- * @return an instance of speech translation configuration.
- */
-- (nullable instancetype)initWithEndpoint:(nonnull NSString *)endpointUri error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes speech translation configuration with specified host and subscription key.
- * This method is intended only for users who use a non-default service host. Standard resource path will be assumed.
- * For services with a non-standard resource path or no path at all, use initWithEndpoint instead.
- *
- * Note: Query parameters are not allowed in the host URI and must be set by other APIs.
- *
- * Note: To use an authorization token, use initWithHost, and then set the authorizationToken property on the created SPXSpeechTranslationConfiguration instance.
- *
- * Added in version 1.8.0.
- *
- * @param hostUri The service host to connect to. Format is "protocol://host:port" where ":port" is optional.
- * @param subscriptionKey The subscription key.
- * @return An instance of speech translation configuration.
- */
-- (nullable instancetype)initWithHost:(nonnull NSString *)hostUri subscription:(nonnull NSString *)subscriptionKey
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes speech translation configuration with specified host and subscription key.
- * This method is intended only for users who use a non-default service host. Standard resource path will be assumed.
- * For services with a non-standard resource path or no path at all, use initWithEndpoint instead.
- *
- * Note: Query parameters are not allowed in the host URI and must be set by other APIs.
- *
- * Note: To use an authorization token, use initWithHost, and then set the authorizationToken property on the created SPXSpeechTranslationConfiguration instance.
- *
- * Added in version 1.8.0.
- *
- * @param hostUri The service host to connect to. Format is "protocol://host:port" where ":port" is optional.
- * @param subscriptionKey The subscription key.
- * @param outError Error information.
- * @return An instance of speech translation configuration.
- */
-- (nullable instancetype)initWithHost:(nonnull NSString *)hostUri subscription:(nonnull NSString *)subscriptionKey error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes speech translation configuration with specified host.
- * This method is intended only for users who use a non-default service host. Standard resource path will be assumed.
- * For services with a non-standard resource path or no path at all, use initWithEndpoint instead.
- *
- * Note: Query parameters are not allowed in the host URI and must be set by other APIs.
- *
- * Note: If the host requires a subscription key for authentication, use initWithHost:subscription: to pass the subscription key as parameter.
- * To use an authorization token, use this method to create a SPXSpeechTranslationConfig instance, and then set the authorizationToken property on the created SPXSpeechTranslationConfiguration instance.
- *
- * Added in version 1.8.0.
- *
- * @param hostUri The service host to connect to. Format is "protocol://host:port" where ":port" is optional.
- * @return An instance of speech translation configuration.
- */
-- (nullable instancetype)initWithHost:(nonnull NSString *)hostUri
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes speech translation configuration with specified host.
- * This method is intended only for users who use a non-default service host. Standard resource path will be assumed.
- * For services with a non-standard resource path or no path at all, use initWithEndpoint instead.
- *
- * Note: Query parameters are not allowed in the host URI and must be set by other APIs.
- *
- * Note: If the host requires a subscription key for authentication, use initWithHost:subscription: to pass the subscription key as parameter.
- * To use an authorization token, use this method to create a SPXSpeechTranslationConfig instance, and then set the authorizationToken property on the created SPXSpeechTranslationConfiguration instance.
- *
- * Added in version 1.8.0.
- *
- * @param hostUri The service host to connect to. Format is "protocol://host:port" where ":port" is optional.
- * @param outError Error information.
- * @return An instance of speech translation configuration.
- */
-- (nullable instancetype)initWithHost:(nonnull NSString *)hostUri error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Adds a target language for translation.
- *
- * @param lang the language identifier in BCP-47 format.
- */
-- (void)addTargetLanguage:(nonnull NSString *)lang;
-
-/**
- * Removes a target language for translation.
- *
- * Added in version 1.7.0.
- *
- * @param lang the language identifier in BCP-47 format.
- */
-- (void)removeTargetLanguage:(nonnull NSString *)lang;
-
-/**
- * Sets a Category Id that will be passed to service. Category Id is used to find the custom model.
- *
- * @param categoryId the category id for custom model.
- */
-- (void)setCustomModelCategoryId:(nonnull NSString *)categoryId;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechTranslationModelInfo.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechTranslationModelInfo.h
deleted file mode 100644
index 79548c3..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSpeechTranslationModelInfo.h
+++ /dev/null
@@ -1,55 +0,0 @@
-///
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-
-/**
- * Represents information about a speech translation model.
- */
-SPX_EXPORT
-@interface SPXSpeechTranslationModelInfo : NSObject
-
-/**
- * The name of the speech translation model.
- */
-@property (nonatomic, readonly, nonnull) NSString *name;
-
-/**
- * The source languages supported by the model.
- */
-@property (nonatomic, readonly, nonnull) NSArray *sourceLanguages;
-
-/**
- * The target languages supported by the model.
- */
-@property (nonatomic, readonly, nonnull) NSArray *targetLanguages;
-
-/**
- * The path of the model (valid only for offline models).
- */
-@property (nonatomic, readonly, nullable) NSString *path;
-
-/**
- * The version of the speech translation model.
- */
-@property (nonatomic, readonly, nonnull) NSString *version;
-
-/**
- * Initializes a new instance of the SPXSpeechTranslationModelInfo class.
- *
- * @param name The name of the model.
- * @param sourceLanguages The source languages supported by the model.
- * @param targetLanguages The target languages supported by the model.
- * @param path The path of the model (valid only for offline models).
- * @param version The version of the model.
- * @return An initialized SPXSpeechTranslationModelInfo instance.
- */
-- (nullable instancetype)initWithName:(nonnull NSString *)name
- sourceLanguages:(nonnull NSArray *)sourceLanguages
- targetLanguages:(nonnull NSArray *)targetLanguages
- path:(nullable NSString *)path
- version:(nonnull NSString *)version;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSynthesisVoicesResult.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSynthesisVoicesResult.h
deleted file mode 100644
index adb25f1..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXSynthesisVoicesResult.h
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXSpeechEnums.h"
-#import "SPXPropertyCollection.h"
-#import "SPXVoiceInfo.h"
-
-/**
- * Contains detailed information about the retrieved synthesis voices list.
- *
- * Added in version 1.16.0
- */
-SPX_EXPORT
-@interface SPXSynthesisVoicesResult : NSObject
-
-/**
- * The retrieved voices list.
- */
-@property (nonatomic, retain, nonnull) NSArray *voices;
-
-/**
- * The result identifier.
- */
-@property (copy, readonly, nonnull)NSString *resultId;
-
-/**
- * The reason the result was created.
- */
-@property (readonly)SPXResultReason reason;
-
-/**
- * The error details of the result.
- */
-@property (copy, readonly, nonnull)NSString *errorDetails;
-
-/**
- * The set of properties exposed in the result.
- */
-@property (readonly, nullable)id properties;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXTimingResult.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXTimingResult.h
deleted file mode 100644
index cb9ab8e..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXTimingResult.h
+++ /dev/null
@@ -1,135 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-
-/**
- * Contains nbest phoneme information.
- *
- * Added in version 1.21.0
- */
-SPX_EXPORT
-@interface SPXNBestPhoneme : NSObject
-
-/**
- * The phoneme.
- */
-@property (copy, readonly, nullable)NSString *phoneme;
-
-/**
- * The score.
- */
-@property (readonly)double score;
-
-@end
-
-/**
- * Contains basic properties of timing result
- *
- * Added in version 1.21.0
- */
-SPX_EXPORT
-@interface SPXTimingResult : NSObject
-
-/**
- * The time offset.
- */
-@property (readonly)NSTimeInterval offset;
-
-/**
- * The time duration.
- */
-@property (readonly)NSTimeInterval duration;
-
-@end
-
-/**
- * Contains phoneme level timing result
- *
- * Added in version 1.21.0
- */
-SPX_EXPORT
-@interface SPXPhonemeLevelTimingResult : SPXTimingResult
-
-/**
- * The phoneme text.
- */
-@property (copy, readonly, nullable)NSString *phoneme;
-
-/**
- * The score indicating the pronunciation accuracy of the given speech, which indicates
- * how closely the phoneme match a native speaker's pronunciation
- */
-@property (readonly)double accuracyScore;
-
-/**
- * The list of nbest phonemes.
- */
-@property (nonatomic, retain, nullable) NSArray *nbestPhonemes;
-
-@end
-
-/**
- * Contains syllable level timing result
- *
- * Added in version 1.21.0
- */
-SPX_EXPORT
-@interface SPXSyllableLevelTimingResult : SPXTimingResult
-
-/**
- * The syllable.
- */
-@property (copy, readonly, nullable)NSString *syllable;
-
-/**
- * The grapheme.
- */
-@property (copy, readonly, nullable)NSString *grapheme;
-
-/**
- * The score indicating the pronunciation accuracy of the given speech, which indicates
- * how closely the syllable match a native speaker's pronunciation.
- */
-@property (readonly)double accuracyScore;
-
-@end
-
-/**
- * Contains word level timing result
- *
- * Added in version 1.21.0
- */
-SPX_EXPORT
-@interface SPXWordLevelTimingResult : SPXTimingResult
-
-/**
- * The word text.
- */
-@property (copy, readonly, nullable)NSString *word;
-
-/**
- * The score indicating the pronunciation accuracy of the given speech, which indicates
- * how closely the phonemes match a native speaker's pronunciation.
- */
-@property (readonly)double accuracyScore;
-
-/**
- * This value indicates whether a word is omitted, inserted or badly pronounced, compared to ReferenceText.
- * Possible values are None (meaning no error on this word), Omission, Insertion and Mispronunciation.
- */
-@property (copy, readonly, nullable)NSString *errorType;
-
-/**
- * Phoneme level pronunciation assessment result
- */
-@property (nonatomic, retain, nullable) NSArray *phonemes;
-
-/**
- * Syllable level timing result
- */
-@property (nonatomic, retain, nullable) NSArray *syllables;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXTranslationRecognitionEventArgs.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXTranslationRecognitionEventArgs.h
deleted file mode 100644
index e4b907a..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXTranslationRecognitionEventArgs.h
+++ /dev/null
@@ -1,47 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXRecognitionEventArgs.h"
-#import "SPXTranslationRecognitionResult.h"
-
-
-/**
- * Defines the payload of text translation recognizing/recognized events.
- */
-SPX_EXPORT
-@interface SPXTranslationRecognitionEventArgs : SPXRecognitionEventArgs
-
-/**
- * The translation text result.
- */
-@property (readonly, nonnull)SPXTranslationRecognitionResult *result;
-
-@end
-
-/**
- * Defines the payload of text translation canceled events.
- */
-SPX_EXPORT
-@interface SPXTranslationRecognitionCanceledEventArgs : SPXTranslationRecognitionEventArgs
-
-/**
- * The reason why the text translation was canceled.
- */
-@property (readonly)SPXCancellationReason reason;
-
-/**
- * The error code in case of an unsuccessful recognition (reason is set to Error).
- *
- * Added in version 1.1.0.
- */
-@property (readonly)SPXCancellationErrorCode errorCode;
-
-/**
- * The error message in case of an unsuccessful recognition (reason is set to Error).
- */
-@property (copy, readonly, nullable)NSString *errorDetails;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXTranslationRecognitionResult.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXTranslationRecognitionResult.h
deleted file mode 100644
index 040e478..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXTranslationRecognitionResult.h
+++ /dev/null
@@ -1,23 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXRecognitionResult.h"
-
-/**
- * Defines the translation recognition result.
- */
-SPX_EXPORT
-@interface SPXTranslationRecognitionResult : SPXRecognitionResult
-
-/**
- * Translation results. Each item in the dictionary represents a translation result in one of target languages, where the key
- * is the name of the target language, in BCP-47 format, and the value is the translation text in the specified language.
- *
- * @return the translated text results.
- */
-@property (copy, readonly, nonnull)NSDictionary *translations;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXTranslationRecognizer.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXTranslationRecognizer.h
deleted file mode 100644
index e071f82..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXTranslationRecognizer.h
+++ /dev/null
@@ -1,409 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-#import "SPXFoundation.h"
-#import "SPXSpeechTranslationConfiguration.h"
-#import "SPXAudioConfiguration.h"
-#import "SPXRecognizer.h"
-#import "SPXTranslationRecognitionResult.h"
-#import "SPXTranslationRecognitionEventArgs.h"
-#import "SPXTranslationSynthesisResult.h"
-#import "SPXTranslationSynthesisEventArgs.h"
-#import "SPXEmbeddedSpeechConfiguration.h"
-#import "SPXAutoDetectSourceLanguageConfiguration.h"
-
-/**
- * Performs translation on the specified speech input, and gets transcribed and translated texts as result.
- */
-SPX_EXPORT
-@interface SPXTranslationRecognizer : SPXRecognizer
-
-typedef void (^SPXTranslationRecognitionEventHandler)(SPXTranslationRecognizer * _Nonnull, SPXTranslationRecognitionEventArgs * _Nonnull);
-typedef void (^SPXTranslationRecognitionCanceledEventHandler)(SPXTranslationRecognizer * _Nonnull, SPXTranslationRecognitionCanceledEventArgs * _Nonnull);
-typedef void (^SPXTranslationRecognitionAsyncCompletionHandler)(void);
-typedef void (^SPXTranslationSynthesisEventHandler)(SPXTranslationRecognizer * _Nonnull, SPXTranslationSynthesisEventArgs * _Nonnull);
-
-/**
- * Authorization token used to communicate with the translation recognition service.
- *
- * Note: The caller needs to ensure that the authorization token is valid. Before the authorization token expires,
- * the caller needs to refresh it by calling this setter with a new valid token.
- * Otherwise, the recognizer will encounter errors during recognition.
- */
-@property (nonatomic, copy, nullable)NSString *authorizationToken;
-
-/**
- * All target languages that have been configured for translation.
- *
- * Added in version 1.7.0.
- */
-@property (nonatomic, copy, readonly, nonnull)NSArray *targetLanguages;
-
-/**
- * Initializes a new instance of translation recognizer.
- *
- * @param translationConfiguration translation recognition configuration.
- * @return an instance of translation recognizer.
- */
-- (nullable instancetype)init:(nonnull SPXSpeechTranslationConfiguration *)translationConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of translation recognizer.
- *
- * Added in version 1.6.0.
- *
- * @param translationConfiguration translation recognition configuration.
- * @param outError error information.
- * @return an instance of translation recognizer.
- */
-- (nullable instancetype)init:(nonnull SPXSpeechTranslationConfiguration *)translationConfiguration error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of translation recognizer using the specified speech and audio configurations.
- *
- * @param translationConfiguration speech translation recognition configuration.
- * @param audioConfiguration audio configuration.
- * @return an instance of translation recognizer.
- */
-- (nullable instancetype)initWithSpeechTranslationConfiguration:(nonnull SPXSpeechTranslationConfiguration *)translationConfiguration audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of translation recognizer using the specified speech and audio configurations.
- *
- * Added in version 1.6.0.
- *
- * @param translationConfiguration speech translation recognition configuration.
- * @param audioConfiguration audio configuration.
- * @param outError error information.
- * @return an instance of translation recognizer.
- */
-- (nullable instancetype)initWithSpeechTranslationConfiguration:(nonnull SPXSpeechTranslationConfiguration *)translationConfiguration audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of translation recognizer using the specified auto language detection configuration.
- *
- * @param translationConfiguration speech translation configuration.
- * @param autoDetectSourceLanguageConfiguration auto language detection configuration.
- * @return an instance of translation recognizer.
- */
-- (nullable instancetype)initWithSpeechTranslationConfiguration:(nonnull SPXSpeechTranslationConfiguration *)translationConfiguration
- autoDetectSourceLanguageConfiguration:(nonnull SPXAutoDetectSourceLanguageConfiguration *)autoDetectSourceLanguageConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of translation recognizer using the specified auto language detection configuration.
- *
- * @param translationConfiguration speech translation configuration.
- * @param autoDetectSourceLanguageConfiguration auto language detection configuration.
- * @param outError error information.
- * @return an instance of translation recognizer.
- */
-- (nullable instancetype)initWithSpeechTranslationConfiguration:(nonnull SPXSpeechTranslationConfiguration *)translationConfiguration
- autoDetectSourceLanguageConfiguration:(nonnull SPXAutoDetectSourceLanguageConfiguration *)autoDetectSourceLanguageConfiguration
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of translation recognizer using specified auto language detection and audio configuration.
- *
- * @param translationConfiguration speech translation configuration.
- * @param autoDetectSourceLanguageConfiguration auto language detection configuration.
- * @param audioConfiguration audio configuration.
- * @return an instance of translation recognizer.
- */
-- (nullable instancetype)initWithSpeechTranslationConfiguration:(nonnull SPXSpeechTranslationConfiguration *)translationConfiguration
- autoDetectSourceLanguageConfiguration:(nonnull SPXAutoDetectSourceLanguageConfiguration *)autoDetectSourceLanguageConfiguration
- audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of translation recognizer using specified auto language detection and audio configuration.
- *
- * @param translationConfiguration speech translation configuration.
- * @param autoDetectSourceLanguageConfiguration auto language detection configuration.
- * @param audioConfiguration audio configuration.
- * @param outError error information.
- * @return an instance of translation recognizer.
- */
-- (nullable instancetype)initWithSpeechTranslationConfiguration:(nonnull SPXSpeechTranslationConfiguration *)translationConfiguration
- autoDetectSourceLanguageConfiguration:(nonnull SPXAutoDetectSourceLanguageConfiguration *)autoDetectSourceLanguageConfiguration
- audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of translation recognizer.
- *
- * @param embeddedSpeechConfiguration embedded speech configuration.
- * @return an instance of translation recognizer.
- */
-- (nullable instancetype)initWithEmbeddedSpeechConfiguration:(nonnull SPXEmbeddedSpeechConfiguration *)embeddedSpeechConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of translation recognizer.
- *
- * @param embeddedSpeechConfiguration embedded speech configuration.
- * @param outError error information.
- * @return an instance of translation recognizer.
- */
-- (nullable instancetype)initWithEmbeddedSpeechConfiguration:(nonnull SPXEmbeddedSpeechConfiguration *)embeddedSpeechConfiguration error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Initializes a new instance of translation recognizer using the specified speech and audio configurations.
- *
- * @param embeddedSpeechConfiguration embedded speech configuration.
- * @param audioConfiguration audio configuration.
- * @return an instance of translation recognizer.
- */
-- (nullable instancetype)initWithEmbeddedSpeechConfiguration:(nonnull SPXEmbeddedSpeechConfiguration *)embeddedSpeechConfiguration audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Initializes a new instance of translation recognizer using the specified speech and audio configurations.
- *
- * @param embeddedSpeechConfiguration embedded speech configuration.
- * @param audioConfiguration audio configuration.
- * @param outError error information.
- * @return an instance of translation recognizer.
- */
-- (nullable instancetype)initWithEmbeddedSpeechConfiguration:(nonnull SPXEmbeddedSpeechConfiguration *)embeddedSpeechConfiguration audioConfiguration:(nonnull SPXAudioConfiguration *)audioConfiguration error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Starts speech translation, and returns after a single utterance is recognized. The end of a
- * single utterance is determined by listening for silence at the end or until a maximum of about 30
- * seconds of audio is processed. The task returns the recognition text as result.
- *
- * Note: Since recognizeOnce() returns only a single utterance, it is suitable only for single
- * shot recognition like command or query.
- * For long-running multi-utterance recognition, use startContinuousRecognition() instead.
- *
- * @return the result of translation.
- */
-- (nonnull SPXTranslationRecognitionResult *)recognizeOnce
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.") NS_RETURNS_RETAINED;
-
-/**
- * Starts speech translation, and returns after a single utterance is recognized. The end of a
- * single utterance is determined by listening for silence at the end or until a maximum of about 30
- * seconds of audio is processed. The task returns the recognition text as result.
- *
- * Note: Since recognizeOnce() returns only a single utterance, it is suitable only for single
- * shot recognition like command or query.
- * For long-running multi-utterance recognition, use startContinuousRecognition() instead.
- *
- * Added in version 1.6.0.
- *
- * @param outError error information.
- * @return the result of translation.
- */
-- (nullable SPXTranslationRecognitionResult *)recognizeOnce:(NSError * _Nullable * _Nullable)outError NS_RETURNS_RETAINED;
-
-/**
- * Starts translation, and returns after a single utterance is recognized. The end of a
- * single utterance is determined by listening for silence at the end or until a maximum of about 30
- * seconds of audio is processed. The task returns the recognition text as result.
- *
- * Note: Since recognizeOnceAsync() returns only a single utterance, it is suitable only for single
- * shot recognition like command or query.
- * For long-running multi-utterance recognition, use startContinuousRecognition() instead.
- *
- * @param resultReceivedHandler the block function to be called when the first utterance has been recognized.
- */
-- (void)recognizeOnceAsync:(nonnull void (^)(SPXTranslationRecognitionResult * _Nonnull))resultReceivedHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Starts translation, and returns after a single utterance is recognized. The end of a
- * single utterance is determined by listening for silence at the end or until a maximum of about 30
- * seconds of audio is processed. The task returns the recognition text as result.
- *
- * Note: Since recognizeOnceAsync() returns only a single utterance, it is suitable only for single
- * shot recognition like command or query.
- * For long-running multi-utterance recognition, use startContinuousRecognition() instead.
- *
- * Added in version 1.6.0.
- *
- * @param resultReceivedHandler the block function to be called when the first utterance has been recognized.
- * @param outError error information.
- */
-- (BOOL)recognizeOnceAsync:(nonnull void (^)(SPXTranslationRecognitionResult * _Nonnull))resultReceivedHandler error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Starts speech translation on a continuous audio stream, until stopContinuousRecognition() is called.
- * The user must subscribe to events to receive translation results.
- */
-- (void)startContinuousRecognition
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Starts speech translation on a continuous audio stream, until stopContinuousRecognition() is called.
- * The user must subscribe to events to receive translation results.
- *
- * Added in version 1.6.0.
- *
- * @param outError error information.
- */
-- (BOOL)startContinuousRecognition:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Stops continuous translation.
- */
-- (void)stopContinuousRecognition
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Stops continuous translation.
- *
- * Added in version 1.6.0.
- *
- * @param outError error information.
- */
-- (BOOL)stopContinuousRecognition:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Begins a speech-to-text interaction with this recognizer using a keyword.
- * This interaction will use the provided keyword model to listen for a keyword indefinitely,
- * during which audio is not sent to the speech service and all processing is performed locally.
- * When a keyword is recognized, TranslationRecognizer will automatically connect to the speech service
- * and begin sending audio data from just before the keyword.
- * When received, speech-to-text results may be processed by the provided result handler
- * or retrieved via a subscription to the recognized event.
- *
- * @param keywordModel the keyword recognition model.
- * @param outError error information.
- * @return a value indicating whether the requested keyword recognition successfully started. If NO, outError may
- * contain additional information.
- */
-- (BOOL)startKeywordRecognition
- :(nonnull SPXKeywordRecognitionModel *)keywordModel
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Begins a speech-to-text interaction with this recognizer using a keyword.
- * This interaction will use the provided keyword model to listen for a keyword indefinitely,
- * during which audio is not sent to the speech service and all processing is performed locally.
- * When a keyword is recognized, TranslationRecognizer will automatically connect to the speech service
- * and begin sending audio data from just before the keyword.
- * When received, speech-to-text results may be processed by the provided result handler
- * or retrieved via a subscription to the recognized event.
- *
- * @param keywordModel the keyword recognition model.
- */
-- (void)startKeywordRecognition:(nonnull SPXKeywordRecognitionModel *)keywordModel
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Asynchronously begins a speech-to-text interaction with this recognizer
- * and immediately returns execution to the calling thread.
- * This interaction will use the provided keyword model to listen for a keyword indefinitely,
- * during which audio is not sent to the speech service and all processing is performed locally.
- * When a keyword is recognized, TranslationRecognizer will automatically connect to the speech service
- * and begin sending audio data from just before the keyword.
- * When received, speech-to-text results may be processed by the provided result handler
- * or retrieved via a subscription to the recognized event.
- *
- * @param keywordModel the keyword recognition model.
- * @param completionHandler the handler function called when keyword recognition has started.
- * @param outError error information.
- * @return a value indicating whether the request to start keyword recognition was received successfully. If NO,
- * additional information may available in outError.
- */
-- (BOOL)startKeywordRecognitionAsync
- :(nonnull SPXKeywordRecognitionModel *)keywordModel
- completionHandler:(nonnull SPXTranslationRecognitionAsyncCompletionHandler)completionHandler
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Asynchronously begins a speech-to-text interaction with this recognizer
- * and immediately returns execution to the calling thread.
- * This interaction will use the provided keyword model to listen for a keyword indefinitely,
- * during which audio is not sent to the speech service and all processing is performed locally.
- * When a keyword is recognized, TranslationRecognizer will automatically connect to the speech service
- * and begin sending audio data from just before the keyword.
- * When received, speech-to-text results may be processed by the provided result handler
- * or retrieved via a subscription to the recognized event.
- *
- * @param keywordModel the keyword recognition model.
- * @param completionHandler the handler function called when keyword recognition has started.
- */
-- (void)startKeywordRecognitionAsync
- :(nonnull SPXKeywordRecognitionModel *)keywordModel
- completionHandler:(nonnull SPXTranslationRecognitionAsyncCompletionHandler)completionHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Stops any active keyword recognition.
- *
- * @param outError error information.
- * @return a value indicating whether keyword recognition was stopped successfully. If NO, additional information may
- * be available in outError.
- */
-- (BOOL)stopKeywordRecognition:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Stops any active keyword recognition.
- */
-- (void)stopKeywordRecognition
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Stops any active keyword recognition.
- *
- * @param completionHandler the handler function called when keyword recognition has stopped.
- * @param outError error information.
- * @return a value indicating whether the request to stop was received successfully. If NO, additional error
- * information may be available in outError.
- */
-- (BOOL)stopKeywordRecognitionAsync
- :(nonnull SPXTranslationRecognitionAsyncCompletionHandler)completionHandler
- error:(NSError * _Nullable * _Nullable)outError;
-
-/**
- * Stops any active keyword recognition.
- *
- * @param completionHandler the handler function called when keyword recognition has stopped.
- */
-- (void)stopKeywordRecognitionAsync:(nonnull SPXTranslationRecognitionAsyncCompletionHandler)completionHandler
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Subscribes to the Recognized event which indicates that a final result has been recognized.
- */
-- (void)addRecognizedEventHandler:(nonnull SPXTranslationRecognitionEventHandler)eventHandler;
-
-/**
- * Subscribes to the Recognizing event which indicates that an intermediate result has been recognized.
- */
-- (void)addRecognizingEventHandler:(nonnull SPXTranslationRecognitionEventHandler)eventHandler;
-
-/**
- * Subscribes to the Synthesizing event which indicates that a synthesis voice output has been received.
- */
-- (void)addSynthesizingEventHandler:(nonnull SPXTranslationSynthesisEventHandler)eventHandler;
-
-/**
- * Subscribes to the Canceled event which indicates that an error occurred during recognition.
- */
-- (void)addCanceledEventHandler:(nonnull SPXTranslationRecognitionCanceledEventHandler)eventHandler;
-
-/**
- * Adds a target language for translation.
- *
- * Added in version 1.7.0.
- *
- * @param lang the language identifier in BCP-47 format.
- */
-- (void)addTargetLanguage:(nonnull NSString *)lang;
-
-/**
- * Removes a target language for translation.
- *
- * Added in version 1.7.0.
- *
- * @param lang the language identifier in BCP-47 format.
- */
-- (void)removeTargetLanguage:(nonnull NSString *)lang;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXTranslationSynthesisEventArgs.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXTranslationSynthesisEventArgs.h
deleted file mode 100644
index e4e5eba..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXTranslationSynthesisEventArgs.h
+++ /dev/null
@@ -1,21 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXSessionEventArgs.h"
-#import "SPXTranslationSynthesisResult.h"
-
-/**
- * Defines the payload of the translation synthesis result event.
- */
-SPX_EXPORT
-@interface SPXTranslationSynthesisEventArgs : SPXSessionEventArgs
-
-/**
- * The translation synthesis result.
- */
-@property (readonly, nonnull)SPXTranslationSynthesisResult *result;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXTranslationSynthesisResult.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXTranslationSynthesisResult.h
deleted file mode 100644
index d05925b..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXTranslationSynthesisResult.h
+++ /dev/null
@@ -1,24 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-
-/**
- * Defines the translation synthesis result, i.e. the voice output of the translated text in the target language.
- */
-SPX_EXPORT
-@interface SPXTranslationSynthesisResult : NSObject
-
-/**
- * The reason the result was created.
- */
-@property (readonly)SPXResultReason reason;
-
-/**
- * The voice output of the translated text in the target language.
- */
-@property (copy, readonly, nullable)NSData *audio;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXUser.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXUser.h
deleted file mode 100644
index 184818c..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXUser.h
+++ /dev/null
@@ -1,39 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-
-/**
- * User representation in the conversation type of scenarios.
- *
- * Added in version 1.13.0.
- */
-SPX_EXPORT
-@interface SPXUser : NSObject
-
-/**
- * User ID in the conversation session.
- */
-@property (nonatomic, copy, nullable)NSString *userId;
-
-/**
- * Gets the User instance from the specified user id.
- *
- * @param userId The user's id.
- * @return The User instance.
- */
-- (nullable instancetype)initFromUserId:(nonnull NSString *)userId
-NS_SWIFT_UNAVAILABLE("Use the method with Swift-compatible error handling.");
-
-/**
- * Gets the User instance from the specified user id.
- *
- * @param userId The user's id.
- * @return The User instance.
- * @param outError error information.
- */
-- (nullable instancetype)initFromUserId:(nonnull NSString *)userId error:(NSError * _Nullable * _Nullable)outError;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXVoiceInfo.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXVoiceInfo.h
deleted file mode 100644
index 7b66365..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/SPXVoiceInfo.h
+++ /dev/null
@@ -1,70 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#import "SPXFoundation.h"
-#import "SPXSpeechEnums.h"
-#import "SPXPropertyCollection.h"
-
-/**
- * Contains detailed information about the synthesis voice information.
- *
- * Updated in version 1.17.0
- */
-SPX_EXPORT
-@interface SPXVoiceInfo : NSObject
-
-/**
- * The full name.
- */
-@property (copy, readonly, nonnull)NSString *name;
-
-/**
- * The locale.
- */
-@property (copy, readonly, nonnull)NSString *locale;
-
-/**
- * The short name.
- */
-@property (copy, readonly, nonnull)NSString *shortName;
-
-/**
- * The local name.
- */
-@property (copy, readonly, nonnull)NSString *localName;
-
-/**
- * The voice gender.
- *
- * Added in version 1.17.0
- */
-@property (readonly)SPXSynthesisVoiceGender gender;
-
-/**
- * The voice status.
- */
-@property (readonly)SPXSynthesisVoiceStatus status;
-
-/**
- * The voice type.
- */
-@property (readonly)SPXSynthesisVoiceType voiceType;
-
-/**
- * The voice path, only valid for offline voices.
- */
-@property (nonatomic, retain, nonnull) NSArray *styleList;
-
-/**
- * The voice path, only valid for offline voices.
- */
-@property (copy, readonly, nonnull)NSString *voicePath;
-
-/**
- * The set of properties exposed in the result.
- */
-@property (readonly, nullable)id properties;
-
-@end
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/azac_api_c_common.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/azac_api_c_common.h
deleted file mode 100644
index 95f1368..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/azac_api_c_common.h
+++ /dev/null
@@ -1,79 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/azai/license202106 for the full license information.
-//
-
-#pragma once
-
-#include
-#include "azac_error.h"
-
-#ifdef __cplusplus
-#define AZAC_EXTERN_C extern "C"
-#else
-#define AZAC_EXTERN_C
-#endif
-
-#ifdef _WIN32
-#define AZAC_DLL_EXPORT __declspec(dllexport)
-#define AZAC_DLL_IMPORT __declspec(dllimport)
-#define AZAC_API_NOTHROW __declspec(nothrow)
-#define AZAC_API_RESULTTYPE AZACHR
-#define AZAC_API_CALLTYPE __stdcall
-#define AZAC_API_VCALLTYPE __cdecl
-#else
-#define AZAC_DLL_EXPORT __attribute__ ((__visibility__("default")))
-#define AZAC_DLL_IMPORT
-#define AZAC_API_NOTHROW __attribute__((nothrow))
-#define AZAC_API_RESULTTYPE AZACHR
-#define AZAC_API_CALLTYPE
-#define AZAC_API_VCALLTYPE __attribute__((cdecl))
-#endif
-
-#ifdef AZAC_CONFIG_EXPORTAPIS
-#define AZAC_API_EXPORT AZAC_DLL_EXPORT
-#endif
-#ifdef AZAC_CONFIG_IMPORTAPIS
-#define AZAC_API_EXPORT AZAC_DLL_IMPORT
-#endif
-#ifdef AZAC_CONFIG_STATIC_LINK_APIS
-#define AZAC_API_EXPORT
-#endif
-#ifndef AZAC_API_EXPORT
-#define AZAC_API_EXPORT AZAC_DLL_IMPORT
-#endif
-
-#define AZAC_API AZAC_EXTERN_C AZAC_API_EXPORT AZAC_API_RESULTTYPE AZAC_API_NOTHROW AZAC_API_CALLTYPE
-#define AZAC_API_(type) AZAC_EXTERN_C AZAC_API_EXPORT type AZAC_API_NOTHROW AZAC_API_CALLTYPE
-#define AZAC_API__(type) AZAC_EXTERN_C AZAC_API_EXPORT AZAC_API_NOTHROW type AZAC_API_CALLTYPE
-#define AZAC_APIV AZAC_EXTERN_C AZAC_API_EXPORT AZAC_API_NOTHROW AZAC_API_RESULTTYPE AZAC_API_VCALLTYPE
-#define AZAC_APIV_(type) AZAC_EXTERN_C AZAC_API_EXPORT AZAC_API_NOTHROW type AZAC_API_VCALLTYPE
-#define AZAC_API_PRIVATE AZAC_EXTERN_C AZAC_API_RESULTTYPE AZAC_API_NOTHROW AZAC_API_CALLTYPE
-#define AZAC_API_PRIVATE_(type) AZAC_EXTERN_C type AZAC_API_NOTHROW AZAC_API_CALLTYPE
-
-struct _azac_empty {};
-typedef struct _azac_empty* _azachandle;
-typedef _azachandle AZAC_HANDLE;
-
-#define AZAC_HANDLE_INVALID ((AZAC_HANDLE)-1)
-#define AZAC_HANDLE_RESERVED1 ((AZAC_HANDLE)+1)
-
-#ifndef AZAC_SUPPRESS_DIAGNOSTICS_INCLUDE_FROM_COMMON
-#define AZAC_SUPPRESS_COMMON_INCLUDE_FROM_DIAGNOSTICS
-#include "azac_api_c_diagnostics.h"
-#undef AZAC_SUPPRESS_COMMON_INCLUDE_FROM_DIAGNOSTICS
-#endif
-
-#ifndef AZAC_SUPPRESS_ERROR_INCLUDE_FROM_COMMON
-#define AZAC_SUPPRESS_COMMON_INCLUDE_FROM_ERROR
-#include "azac_api_c_error.h"
-#undef AZAC_SUPPRESS_COMMON_INCLUDE_FROM_ERROR
-#endif
-
-#ifndef AZAC_SUPPRESS_DEBUG_INCLUDE_FROM_COMMON
-#define AZAC_SUPPRESS_COMMON_INCLUDE_FROM_DEBUG
-#include "azac_debug.h"
-#undef AZAC_SUPPRESS_COMMON_INCLUDE_FROM_DEBUG
-#endif
-
-#define AZACPROPERTYBAGHANDLE AZAC_HANDLE
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/azac_api_c_diagnostics.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/azac_api_c_diagnostics.h
deleted file mode 100644
index 677e73a..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/azac_api_c_diagnostics.h
+++ /dev/null
@@ -1,78 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/azai/license202106 for the full license information.
-//
-
-#pragma once
-
-#ifndef AZAC_SUPPRESS_COMMON_INCLUDE_FROM_DIAGNOSTICS
-#define AZAC_SUPPRESS_DIAGNOSTICS_INCLUDE_FROM_COMMON
-#include "azac_api_c_common.h"
-#undef AZAC_SUPPRESS_DIAGNOSTICS_INCLUDE_FROM_COMMON
-#endif
-
-#include
-#include
-
-//
-// APIs to manage logging to file
-//
-AZAC_API diagnostics_log_start_logging(AZAC_HANDLE hpropbag, void* reserved);
-AZAC_API diagnostics_log_apply_properties(AZAC_HANDLE hpropbag, void* reserved);
-AZAC_API diagnostics_log_stop_logging();
-
-//
-// APIs to manage logging events
-//
-typedef void(*DIAGNOSTICS_CALLBACK_FUNC)(const char *logLine);
-AZAC_API diagnostics_logmessage_set_callback(DIAGNOSTICS_CALLBACK_FUNC callback);
-AZAC_API diagnostics_logmessage_set_filters(const char* filters);
-
-//
-// APIs to managed eventSource events
-//
-typedef void(*DIAGNOSTICS_EVENTSOURCE_CALLBACK_FUNC)(const char *logLine, const int level);
-AZAC_API diagnostics_eventsource_logmessage_set_callback(DIAGNOSTICS_EVENTSOURCE_CALLBACK_FUNC callback);
-AZAC_API diagnostics_eventsource_logmessage_set_filters(const char* filters);
-
-//
-// APIs to manage logging to memory
-//
-AZAC_API_(void) diagnostics_log_memory_start_logging();
-AZAC_API_(void) diagnostics_log_memory_stop_logging();
-AZAC_API_(void) diagnostics_log_memory_set_filters(const char* filters);
-
-// The binding layers use these to implement a dump to vector of strings or an output stream
-AZAC_API_(size_t) diagnostics_log_memory_get_line_num_oldest();
-AZAC_API_(size_t) diagnostics_log_memory_get_line_num_newest();
-AZAC_API__(const char*) diagnostics_log_memory_get_line(size_t lineNum);
-
-// Dump to file, std out or std err with optional prefix string
-AZAC_API diagnostics_log_memory_dump_to_stderr(); // This calls diagnostics_log_memory_dump(nullptr, nullptr, false, true)
-AZAC_API diagnostics_log_memory_dump(const char* filename, const char* linePrefix, bool emitToStdOut, bool emitToStdErr);
-AZAC_API diagnostics_log_memory_dump_on_exit(const char* filename, const char* linePrefix, bool emitToStdOut, bool emitToStdErr);
-
-//
-// APIs to manage logging to the console
-//
-AZAC_API_(void) diagnostics_log_console_start_logging(bool logToStderr);
-AZAC_API_(void) diagnostics_log_console_stop_logging();
-AZAC_API_(void) diagnostics_log_console_set_filters(const char* filters);
-
-//
-// APIs to log a string
-//
-AZAC_API_(void) diagnostics_log_format_message(char* buffer, size_t bufferSize, int level, const char* pszTitle, const char* fileName, const int lineNumber, const char* pszFormat, va_list argptr);
-AZAC_API_(void) diagnostics_log_trace_string(int level, const char* pszTitle, const char* fileName, const int lineNumber, const char* psz);
-AZAC_API_(void) diagnostics_log_trace_message(int level, const char* pszTitle, const char* fileName, const int lineNumber, const char* pszFormat, ...);
-AZAC_API_(void) diagnostics_log_trace_message2(int level, const char* pszTitle, const char* fileName, const int lineNumber, const char* pszFormat, va_list argptr);
-
-AZAC_API_(void) diagnostics_set_log_level(const char * logger, const char * level);
-AZAC_API_(bool) diagnostics_is_log_level_enabled(int level);
-
-//
-// Memory tracking API's
-//
-AZAC_API_(size_t) diagnostics_get_handle_count();
-AZAC_API__(const char*) diagnostics_get_handle_info();
-AZAC_API diagnostics_free_string(const char* value);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/azac_api_c_error.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/azac_api_c_error.h
deleted file mode 100644
index 17b4dba..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/azac_api_c_error.h
+++ /dev/null
@@ -1,22 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/azai/license202106 for the full license information.
-//
-
-#pragma once
-
-#ifndef AZAC_SUPPRESS_COMMON_INCLUDE_FROM_ERROR
-#define AZAC_SUPPRESS_ERROR_INCLUDE_FROM_COMMON
-#include "azac_api_c_common.h"
-#undef AZAC_SUPPRESS_ERROR_INCLUDE_FROM_COMMON
-#endif
-
-typedef const char * const_char_ptr;
-
-AZAC_API_(const_char_ptr) error_get_message(AZAC_HANDLE errorHandle);
-
-AZAC_API_(const_char_ptr) error_get_call_stack(AZAC_HANDLE errorHandle);
-
-AZAC_API error_get_error_code(AZAC_HANDLE errorHandle);
-
-AZAC_API error_release(AZAC_HANDLE errorHandle);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/azac_api_c_pal.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/azac_api_c_pal.h
deleted file mode 100644
index 6a33988..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/azac_api_c_pal.h
+++ /dev/null
@@ -1,11 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/azai/license202106 for the full license information.
-//
-
-#pragma once
-
-#include "azac_api_c_common.h"
-
-AZAC_API_(size_t) pal_wstring_to_string(char * dst, const wchar_t * src, size_t dstSize);
-AZAC_API_(size_t) pal_string_to_wstring(wchar_t * dst, const char * src, size_t dstSize);
\ No newline at end of file
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/azac_api_cxx_common.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/azac_api_cxx_common.h
deleted file mode 100644
index 2623471..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/azac_api_cxx_common.h
+++ /dev/null
@@ -1,80 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/azai/license202106 for the full license information.
-//
-
-#pragma once
-
-#include "azac_api_c_common.h"
-#include "azac_api_c_error.h"
-#include "azac_debug.h"
-#include "azac_error.h"
-#include
-#include
-#include
-
-#define AZAC_DISABLE_COPY_AND_MOVE(T) \
- /** \brief Disable copy constructor */ \
- T(const T&) = delete; \
- /** \brief Disable copy assignment */ \
- T& operator=(const T&) = delete; \
- /** \brief Disable move constructor */ \
- T(T&&) = delete; \
- /** \brief Disable move assignment */ \
- T& operator=(T&&) = delete
-
-#define AZAC_DISABLE_DEFAULT_CTORS(T) \
- /** \brief Disable default constructor */ \
- T() = delete; \
- AZAC_DISABLE_COPY_AND_MOVE(T)
-
-#if defined(__GNUG__) && defined(__linux__) && !defined(ANDROID) && !defined(__ANDROID__)
-#include
-#define SHOULD_HANDLE_FORCED_UNWIND 1
-#endif
-
-/*! \cond INTERNAL */
-
-namespace Azure {
-namespace AI {
-namespace Core {
-namespace _detail {
-
-template
-class ProtectedAccess : public T
-{
-public:
-
- static AZAC_HANDLE HandleFromPtr(T* ptr) {
- if (ptr == nullptr)
- {
- return nullptr;
- }
- auto access = static_cast(ptr);
- return (AZAC_HANDLE)(*access);
- }
-
- static AZAC_HANDLE HandleFromConstPtr(const T* ptr) {
- if (ptr == nullptr)
- {
- return nullptr;
- }
- auto access = static_cast(ptr);
- return (AZAC_HANDLE)(*access);
- }
-
- template
- static std::shared_ptr FromHandle(AZAC_HANDLE handle, Args... extras) {
- return T::FromHandle(handle, extras...);
- }
-
- template
- static std::shared_ptr Create(Args&&... args) {
- return T::Create(std::forward(args)...);
- }
-
-};
-
-} } } } // Azure::AI::Core::Details
-
-/*! \endcond */
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/azac_debug.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/azac_debug.h
deleted file mode 100644
index 856072e..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/azac_debug.h
+++ /dev/null
@@ -1,843 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/azai/license202106 for the full license information.
-//
-
-#pragma once
-#include "azac_error.h"
-#include
-
-#ifndef _MSC_VER
-// macros in this header generate a bunch of
-// "ISO C++11 requires at least one argument for the "..." in a variadic macro" errors.
-// system_header pragma is the only mechanism that helps to suppress them.
-// https://stackoverflow.com/questions/35587137/how-to-suppress-gcc-variadic-macro-argument-warning-for-zero-arguments-for-a-par
-// TODO: try to make macros standard-compliant.
-#pragma GCC system_header
-#endif
-
-#ifndef __cplusplus
-#define static_assert _Static_assert
-#endif
-
-#define UNUSED(x) (void)(x)
-
-//-------------------------------------------------------
-// Re-enabled ability to compile out all macros...
-// However, currently still need to keep all macros until
-// final review of all macros is complete.
-//-------------------------------------------------------
-
-#define AZAC_CONFIG_TRACE_INCLUDE_DBG_WITH_ALL 1
-
-#ifdef AZAC_CONFIG_TRACE_INCLUDE_DBG_WITH_ALL
-#if defined(AZAC_CONFIG_TRACE_ALL) && !defined(AZAC_CONFIG_DBG_TRACE_ALL) && (!defined(DEBUG) || !defined(_DEBUG))
-#define AZAC_CONFIG_DBG_TRACE_ALL 1
-#endif
-#endif
-
-//-------------------------------------------------------
-// AZAC_ and AZAC_DBG_ macro configuration
-//-------------------------------------------------------
-
-#ifdef AZAC_CONFIG_DBG_TRACE_ALL
-#define AZAC_CONFIG_DBG_TRACE_VERBOSE 1
-#define AZAC_CONFIG_DBG_TRACE_INFO 1
-#define AZAC_CONFIG_DBG_TRACE_WARNING 1
-#define AZAC_CONFIG_DBG_TRACE_ERROR 1
-#define AZAC_CONFIG_DBG_TRACE_FUNCTION 1
-#define AZAC_CONFIG_DBG_TRACE_SCOPE 1
-#define AZAC_CONFIG_DBG_TRACE_ASSERT 1
-#define AZAC_CONFIG_DBG_TRACE_VERIFY 1
-#ifndef AZAC_CONFIG_TRACE_ALL
-#define AZAC_CONFIG_TRACE_ALL 1
-#endif
-#endif
-
-#ifdef AZAC_CONFIG_TRACE_ALL
-#define AZAC_CONFIG_TRACE_VERBOSE 1
-#define AZAC_CONFIG_TRACE_INFO 1
-#define AZAC_CONFIG_TRACE_WARNING 1
-#define AZAC_CONFIG_TRACE_ERROR 1
-#define AZAC_CONFIG_TRACE_FUNCTION 1
-#define AZAC_CONFIG_TRACE_SCOPE 1
-#define AZAC_CONFIG_TRACE_THROW_ON_FAIL 1
-#define AZAC_CONFIG_TRACE_REPORT_ON_FAIL 1
-#define AZAC_CONFIG_TRACE_RETURN_ON_FAIL 1
-#define AZAC_CONFIG_TRACE_EXITFN_ON_FAIL 1
-#endif
-
-//-----------------------------------------------------------
-// AZAC_TRACE macro common implementations
-//-----------------------------------------------------------
-
-#define __AZAC_TRACE_LEVEL_INFO 0x08 // Trace_Info
-#define __AZAC_TRACE_LEVEL_WARNING 0x04 // Trace_Warning
-#define __AZAC_TRACE_LEVEL_ERROR 0x02 // Trace_Error
-#define __AZAC_TRACE_LEVEL_VERBOSE 0x10 // Trace_Verbose
-
-#ifndef __AZAC_DO_TRACE_IMPL
-#ifdef __cplusplus
-#include
-#include
-#include
-#include
-inline void __azac_do_trace_message(int level, const char* pszTitle, const char* fileName, const int lineNumber, const char* pszFormat, ...) throw()
-{
- UNUSED(level);
-
- bool logToConsole = false;
-#if defined(DEBUG) || defined(_DEBUG)
- logToConsole = true;
-#endif
-
- if (!logToConsole)
- {
- return;
- }
-
- try
- {
- va_list argptr;
- va_start(argptr, pszFormat);
-
- std::string format;
- while (*pszFormat == '\n' || *pszFormat == '\r')
- {
- if (*pszFormat == '\r')
- {
- pszTitle = nullptr;
- }
-
- format += *pszFormat++;
- }
-
- if (pszTitle != nullptr)
- {
- format += pszTitle;
- }
-
- std::string fileNameOnly(fileName);
- std::replace(fileNameOnly.begin(), fileNameOnly.end(), '\\', '/');
-
- std::string fileNameLineNumber = " " + fileNameOnly.substr(fileNameOnly.find_last_of('/', std::string::npos) + 1) + ":" + std::to_string(lineNumber) + " ";
-
- format += fileNameLineNumber;
-
- format += pszFormat;
-
- if (format.length() < 1 || format[format.length() - 1] != '\n')
- {
- format += "\n";
- }
-
- vfprintf(stderr, format.c_str(), argptr);
-
- va_end(argptr);
- }
- catch(...)
- {
- }
-}
-#define __AZAC_DO_TRACE_IMPL __azac_do_trace_message
-#else // __cplusplus
-#define __AZAC_DO_TRACE_IMPL
-#endif // __cplusplus
-#endif
-
-#define __AZAC_DOTRACE(level, title, fileName, lineNumber, ...) \
- do { \
- __AZAC_DO_TRACE_IMPL(level, title, fileName, lineNumber, ##__VA_ARGS__); \
- } while (0)
-
-#define __AZAC_TRACE_INFO(title, fileName, lineNumber, msg, ...) __AZAC_DOTRACE(__AZAC_TRACE_LEVEL_INFO, title, fileName, lineNumber, msg, ##__VA_ARGS__)
-#define __AZAC_TRACE_INFO_IF(cond, title, fileName, lineNumber, msg, ...) \
- do { \
- int fCond = !!(cond); \
- if (fCond) { \
- __AZAC_TRACE_INFO(title, fileName, lineNumber, msg, ##__VA_ARGS__); \
- } } while (0)
-
-#define __AZAC_TRACE_WARNING(title, fileName, lineNumber, msg, ...) __AZAC_DOTRACE(__AZAC_TRACE_LEVEL_WARNING, title, fileName, lineNumber, msg, ##__VA_ARGS__)
-#define __AZAC_TRACE_WARNING_IF(cond, title, fileName, lineNumber, msg, ...) \
- do { \
- int fCond = !!(cond); \
- if (fCond) { \
- __AZAC_TRACE_WARNING(title, fileName, lineNumber, msg, ##__VA_ARGS__); \
- } } while (0)
-
-#define __AZAC_TRACE_ERROR(title, fileName, lineNumber, msg, ...) __AZAC_DOTRACE(__AZAC_TRACE_LEVEL_ERROR, title, fileName, lineNumber, msg, ##__VA_ARGS__)
-#define __AZAC_TRACE_ERROR_IF(cond, title, fileName, lineNumber, msg, ...) \
- do { \
- int fCond = !!(cond); \
- if (fCond) { \
- __AZAC_TRACE_ERROR(title, fileName, lineNumber, msg, ##__VA_ARGS__); \
- } } while (0)
-
-#define __AZAC_TRACE_VERBOSE(title, fileName, lineNumber, msg, ...) __AZAC_DOTRACE(__AZAC_TRACE_LEVEL_VERBOSE, title, fileName, lineNumber, msg, ##__VA_ARGS__)
-#define __AZAC_TRACE_VERBOSE_IF(cond, title, fileName, lineNumber, msg, ...) \
- do { \
- int fCond = !!(cond); \
- if (fCond) { \
- __AZAC_TRACE_VERBOSE(title, fileName, lineNumber, msg, ##__VA_ARGS__); \
- } } while (0)
-
-#define ___AZAC_EXPR_AS_STRING(_String) "" #_String
-#define __AZAC_EXPR_AS_STRING(_String) ___AZAC_EXPR_AS_STRING(_String)
-
-#define __AZAC_TRACE_HR(title, fileName, lineNumber, hr, x) __AZAC_TRACE_ERROR(title, fileName, lineNumber, __AZAC_EXPR_AS_STRING(hr) " = 0x%0" PRIxPTR, x)
-
-#define __AZAC_REPORT_ON_FAIL(title, fileName, lineNumber, hr) \
- do { \
- AZACHR x = hr; \
- if (AZAC_FAILED(x)) { \
- __AZAC_TRACE_HR(title, fileName, lineNumber, hr, x); \
- } } while (0)
-#define __AZAC_REPORT_ON_FAIL_IFNOT(title, fileName, lineNumber, hr, hrNot) \
- do { \
- AZACHR x = hr; \
- if (x != hrNot) { \
- if (AZAC_FAILED(x)) { \
- __AZAC_TRACE_HR(title, fileName, lineNumber, hr, x); \
- } } } while (0)
-
-#define __AZAC_T_RETURN_HR(title, fileName, lineNumber, hr) \
- do { \
- AZACHR x = hr; \
- if (AZAC_FAILED(x)) { \
- __AZAC_TRACE_HR(title, fileName, lineNumber, hr, x); \
- } \
- return x; \
- } while (0)
-#define __AZAC_T_RETURN_HR_IF(title, fileName, lineNumber, hr, cond) \
- do { \
- int fCond = !!(cond); \
- if (fCond) { \
- AZACHR x = hr; \
- if (AZAC_FAILED(x)) { \
- __AZAC_TRACE_HR(title, fileName, lineNumber, hr, x); \
- } \
- return x; \
- } } while (0)
-#define __AZAC_T_RETURN_ON_FAIL(title, fileName, lineNumber, hr) \
- do { \
- AZACHR x = hr; \
- if (AZAC_FAILED(x)) { \
- __AZAC_TRACE_HR(title, fileName, lineNumber, hr, x); \
- return x; \
- } } while (0)
-#define __AZAC_T_RETURN_ON_FAIL_IF_NOT(title, fileName, lineNumber, hr, hrNot) \
- do { \
- AZACHR x = hr; \
- if (x != hrNot) { \
- if (AZAC_FAILED(x)) { \
- __AZAC_TRACE_HR(title, fileName, lineNumber, hr, x); \
- return x; \
- } } } while (0)
-#define __AZAC_RETURN_HR(hr) return hr
-#define __AZAC_RETURN_HR_IF(hr, cond) \
- do { \
- int fCond = !!(cond); \
- if (fCond) { \
- return hr; \
- } } while (0)
-#define __AZAC_RETURN_ON_FAIL(hr) \
- do { \
- AZACHR x = hr; \
- if (AZAC_FAILED(x)) { \
- return x; \
- } } while (0)
-#define __AZAC_RETURN_ON_FAIL_IF_NOT(hr, hrNot) \
- do { \
- AZACHR x = hr; \
- if (x != hrNot) { \
- if (AZAC_FAILED(x)) { \
- return x; \
- } } } while (0)
-
-#define __AZAC_T_EXITFN_HR(title, fileName, lineNumber, hr) \
- do { \
- AZACHR x = hr; \
- if (AZAC_FAILED(x)) { \
- __AZAC_TRACE_HR(title, fileName, lineNumber, hr, x); \
- } \
- goto AZAC_EXITFN_CLEANUP; \
- } while (0)
-#define __AZAC_T_EXITFN_HR_IF(title, fileName, lineNumber, hr, cond) \
- do { \
- int fCond = !!(cond); \
- if (fCond) { \
- AZACHR x = hr; \
- if (AZAC_FAILED(x)) { \
- __AZAC_TRACE_HR(title, fileName, lineNumber, hr, x); \
- } \
- goto AZAC_EXITFN_CLEANUP; \
- } } while (0)
-#define __AZAC_T_EXITFN_ON_FAIL(title, fileName, lineNumber, hr) \
- do { \
- AZACHR x = hr; \
- if (AZAC_FAILED(x)) { \
- __AZAC_TRACE_HR(title, fileName, lineNumber, hr, x); \
- goto AZAC_EXITFN_CLEANUP; \
- } } while (0)
-#define __AZAC_T_EXITFN_ON_FAIL_IF_NOT(title, fileName, lineNumber, hr, hrNot) \
- do { \
- AZACHR x = hr; \
- if (x != hrNot) { \
- if (AZAC_FAILED(x)) { \
- __AZAC_TRACE_HR(title, fileName, lineNumber, hr, x); \
- goto AZAC_EXITFN_CLEANUP; \
- } } } while (0)
-
-#define __AZAC_EXITFN_HR(hr) \
- do { \
- AZACHR x = hr; \
- goto AZAC_EXITFN_CLEANUP; \
- } while (0)
-#define __AZAC_EXITFN_HR_IF(hr, cond) \
- do { \
- int fCond = !!(cond); \
- if (fCond) { \
- AZACHR x = hr; \
- goto AZAC_EXITFN_CLEANUP; \
- } } while (0)
-#define __AZAC_EXITFN_ON_FAIL(hr) \
- do { \
- AZACHR x = hr; \
- if (AZAC_FAILED(x)) { \
- goto AZAC_EXITFN_CLEANUP; \
- } } while (0)
-#define __AZAC_EXITFN_ON_FAIL_IF_NOT(hr, hrNot) \
- do { \
- AZACHR x = hr; \
- if (x != hrNot) { \
- if (AZAC_FAILED(x)) { \
- goto AZAC_EXITFN_CLEANUP; \
- } } } while (0)
-
-#define __AZAC_TRACE_ASSERT(title, fileName, lineNumber, expr) __AZAC_TRACE_ERROR(title, fileName, lineNumber, __AZAC_EXPR_AS_STRING(expr) " = false")
-#define __AZAC_TRACE_ASSERT_MSG(title, fileName, lineNumber, expr, ...) __AZAC_TRACE_ERROR(title, fileName, lineNumber, __AZAC_EXPR_AS_STRING(expr) " = false; " __VA_ARGS__)
-
-#define __AZAC_DBG_ASSERT(title, fileName, lineNumber, expr) \
- do { \
- int fCond = !!(expr); \
- if (!fCond) { \
- __AZAC_TRACE_ASSERT(title, fileName, lineNumber, expr); \
- abort(); \
- } } while (0)
-#define __AZAC_DBG_ASSERT_WITH_MESSAGE(title, fileName, lineNumber, expr, ...) \
- do { \
- int fCond = !!(expr); \
- if (!fCond) { \
- __AZAC_TRACE_ASSERT_MSG(title, fileName, lineNumber, expr, ##__VA_ARGS__); \
- abort(); \
- } } while (0)
-
-#define __AZAC_DBG_VERIFY(title, fileName, lineNumber, expr) \
- do { \
- int fCond = !!(expr); \
- if (!fCond) { \
- __AZAC_TRACE_ASSERT(title, fileName, lineNumber, expr); \
- abort(); \
- } } while (0)
-#define __AZAC_DBG_VERIFY_WITH_MESSAGE(title, fileName, lineNumber, expr, ...) \
- do { \
- int fCond = !!(expr); \
- if (!fCond) { \
- __AZAC_TRACE_ASSERT_MSG(title, fileName, lineNumber, expr, ##__VA_ARGS__); \
- abort(); \
- } } while (0)
-
-#ifdef __cplusplus
-
-#include
-#define __AZAC_TRACE_SCOPE(t1, fileName, lineNumber, t2, x, y) \
- __AZAC_TRACE_INFO(t1, fileName, lineNumber, "%s", x); \
- auto evaluateYInScopeInMacros##lineNumber = y; \
- auto leavingScopePrinterInMacros##lineNumber = [&evaluateYInScopeInMacros##lineNumber](int*) -> void { \
- __AZAC_TRACE_INFO(t2, fileName, lineNumber, "%s", evaluateYInScopeInMacros##lineNumber); \
- }; \
- std::unique_ptr onExit##lineNumber((int*)1, leavingScopePrinterInMacros##lineNumber)
-
-#ifndef __AZAC_THROW_HR_IMPL
-#define __AZAC_THROW_HR_IMPL(hr) __azac_rethrow(hr)
-#endif
-#ifndef __AZAC_THROW_HR
-#define __AZAC_THROW_HR(hr) __AZAC_THROW_HR_IMPL(hr)
-#endif
-
-#ifndef __AZAC_LOG_HR_IMPL
-#define __AZAC_LOG_HR_IMPL(hr) __azac_log_only(hr)
-#endif
-#ifndef __AZAC_LOG_HR
-#define __AZAC_LOG_HR(hr) __AZAC_LOG_HR_IMPL(hr)
-#endif
-
-#define __AZAC_T_LOG_ON_FAIL(title, fileName, lineNumber, hr) \
- do { \
- AZACHR x = hr; \
- if (AZAC_FAILED(x)) { \
- __AZAC_TRACE_HR(title, fileName, lineNumber, hr, x); \
- __AZAC_LOG_HR(x); \
- } } while (0)
-#define __AZAC_T_THROW_ON_FAIL(title, fileName, lineNumber, hr) \
- do { \
- AZACHR x = hr; \
- if (AZAC_FAILED(x)) { \
- __AZAC_TRACE_HR(title, fileName, lineNumber, hr, x); \
- __AZAC_THROW_HR(x); \
- } } while (0)
-#define __AZAC_T_THROW_ON_FAIL_IF_NOT(title, fileName, lineNumber, hr, hrNot) \
- do { \
- AZACHR x = hr; \
- if (x != hrNot) { \
- if (AZAC_FAILED(x)) { \
- __AZAC_TRACE_HR(title, fileName, lineNumber, hr, x); \
- __AZAC_THROW_HR(x); \
- } } } while (0)
-#define __AZAC_T_THROW_HR_IF(title, fileName, lineNumber, hr, cond) \
- do { \
- int fCond = !!(cond); \
- if (fCond) { \
- AZACHR x = hr; \
- __AZAC_TRACE_HR(title, fileName, lineNumber, hr, x); \
- __AZAC_THROW_HR(x); \
- } } while (0)
-#define __AZAC_T_THROW_HR(title, fileName, lineNumber, hr) \
- do { \
- AZACHR x = hr; \
- __AZAC_TRACE_HR(title, fileName, lineNumber, hr, x); \
- __AZAC_THROW_HR(x); \
- } while (0)
-
-
-#define __AZAC_LOG_ON_FAIL(hr) \
- do { \
- AZACHR x = hr; \
- if (AZAC_FAILED(x)) { \
- __AZAC_LOG_HR(x); \
- } } while (0)
-#define __AZAC_THROW_ON_FAIL(hr) \
- do { \
- AZACHR x = hr; \
- if (AZAC_FAILED(x)) { \
- __AZAC_THROW_HR(x); \
- } } while (0)
-#define __AZAC_THROW_ON_FAIL_IF_NOT(hr, hrNot) \
- do { \
- AZACHR x = hr; \
- if (x != hrNot) { \
- if (AZAC_FAILED(x)) { \
- __AZAC_THROW_HR(x); \
- } } } while (0)
-#define __AZAC_THROW_HR_IF(hr, cond) \
- do { \
- int fCond = !!(cond); \
- if (fCond) { \
- AZACHR x = hr; \
- __AZAC_THROW_HR(x); \
- } } while (0)
-
-#endif // __cplusplus
-
-
-
-//-------------------------------------------------------
-// AZAC_ macro definitions
-//-------------------------------------------------------
-
-#ifdef AZAC_CONFIG_TRACE_VERBOSE
-#define AZAC_TRACE_VERBOSE(msg, ...) __AZAC_TRACE_VERBOSE("AZAC_TRACE_VERBOSE: ", __FILE__, __LINE__, msg, ##__VA_ARGS__)
-#define AZAC_TRACE_VERBOSE_IF(cond, msg, ...) __AZAC_TRACE_VERBOSE_IF(cond, "AZAC_TRACE_VERBOSE: ", __FILE__, __LINE__, msg, ##__VA_ARGS__)
-#else
-#define AZAC_TRACE_VERBOSE(...)
-#define AZAC_TRACE_VERBOSE_IF(...)
-#endif
-
-#ifdef AZAC_CONFIG_DBG_TRACE_VERBOSE
-#define AZAC_DBG_TRACE_VERBOSE(msg, ...) __AZAC_TRACE_VERBOSE("AZAC_DBG_TRACE_VERBOSE: ", __FILE__, __LINE__, msg, ##__VA_ARGS__)
-#define AZAC_DBG_TRACE_VERBOSE_IF(cond, msg, ...) __AZAC_TRACE_VERBOSE_IF(cond, "AZAC_DBG_TRACE_VERBOSE: ", __FILE__, __LINE__, msg, ##__VA_ARGS__)
-#else
-#define AZAC_DBG_TRACE_VERBOSE(...)
-#define AZAC_DBG_TRACE_VERBOSE_IF(...)
-#endif
-
-#ifdef AZAC_CONFIG_TRACE_INFO
-#define AZAC_TRACE_INFO(msg, ...) __AZAC_TRACE_INFO("AZAC_TRACE_INFO: ", __FILE__, __LINE__, msg, ##__VA_ARGS__)
-#define AZAC_TRACE_INFO_IF(cond, msg, ...) __AZAC_TRACE_INFO_IF(cond, "AZAC_TRACE_INFO: ", __FILE__, __LINE__, msg, ##__VA_ARGS__)
-#else
-#define AZAC_TRACE_INFO(...)
-#define AZAC_TRACE_INFO_IF(...)
-#endif
-
-#ifdef AZAC_CONFIG_DBG_TRACE_INFO
-#define AZAC_DBG_TRACE_INFO(msg, ...) __AZAC_TRACE_INFO("AZAC_DBG_TRACE_INFO: ", __FILE__, __LINE__, msg, ##__VA_ARGS__)
-#define AZAC_DBG_TRACE_INFO_IF(cond, msg, ...) __AZAC_TRACE_INFO_IF(cond, "AZAC_DBG_TRACE_INFO: ", __FILE__, __LINE__, msg, ##__VA_ARGS__)
-#else
-#define AZAC_DBG_TRACE_INFO(...)
-#define AZAC_DBG_TRACE_INFO_IF(...)
-#endif
-
-#ifdef AZAC_CONFIG_TRACE_WARNING
-#define AZAC_TRACE_WARNING(msg, ...) __AZAC_TRACE_WARNING("AZAC_TRACE_WARNING:", __FILE__, __LINE__, msg, ##__VA_ARGS__)
-#define AZAC_TRACE_WARNING_IF(cond, msg, ...) __AZAC_TRACE_WARNING_IF(cond, "AZAC_TRACE_WARNING:", __FILE__, __LINE__, msg, ##__VA_ARGS__)
-#else
-#define AZAC_TRACE_WARNING(...)
-#define AZAC_TRACE_WARNING_IF(...)
-#endif
-
-#ifdef AZAC_CONFIG_DBG_TRACE_WARNING
-#define AZAC_DBG_TRACE_WARNING(msg, ...) __AZAC_TRACE_WARNING("AZAC_DBG_TRACE_WARNING:", __FILE__, __LINE__, msg, ##__VA_ARGS__)
-#define AZAC_DBG_TRACE_WARNING_IF(cond, msg, ...) __AZAC_TRACE_WARNING_IF(cond, "AZAC_DBG_TRACE_WARNING:", __FILE__, __LINE__, msg, ##__VA_ARGS__)
-#else
-#define AZAC_DBG_TRACE_WARNING(...)
-#define AZAC_DBG_TRACE_WARNING_IF(...)
-#endif
-
-#ifdef AZAC_CONFIG_TRACE_ERROR
-#define AZAC_TRACE_ERROR(msg, ...) __AZAC_TRACE_ERROR("AZAC_TRACE_ERROR: ", __FILE__, __LINE__, msg, ##__VA_ARGS__)
-#define AZAC_TRACE_ERROR_IF(cond, msg, ...) __AZAC_TRACE_ERROR_IF(cond, "AZAC_TRACE_ERROR: ", __FILE__, __LINE__, msg, ##__VA_ARGS__)
-#else
-#define AZAC_TRACE_ERROR(...)
-#define AZAC_TRACE_ERROR_IF(...)
-#endif
-
-#ifdef AZAC_CONFIG_DBG_TRACE_ERROR
-#define AZAC_DBG_TRACE_ERROR(msg, ...) __AZAC_TRACE_ERROR("AZAC_DBG_TRACE_ERROR: ", __FILE__, __LINE__, msg, ##__VA_ARGS__)
-#define AZAC_DBG_TRACE_ERROR_IF(cond, msg, ...) __AZAC_TRACE_ERROR_IF(cond, "AZAC_DBG_TRACE_ERROR: ", __FILE__, __LINE__, msg, ##__VA_ARGS__)
-#else
-#define AZAC_DBG_TRACE_ERROR(...)
-#define AZAC_DBG_TRACE_ERROR_IF(...)
-#endif
-
-#ifdef AZAC_CONFIG_TRACE_FUNCTION
-#define AZAC_TRACE_FUNCTION(...) __AZAC_TRACE_VERBOSE("AZAC_TRACE_FUNCTION: ", __FILE__, __LINE__, __FUNCTION__)
-#else
-#define AZAC_TRACE_FUNCTION(...)
-#endif
-
-#ifdef AZAC_CONFIG_DBG_TRACE_FUNCTION
-#define AZAC_DBG_TRACE_FUNCTION(...) __AZAC_TRACE_VERBOSE("AZAC_DBG_TRACE_FUNCTION: ", __FILE__, __LINE__, __FUNCTION__)
-#else
-#define AZAC_DBG_TRACE_FUNCTION(...)
-#endif
-
-#ifdef AZAC_CONFIG_TRACE_REPORT_ON_FAIL
-#define AZAC_REPORT_ON_FAIL(hr) __AZAC_REPORT_ON_FAIL("AZAC_REPORT_ON_FAIL: ", __FILE__, __LINE__, hr)
-#define AZAC_REPORT_ON_FAIL_IFNOT(hr, hrNot) __AZAC_REPORT_ON_FAIL_IFNOT("AZAC_REPORT_ON_FAIL: ", __FILE__, __LINE__, hr, hrNot)
-#else
-#define AZAC_REPORT_ON_FAIL(hr) UNUSED(hr)
-#define AZAC_REPORT_ON_FAIL_IFNOT(hr, hrNot) UNUSED(hr); UNUSED(hrNot)
-#endif
-
-#ifdef AZAC_CONFIG_TRACE_RETURN_ON_FAIL
-#define AZAC_RETURN_HR(hr) __AZAC_T_RETURN_HR("AZAC_RETURN_ON_FAIL: ", __FILE__, __LINE__, hr)
-#define AZAC_RETURN_HR_IF(hr, cond) __AZAC_T_RETURN_HR_IF("AZAC_RETURN_ON_FAIL: ", __FILE__, __LINE__, hr, cond)
-#define AZAC_RETURN_ON_FAIL(hr) __AZAC_T_RETURN_ON_FAIL("AZAC_RETURN_ON_FAIL: ", __FILE__, __LINE__, hr)
-#define AZAC_RETURN_ON_FAIL_IF_NOT(hr, hrNot) __AZAC_T_RETURN_ON_FAIL_IF_NOT("AZAC_RETURN_ON_FAIL: ", __FILE__, __LINE__, hr, hrNot)
-#else
-#define AZAC_RETURN_HR(hr) __AZAC_RETURN_HR(hr)
-#define AZAC_RETURN_HR_IF(hr, cond) __AZAC_RETURN_HR_IF(hr, cond)
-#define AZAC_RETURN_ON_FAIL(hr) __AZAC_RETURN_ON_FAIL(hr)
-#define AZAC_RETURN_ON_FAIL_IF_NOT(hr, hrNot) __AZAC_RETURN_ON_FAIL_IF_NOT(hr, hrNot)
-#endif
-
-#define AZAC_IFTRUE_RETURN_HR(cond, hr) AZAC_RETURN_HR_IF(hr, cond)
-#define AZAC_IFFALSE_RETURN_HR(cond, hr) AZAC_RETURN_HR_IF(hr, !(cond))
-#define AZAC_IFFAILED_RETURN_HR(hr) AZAC_RETURN_ON_FAIL(hr)
-#define AZAC_IFFAILED_RETURN_HR_IFNOT(hr, hrNot) AZAC_RETURN_ON_FAIL_IF_NOT(hr, hrNot)
-
-#ifdef AZAC_CONFIG_TRACE_EXITFN_ON_FAIL
-#define AZAC_EXITFN_HR(hr) __AZAC_T_EXITFN_HR("AZAC_EXITFN_ON_FAIL: ", __FILE__, __LINE__, hr)
-#define AZAC_EXITFN_HR_IF(hr, cond) __AZAC_T_EXITFN_HR_IF("AZAC_EXITFN_ON_FAIL: ", __FILE__, __LINE__, hr, cond)
-#define AZAC_EXITFN_ON_FAIL(hr) __AZAC_T_EXITFN_ON_FAIL("AZAC_EXITFN_ON_FAIL: ", __FILE__, __LINE__, hr)
-#define AZAC_EXITFN_ON_FAIL_IF_NOT(hr, hrNot) __AZAC_EXITFN_ON_FAIL_IF_NOT("AZAC_EXITFN_ON_FAIL: ", __FILE__, __LINE__, hr, hrNot)
-#else
-#define AZAC_EXITFN_HR(hr) __AZAC_EXITFN_HR(hr)
-#define AZAC_EXITFN_HR_IF(hr, cond) __AZAC_EXITFN_HR_IF(hr, cond)
-#define AZAC_EXITFN_ON_FAIL(hr) __AZAC_EXITFN_ON_FAIL(hr)
-#define AZAC_EXITFN_ON_FAIL_IF_NOT(hr, hrNot) __AZAC_EXITFN_ON_FAIL_IF_NOT(hr, hrNot)
-#endif
-
-#define AZAC_IFTRUE_EXITFN_WHR(cond, hr) AZAC_EXITFN_HR_IF(hr, cond)
-#define AZAC_IFFALSE_EXITFN_WHR(cond, hr) AZAC_EXITFN_HR_IF(hr, !(cond))
-#define AZAC_IFFAILED_EXITFN_WHR(hr) AZAC_EXITFN_ON_FAIL(hr)
-#define AZAC_IFFAILED_EXITFN_WHR_IFNOT(hr, hrNot) AZAC_EXITFN_ON_FAIL_IF_NOT(hr, hrNot)
-
-#define AZAC_IFTRUE_EXITFN_CLEANUP(cond, expr) \
- do { \
- int fCondT = !!(cond); \
- if (fCondT) { \
- expr; \
- goto AZAC_EXITFN_CLEANUP; \
- } } while (0)
-
-#define AZAC_IFFALSE_EXITFN_CLEANUP(cond, expr) \
- do { \
- int fCondF = !!(cond); \
- if (!fCondF) { \
- expr; \
- goto AZAC_EXITFN_CLEANUP; \
- } } while (0)
-
-#if defined(AZAC_CONFIG_DBG_TRACE_ASSERT) && (defined(DEBUG) || defined(_DEBUG))
-#define AZAC_DBG_ASSERT(expr) __AZAC_DBG_ASSERT("AZAC_ASSERT: ", __FILE__, __LINE__, expr)
-#define AZAC_DBG_ASSERT_WITH_MESSAGE(expr, ...) __AZAC_DBG_ASSERT_WITH_MESSAGE("AZAC_ASSERT: ", __FILE__, __LINE__, expr, ##__VA_ARGS__)
-#else
-#define AZAC_DBG_ASSERT(expr)
-#define AZAC_DBG_ASSERT_WITH_MESSAGE(expr, ...)
-#endif
-
-#if defined(AZAC_CONFIG_DBG_TRACE_VERIFY) && (defined(DEBUG) || defined(_DEBUG))
-#define AZAC_DBG_VERIFY(expr) __AZAC_DBG_VERIFY("AZAC_VERIFY: ", __FILE__, __LINE__, expr)
-#define AZAC_DBG_VERIFY_WITH_MESSAGE(expr, ...) __AZAC_DBG_VERIFY_WITH_MESSAGE("AZAC_VERIFY: ", __FILE__, __LINE__, expr, ##__VA_ARGS__)
-#else
-#define AZAC_DBG_VERIFY(expr) (expr)
-#define AZAC_DBG_VERIFY_WITH_MESSAGE(expr, ...) (expr)
-#endif
-
-#define AZAC_IFTRUE(cond, expr) \
- do { \
- int fCondT = !!(cond); \
- if (fCondT) { \
- expr; \
- } } while (0)
-
-#define AZAC_IFFALSE(cond, expr) \
- do { \
- int fCondF = !!(cond); \
- if (!fCondF) { \
- expr; \
- } } while (0)
-
-// handle circular dependency
-#ifndef AZAC_SUPPRESS_COMMON_INCLUDE_FROM_DEBUG
-#define AZAC_SUPPRESS_DEBUG_INCLUDE_FROM_COMMON
-#include "azac_api_c_common.h"
-#undef AZAC_SUPPRESS_DEBUG_INCLUDE_FROM_COMMON
-#endif
-
-#ifdef __cplusplus
-
-#ifdef AZAC_CONFIG_TRACE_SCOPE
-#define AZAC_TRACE_SCOPE(x, y) __AZAC_TRACE_SCOPE("AZAC_TRACE_SCOPE_ENTER: ", __FILE__, __LINE__, "AZAC_TRACE_SCOPE_EXIT: ", x, y)
-#else
-#define AZAC_TRACE_SCOPE(x, y)
-#endif
-
-#ifdef AZAC_CONFIG_DBG_TRACE_SCOPE
-#define AZAC_DBG_TRACE_SCOPE(x, y) __AZAC_TRACE_SCOPE("AZAC_DBG_TRACE_SCOPE_ENTER: ", __FILE__, __LINE__, "AZAC_DBG_TRACE_SCOPE_EXIT: ", x, y)
-#else
-#define AZAC_DBG_TRACE_SCOPE(x, y)
-#endif
-
-#ifdef AZAC_CONFIG_TRACE_THROW_ON_FAIL
-#define AZAC_THROW_ON_FAIL(hr) __AZAC_T_THROW_ON_FAIL("AZAC_THROW_ON_FAIL: ", __FILE__, __LINE__, hr)
-#define AZAC_THROW_ON_FAIL_IF_NOT(hr, hrNot) __AZAC_T_THROW_ON_FAIL_IF_NOT("AZAC_THROW_ON_FAIL: ", __FILE__, __LINE__, hr, hrNot)
-#define AZAC_LOG_ON_FAIL(hr) __AZAC_T_LOG_ON_FAIL("AZAC_LOG_ON_FAIL: ", __FILE__, __LINE__, hr)
-#define AZAC_THROW_HR_IF(hr, cond) __AZAC_T_THROW_HR_IF("AZAC_THROW_HR_IF: ", __FILE__, __LINE__, hr, cond)
-#define AZAC_THROW_HR(hr) __AZAC_T_THROW_HR("AZAC_THROW_HR: ", __FILE__, __LINE__, hr)
-#else
-#define AZAC_THROW_ON_FAIL(hr) __AZAC_THROW_ON_FAIL(hr)
-#define AZAC_THROW_ON_FAIL_IF_NOT(hr, hrNot) __AZAC_THROW_ON_FAIL_IF_NOT(hr, hrNot)
-#define AZAC_LOG_ON_FAIL(hr) __AZAC_LOG_ON_FAIL(hr)
-#define AZAC_THROW_HR_IF(hr, cond) __AZAC_THROW_HR_IF(hr, cond)
-#define AZAC_THROW_HR(hr) __AZAC_THROW_HR(hr)
-#endif
-
-#define AZAC_IFTRUE_THROW_HR(cond, hr) AZAC_THROW_HR_IF(hr, cond)
-#define AZAC_IFFALSE_THROW_HR(cond, hr) AZAC_THROW_HR_IF(hr, !(cond))
-#define AZAC_IFFAILED_THROW_HR(hr) AZAC_THROW_ON_FAIL(hr)
-#define AZAC_IFFAILED_THROW_HR_IFNOT(hr, hrNot) AZAC_THROW_ON_FAIL_IF_NOT(hr, hrNot)
-
-#include "azac_api_c_error.h"
-#include "azac_api_c_diagnostics.h"
-#include
-#include
-
-inline void __azac_handle_native_ex(AZACHR hr, bool throwException)
-{
- AZAC_TRACE_SCOPE(__FUNCTION__, __FUNCTION__);
-
- auto handle = reinterpret_cast(hr);
- auto error = error_get_error_code(handle);
- if (error == AZAC_ERR_NONE)
- {
- if (throwException)
- {
- throw hr;
- }
- else
- {
- // do nothing. This is already logged by the macros that call this function
- return;
- }
- }
-
- std::string errorMsg;
- try
- {
- auto callstack = error_get_call_stack(handle);
- auto what = error_get_message(handle);
-
- if (what)
- {
- errorMsg += what;
- }
- else
- {
- errorMsg += "Exception with error code: ";
- errorMsg += std::to_string(error);
- }
-
- if (callstack)
- {
- errorMsg += callstack;
- }
- }
- catch (...)
- {
- error_release(handle);
- throw hr;
- }
-
- error_release(handle);
- if (throwException)
- {
- throw std::runtime_error(errorMsg);
- }
- else
- {
- AZAC_TRACE_ERROR("Error details: %s", errorMsg.c_str());
- }
-}
-
-inline void __azac_log_only(AZACHR hr)
-{
- __azac_handle_native_ex(hr, false);
-}
-
-inline void __azac_rethrow(AZACHR hr)
-{
- __azac_handle_native_ex(hr, true);
-}
-
-#else // __cplusplus
-
-#define AZAC_TRACE_SCOPE(x, y) static_assert(false)
-#define AZAC_DBG_TRACE_SCOPE(x, y) static_assert(false)
-#define AZAC_LOG_ON_FAIL(hr) static_assert(false)
-#define AZAC_THROW_ON_FAIL(hr) static_assert(false)
-#define AZAC_THROW_ON_FAIL_IF_NOT(hr, hrNot) static_assert(false)
-#define AZAC_THROW_HR_IF(hr, cond) static_assert(false)
-#define AZAC_THROW_HR(hr) static_assert(false)
-#define AZAC_IFTRUE_THROW_HR(cond, hr) static_assert(false)
-#define AZAC_IFFALSE_THROW_HR(cond, hr) static_assert(false)
-#define AZAC_IFFAILED_THROW_HR(hr) static_assert(false)
-#define AZAC_IFFAILED_THROW_HR_IFNOT(hr, hrNot) static_assert(false)
-
-#endif // __cplusplus
-
-//---------------------------------------------------------------------------
-
-#ifdef __AZAC_DEBUG_H_EXAMPLES_IN_MAIN
-
-void main()
-{
- int x = 4;
- printf("%s = %d\n", __AZAC_EXPR_AS_STRING(x + 3), x + 3);
-
- AZAC_TRACE_INFO("hello there");
- AZAC_TRACE_ERROR("hello there");
- AZAC_TRACE_WARNING("hello there");
- AZAC_TRACE_VERBOSE("hello there");
-
- AZAC_TRACE_INFO("hello there %d", 5);
- AZAC_TRACE_ERROR("hello there %d", 5);
- AZAC_TRACE_WARNING("hello there %d", 5);
- AZAC_TRACE_VERBOSE("hello there %d", 5);
-
- AZAC_TRACE_INFO_IF(false, "hello there false");
- AZAC_TRACE_ERROR_IF(false, "hello there false");
- AZAC_TRACE_WARNING_IF(false, "hello there false");
- AZAC_TRACE_VERBOSE_IF(false, "hello there false");
-
- AZAC_TRACE_INFO_IF(false, "hello there false %d", 5);
- AZAC_TRACE_ERROR_IF(false, "hello there false %d", 5);
- AZAC_TRACE_WARNING_IF(false, "hello there false %d", 5);
- AZAC_TRACE_VERBOSE_IF(false, "hello there false %d", 5);
-
- AZAC_TRACE_INFO_IF(true, "hello there true");
- AZAC_TRACE_ERROR_IF(true, "hello there true");
- AZAC_TRACE_WARNING_IF(true, "hello there true");
- AZAC_TRACE_VERBOSE_IF(true, "hello there true");
-
- AZAC_TRACE_INFO_IF(true, "hello there true %d", 5);
- AZAC_TRACE_ERROR_IF(true, "hello there true %d", 5);
- AZAC_TRACE_WARNING_IF(true, "hello there true %d", 5);
- AZAC_TRACE_VERBOSE_IF(true, "hello there true %d", 5);
-
- AZAC_DBG_TRACE_INFO("hello there");
- AZAC_DBG_TRACE_ERROR("hello there");
- AZAC_DBG_TRACE_WARNING("hello there");
- AZAC_DBG_TRACE_VERBOSE("hello there");
-
- AZAC_DBG_TRACE_INFO("hello there %d", 5);
- AZAC_DBG_TRACE_ERROR("hello there %d", 5);
- AZAC_DBG_TRACE_WARNING("hello there %d", 5);
- AZAC_DBG_TRACE_VERBOSE("hello there %d", 5);
-
- AZAC_DBG_TRACE_INFO_IF(false, "hello there false");
- AZAC_DBG_TRACE_ERROR_IF(false, "hello there false");
- AZAC_DBG_TRACE_WARNING_IF(false, "hello there false");
- AZAC_DBG_TRACE_VERBOSE_IF(false, "hello there false");
-
- AZAC_DBG_TRACE_INFO_IF(false, "hello there false %d", 5);
- AZAC_DBG_TRACE_ERROR_IF(false, "hello there false %d", 5);
- AZAC_DBG_TRACE_WARNING_IF(false, "hello there false %d", 5);
- AZAC_DBG_TRACE_VERBOSE_IF(false, "hello there false %d", 5);
-
- AZAC_DBG_TRACE_INFO_IF(true, "hello there true");
- AZAC_DBG_TRACE_ERROR_IF(true, "hello there true");
- AZAC_DBG_TRACE_WARNING_IF(true, "hello there true");
- AZAC_DBG_TRACE_VERBOSE_IF(true, "hello there true");
-
- AZAC_DBG_TRACE_INFO_IF(true, "hello there true %d", 5);
- AZAC_DBG_TRACE_ERROR_IF(true, "hello there true %d", 5);
- AZAC_DBG_TRACE_WARNING_IF(true, "hello there true %d", 5);
- AZAC_DBG_TRACE_VERBOSE_IF(true, "hello there true %d", 5);
-
- AZAC_TRACE_SCOPE("A", "B");
-
- AZAC_TRACE_FUNCTION();
- AZAC_DBG_TRACE_FUNCTION();
-
- AZAC_DBG_ASSERT(false);
- AZAC_DBG_ASSERT(true);
-
- AZAC_DBG_ASSERT_WITH_MESSAGE(false, "HEY!");
- AZAC_DBG_ASSERT_WITH_MESSAGE(true, "HEY!!");
-
- AZAC_DBG_VERIFY(false);
- AZAC_DBG_VERIFY(true);
-
- AZAC_DBG_VERIFY_WITH_MESSAGE(false, "HEY!");
- AZAC_DBG_VERIFY_WITH_MESSAGE(true, "HEY!!");
-
- AZACHR hr1 { 0x80001111 };
- AZACHR hr2 { 0x00001111 };
-
- AZAC_TRACE_VERBOSE("Testing out AZAC_REPORT_ON_FAIL, should see two failures...");
- AZAC_REPORT_ON_FAIL(hr1);
- AZAC_REPORT_ON_FAIL_IFNOT(hr1, 0x80001000);
- AZAC_TRACE_VERBOSE("Testing out AZAC_REPORT_ON_FAIL, should see two failures... Done!");
-
- AZAC_TRACE_VERBOSE("Testing out AZAC_REPORT_ON_FAIL, should see zero failures...");
- AZAC_REPORT_ON_FAIL(hr2);
- AZAC_REPORT_ON_FAIL_IFNOT(hr1, 0x80001111);
- AZAC_REPORT_ON_FAIL_IFNOT(hr2, 0x80001111);
- AZAC_REPORT_ON_FAIL_IFNOT(hr2, 0x80001000);
- AZAC_TRACE_VERBOSE("Testing out AZAC_REPORT_ON_FAIL, should see zero failures... Done!");
-}
-
-#endif
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/azac_error.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/azac_error.h
deleted file mode 100644
index 40799f7..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/azac_error.h
+++ /dev/null
@@ -1,483 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/azai/license202106 for the full license information.
-
-#pragma once
-
-#include
-
-///
-/// Type definition for Azure AI Core result codes.
-///
-typedef uintptr_t AZACHR;
-
-///
-/// Default result code indicating no error.
-///
-#define AZAC_ERR_NONE 0
-
-///
-/// Declare and initialize result code variable.
-///
-#define AZAC_INIT_HR(hr) AZACHR hr = AZAC_ERR_NONE; \
- (void)(hr)
-
-///
-/// Check if result code indicates success.
-///
-#define AZAC_SUCCEEDED(x) ((x) == AZAC_ERR_NONE)
-
-///
-/// Check if result code indicates error.
-///
-#define AZAC_FAILED(x) (!AZAC_SUCCEEDED(x))
-
-///
-/// Base macros for all error codes.
-///
-#define __AZAC_ERRCODE_FAILED(x) (x)
-
-///
-/// The function is not implemented.
-///
-#define AZAC_ERR_NOT_IMPL __AZAC_ERRCODE_FAILED(0xfff)
-
-///
-/// The object has not been properly initialized.
-///
-#define AZAC_ERR_UNINITIALIZED __AZAC_ERRCODE_FAILED(0x001)
-
-///
-/// The object has already been initialized.
-///
-#define AZAC_ERR_ALREADY_INITIALIZED __AZAC_ERRCODE_FAILED(0x002)
-
-///
-/// An unhandled exception was detected.
-///
-#define AZAC_ERR_UNHANDLED_EXCEPTION __AZAC_ERRCODE_FAILED(0x003)
-
-///
-/// The object or property was not found.
-///
-#define AZAC_ERR_NOT_FOUND __AZAC_ERRCODE_FAILED(0x004)
-
-///
-/// One or more arguments are not valid.
-///
-#define AZAC_ERR_INVALID_ARG __AZAC_ERRCODE_FAILED(0x005)
-
-///
-/// The specified timeout value has elapsed.
-///
-#define AZAC_ERR_TIMEOUT __AZAC_ERRCODE_FAILED(0x006)
-
-///
-/// The asynchronous operation is already in progress.
-///
-#define AZAC_ERR_ALREADY_IN_PROGRESS __AZAC_ERRCODE_FAILED(0x007)
-
-///
-/// The attempt to open the file failed.
-///
-#define AZAC_ERR_FILE_OPEN_FAILED __AZAC_ERRCODE_FAILED(0x008)
-
-///
-/// The end of the file was reached unexpectedly.
-///
-#define AZAC_ERR_UNEXPECTED_EOF __AZAC_ERRCODE_FAILED(0x009)
-
-///
-/// Invalid audio header encountered.
-///
-#define AZAC_ERR_INVALID_HEADER __AZAC_ERRCODE_FAILED(0x00a)
-
-///
-/// The requested operation cannot be performed while audio is pumping
-///
-#define AZAC_ERR_AUDIO_IS_PUMPING __AZAC_ERRCODE_FAILED(0x00b)
-
-///
-/// Unsupported audio format.
-///
-#define AZAC_ERR_UNSUPPORTED_FORMAT __AZAC_ERRCODE_FAILED(0x00c)
-
-///
-/// Operation aborted.
-///
-#define AZAC_ERR_ABORT __AZAC_ERRCODE_FAILED(0x00d)
-
-///
-/// Microphone is not available.
-///
-#define AZAC_ERR_MIC_NOT_AVAILABLE __AZAC_ERRCODE_FAILED(0x00e)
-
-///
-/// An invalid state was encountered.
-///
-#define AZAC_ERR_INVALID_STATE __AZAC_ERRCODE_FAILED(0x00f)
-
-///
-/// Attempting to create a UUID failed.
-///
-#define AZAC_ERR_UUID_CREATE_FAILED __AZAC_ERRCODE_FAILED(0x010)
-
-///
-/// An unexpected session state transition was encountered when setting the session audio format.
-///
-///
-/// Valid transitions are:
-/// * WaitForPumpSetFormatStart --> ProcessingAudio (at the beginning of stream)
-/// * StoppingPump --> WaitForAdapterCompletedSetFormatStop (at the end of stream)
-/// * ProcessingAudio --> WaitForAdapterCompletedSetFormatStop (when the stream runs out of data)
-/// All other state transitions are invalid.
-///
-#define AZAC_ERR_SETFORMAT_UNEXPECTED_STATE_TRANSITION __AZAC_ERRCODE_FAILED(0x011)
-
-///
-/// An unexpected session state was encountered in while processing audio.
-///
-///
-/// Valid states to encounter are:
-/// * ProcessingAudio: We're allowed to process audio while in this state.
-/// * StoppingPump: We're allowed to be called to process audio, but we'll ignore the data passed in while we're attempting to stop the pump.
-/// All other states are invalid while processing audio.
-///
-#define AZAC_ERR_PROCESS_AUDIO_INVALID_STATE __AZAC_ERRCODE_FAILED(0x012)
-
-///
-/// An unexpected state transition was encountered while attempting to start recognizing.
-///
-///
-/// A valid transition is:
-/// * Idle --> WaitForPumpSetFormatStart
-/// All other state transitions are invalid when attempting to start recognizing
-///
-#define AZAC_ERR_START_RECOGNIZING_INVALID_STATE_TRANSITION __AZAC_ERRCODE_FAILED(0x013)
-
-///
-/// An unexpected error was encountered when trying to create an internal object.
-///
-#define AZAC_ERR_UNEXPECTED_CREATE_OBJECT_FAILURE __AZAC_ERRCODE_FAILED(0x014)
-
-///
-/// An error in the audio-capturing system.
-///
-#define AZAC_ERR_MIC_ERROR __AZAC_ERRCODE_FAILED(0x015)
-
-///
-/// The requested operation cannot be performed; there is no audio input.
-///
-#define AZAC_ERR_NO_AUDIO_INPUT __AZAC_ERRCODE_FAILED(0x016)
-
-///
-/// An unexpected error was encountered when trying to access the USP site.
-///
-#define AZAC_ERR_UNEXPECTED_USP_SITE_FAILURE __AZAC_ERRCODE_FAILED(0x017)
-
-///
-/// The buffer is too small.
-///
-#define AZAC_ERR_BUFFER_TOO_SMALL __AZAC_ERRCODE_FAILED(0x019)
-
-///
-/// A method failed to allocate memory.
-///
-#define AZAC_ERR_OUT_OF_MEMORY __AZAC_ERRCODE_FAILED(0x01A)
-
-///
-/// An unexpected runtime error occurred.
-///
-#define AZAC_ERR_RUNTIME_ERROR __AZAC_ERRCODE_FAILED(0x01B)
-
-///
-/// The url specified is invalid.
-///
-#define AZAC_ERR_INVALID_URL __AZAC_ERRCODE_FAILED(0x01C)
-
-///
-/// The region specified is invalid or missing.
-///
-#define AZAC_ERR_INVALID_REGION __AZAC_ERRCODE_FAILED(0x01D)
-
-///
-/// Switch between single shot and continuous recognition is not supported.
-///
-#define AZAC_ERR_SWITCH_MODE_NOT_ALLOWED __AZAC_ERRCODE_FAILED(0x01E)
-
-///
-/// Changing connection status is not supported in the current recognition state.
-///
-#define AZAC_ERR_CHANGE_CONNECTION_STATUS_NOT_ALLOWED __AZAC_ERRCODE_FAILED(0x01F)
-
-///
-/// Explicit connection management is not supported by the specified recognizer.
-///
-#define AZAC_ERR_EXPLICIT_CONNECTION_NOT_SUPPORTED_BY_RECOGNIZER __AZAC_ERRCODE_FAILED(0x020)
-
-///
-/// The handle is invalid.
-///
-#define AZAC_ERR_INVALID_HANDLE __AZAC_ERRCODE_FAILED(0x021)
-
-///
-/// The recognizer is invalid.
-///
-#define AZAC_ERR_INVALID_RECOGNIZER __AZAC_ERRCODE_FAILED(0x022)
-
-///
-/// The value is out of range.
-/// Added in version 1.3.0.
-///
-#define AZAC_ERR_OUT_OF_RANGE __AZAC_ERRCODE_FAILED(0x023)
-
-///
-/// Extension library not found.
-/// Added in version 1.3.0.
-///
-#define AZAC_ERR_EXTENSION_LIBRARY_NOT_FOUND __AZAC_ERRCODE_FAILED(0x024)
-
-///
-/// An unexpected error was encountered when trying to access the TTS engine site.
-/// Added in version 1.4.0.
-///
-#define AZAC_ERR_UNEXPECTED_TTS_ENGINE_SITE_FAILURE __AZAC_ERRCODE_FAILED(0x025)
-
-///
-/// An unexpected error was encountered when trying to access the audio output stream.
-/// Added in version 1.4.0.
-///
-#define AZAC_ERR_UNEXPECTED_AUDIO_OUTPUT_FAILURE __AZAC_ERRCODE_FAILED(0x026)
-
-///
-/// Gstreamer internal error.
-/// Added in version 1.4.0.
-///
-#define AZAC_ERR_GSTREAMER_INTERNAL_ERROR __AZAC_ERRCODE_FAILED(0x027)
-
-///
-/// Compressed container format not supported.
-/// Added in version 1.4.0.
-///
-#define AZAC_ERR_CONTAINER_FORMAT_NOT_SUPPORTED_ERROR __AZAC_ERRCODE_FAILED(0x028)
-
-///
-/// Codec extension or gstreamer not found.
-/// Added in version 1.4.0.
-///
-#define AZAC_ERR_GSTREAMER_NOT_FOUND_ERROR __AZAC_ERRCODE_FAILED(0x029)
-
-///
-/// The language specified is missing.
-/// Added in version 1.5.0.
-///
-#define AZAC_ERR_INVALID_LANGUAGE __AZAC_ERRCODE_FAILED(0x02A)
-
-///
-/// The API is not applicable.
-/// Added in version 1.5.0.
-///
-#define AZAC_ERR_UNSUPPORTED_API_ERROR __AZAC_ERRCODE_FAILED(0x02B)
-
-///
-/// The ring buffer is unavailable.
-/// Added in version 1.8.0.
-///
-#define AZAC_ERR_RINGBUFFER_DATA_UNAVAILABLE __AZAC_ERRCODE_FAILED(0x02C)
-
-///
-/// An unexpected error was encountered when trying to access the Conversation site.
-/// Added in version 1.5.0.
-///
-#define AZAC_ERR_UNEXPECTED_CONVERSATION_SITE_FAILURE __AZAC_ERRCODE_FAILED(0x030)
-
-///
-/// An unexpected error was encountered when trying to access the Conversation site.
-/// Added in version 1.8.0.
-///
-#define AZAC_ERR_UNEXPECTED_CONVERSATION_TRANSLATOR_SITE_FAILURE __AZAC_ERRCODE_FAILED(0x031)
-
-///
-/// An asynchronous operation was canceled before it was executed.
-/// Added in version 1.8.0.
-///
-#define AZAC_ERR_CANCELED __AZAC_ERRCODE_FAILED(0x032)
-
-///
-/// Codec for compression could not be initialized.
-/// Added in version 1.10.0.
-///
-#define AZAC_ERR_COMPRESS_AUDIO_CODEC_INITIFAILED __AZAC_ERRCODE_FAILED(0x033)
-
-///
-/// Data not available.
-/// Added in version 1.10.0.
-///
-#define AZAC_ERR_DATA_NOT_AVAILABLE __AZAC_ERRCODE_FAILED(0x034)
-
-///
-/// Invalid result reason.
-/// Added in version 1.12.0
-///
-#define AZAC_ERR_INVALID_RESULT_REASON __AZAC_ERRCODE_FAILED(0x035)
-
-///
-/// An unexpected error was encountered when trying to access the RNN-T site.
-///
-#define AZAC_ERR_UNEXPECTED_RNNT_SITE_FAILURE __AZAC_ERRCODE_FAILED(0x036)
-
-///
-/// Sending of a network message failed.
-///
-#define AZAC_ERR_NETWORK_SEND_FAILED __AZAC_ERRCODE_FAILED(0x037)
-
-///
-/// Audio extension library not found.
-/// Added in version 1.16.0.
-///
-#define AZAC_ERR_AUDIO_SYS_LIBRARY_NOT_FOUND __AZAC_ERRCODE_FAILED(0x038)
-
-///
-/// An error in the audio-rendering system.
-/// Added in version 1.20.0
-///
-#define AZAC_ERR_LOUDSPEAKER_ERROR __AZAC_ERRCODE_FAILED(0x039)
-
-///
-/// An unexpected error was encountered when trying to access the Vision site.
-/// Added in version 1.15.0.
-///
-#define AZAC_ERR_VISION_SITE_FAILURE __AZAC_ERRCODE_FAILED(0x050)
-
-///
-/// Stream number provided was invalid in the current context.
-/// Added in version 1.15.0.
-///
-#define AZAC_ERR_MEDIA_INVALID_STREAM __AZAC_ERRCODE_FAILED(0x060)
-
-///
-/// Offset required is invalid in the current context.
-/// Added in version 1.15.0.
-///
-#define AZAC_ERR_MEDIA_INVALID_OFFSET __AZAC_ERRCODE_FAILED(0x061)
-
-///
-/// No more data is available in source.
-/// Added in version 1.15.0.
-///
-#define AZAC_ERR_MEDIA_NO_MORE_DATA __AZAC_ERRCODE_FAILED(0x062)
-
-///
-/// Source has not been started.
-/// Added in version 1.15.0.
-///
-#define AZAC_ERR_MEDIA_NOT_STARTED __AZAC_ERRCODE_FAILED(0x063)
-
-///
-/// Source has already been started.
-/// Added in version 1.15.0.
-///
-#define AZAC_ERR_MEDIA_ALREADY_STARTED __AZAC_ERRCODE_FAILED(0x064)
-
-///
-/// Media device creation failed.
-/// Added in version 1.18.0.
-///
-#define AZAC_ERR_MEDIA_DEVICE_CREATION_FAILED __AZAC_ERRCODE_FAILED(0x065)
-
-///
-/// No devices of the selected category are available.
-/// Added in version 1.18.0.
-///
-#define AZAC_ERR_MEDIA_NO_DEVICE_AVAILABLE __AZAC_ERRCODE_FAILED(0x066)
-
-///
-/// Enabled Voice Activity Detection while using keyword recognition is not allowed.
-///
-#define AZAC_ERR_VAD_CANNOT_BE_USED_WITH_KEYWORD_RECOGNIZER __AZAC_ERRCODE_FAILED(0x067)
-
-///
-/// The specified RecoEngineAdapter could not be created.
-///
-#define AZAC_ERR_COULD_NOT_CREATE_ENGINE_ADAPTER __AZAC_ERRCODE_FAILED(0x070)
-
-///
-/// The input file has a size of 0 bytes.
-///
-#define AZAC_ERR_INPUT_FILE_SIZE_IS_ZERO_BYTES __AZAC_ERRCODE_FAILED(0x072)
-
-///
-/// Cannot open the input media file for reading. Does it exist?
-///
-#define AZAC_ERR_FAILED_TO_OPEN_INPUT_FILE_FOR_READING __AZAC_ERRCODE_FAILED(0x073)
-
-///
-/// Failed to read from the input media file.
-///
-#define AZAC_ERR_FAILED_TO_READ_FROM_INPUT_FILE __AZAC_ERRCODE_FAILED(0x074)
-
-///
-/// Input media file is too large.
-///
-#define AZAC_ERR_INPUT_FILE_TOO_LARGE __AZAC_ERRCODE_FAILED(0x075)
-
-///
-/// The input URL is unsupported. It should start with `http://`, `https://` or `rtsp://`.
-///
-#define AZAC_ERR_UNSUPPORTED_URL_PROTOCOL __AZAC_ERRCODE_FAILED(0x076)
-
-///
-/// The Nullable value is empty. Check HasValue() before getting the value.
-///
-#define AZAC_ERR_EMPTY_NULLABLE __AZAC_ERRCODE_FAILED(0x077)
-
-///
-/// The given model version string is not in the expected format. The format
-/// is specified by the regular expression `^(latest|\d{4}-\d{2}-\d{2})(-preview)?$`.
-///
-#define AZAC_ERR_INVALID_MODEL_VERSION_FORMAT __AZAC_ERRCODE_FAILED(0x078)
-
-///
-/// Malformed network message
-///
-#define AZAC_ERR_NETWORK_MALFORMED __AZAC_ERRCODE_FAILED(0x090)
-
-///
-/// Unexpected message received
-///
-#define AZAC_ERR_NETWORK_PROTOCOL_VIOLATION __AZAC_ERRCODE_FAILED(0x091)
-
-///
-/// MAS extension library not found.
-///
-#define AZAC_ERR_MAS_LIBRARY_NOT_FOUND __AZAC_ERRCODE_FAILED(0x092)
-
-///
-/// Failed to open a WAV reader input file.
-///
-#define AZAC_ERR_WAV_READER_FILE_OPEN_FAILED __AZAC_ERRCODE_FAILED(0x093)
-
-///
-/// Failed to open a WAV writer output file.
-///
-#define AZAC_ERR_WAV_WRITER_FILE_OPEN_FAILED __AZAC_ERRCODE_FAILED(0x094)
-
-///
-/// Failed to open a log file.
-///
-#define AZAC_ERR_LOG_FILE_OPEN_FAILED __AZAC_ERRCODE_FAILED(0x095)
-
-///
-/// Failed to open a memory log dump file.
-///
-#define AZAC_ERR_MEMORY_LOG_FILE_OPEN_FAILED __AZAC_ERRCODE_FAILED(0x096)
-
-///
-/// Failed to open a keyword model file.
-///
-#define AZAC_ERR_KEYWORD_MODEL_FILE_OPEN_FAILED __AZAC_ERRCODE_FAILED(0x097)
-
-///
-/// Failed to open a VAD model file.
-///
-#define AZAC_ERR_VAD_MODEL_FILE_OPEN_FAILED __AZAC_ERRCODE_FAILED(0x098)
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/binding_helpers.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/binding_helpers.h
deleted file mode 100644
index f185ad7..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/binding_helpers.h
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// Licensed under the MIT license. See LICENSE.md file in the project root for full license information.
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-#include "speechapi_c.h"
-
-namespace Microsoft {
-namespace CognitiveServices {
-namespace Speech {
-namespace Impl {
-
-// Callback function type for binding events
-typedef void (*PBINDING_CALLBACK_FUNC)(SPXEVENTHANDLE hevent, SPXEVENTHANDLE hresult, void* pvContext); //take handle to hevent and hresponse, instantiate as null
-
-// Function to register a callback for HTTP requests
-SPXAPI register_send_callback(PBINDING_CALLBACK_FUNC pCallback, void* pvContext);
-
-// Function for C# to call when streaming data is available
-SPXAPI process_streaming_data(SPXEVENTHANDLE hevent, const uint8_t* data, size_t size);
-
-// Function to get the property bag from event args
-SPXAPI http_eventargs_get_property_bag(SPXEVENTHANDLE hevent, SPXPROPERTYBAGHANDLE* hpropbag);
-
-}
-}
-}
-} // Microsoft::CognitiveServices::Speech::Impl
-
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c.h
deleted file mode 100644
index d509db6..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c.h
+++ /dev/null
@@ -1,45 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_c.h: Master include header for public C API declarations
-//
-
-#pragma once
-
-#include "speechapi_c_common.h"
-#include "speechapi_c_error.h"
-#include "speechapi_c_diagnostics.h"
-#include "speechapi_c_property_bag.h"
-#include "speechapi_c_translation_result.h"
-#include "speechapi_c_translation_recognizer.h"
-#include "speechapi_c_keyword_recognition_model.h"
-#include "speechapi_c_audio_stream_format.h"
-#include "speechapi_c_audio_stream.h"
-#include "speechapi_c_audio_config.h"
-#include "speechapi_c_audio_processing_options.h"
-#include "speechapi_c_speech_config.h"
-#include "speechapi_c_embedded_speech_config.h"
-#include "speechapi_c_hybrid_speech_config.h"
-#include "speechapi_c_speech_translation_config.h"
-#include "speechapi_c_factory.h"
-#include "speechapi_c_recognizer.h"
-#include "speechapi_c_synthesis_request.h"
-#include "speechapi_c_synthesizer.h"
-#include "speechapi_c_result.h"
-#include "speechapi_c_grammar.h"
-#include "speechapi_c_session.h"
-#include "speechapi_c_connection.h"
-#include "speechapi_c_dialog_service_config.h"
-#include "speechapi_c_dialog_service_connector.h"
-#include "speechapi_c_conversation.h"
-#include "speechapi_c_conversation_transcription_result.h"
-#include "speechapi_c_meeting.h"
-#include "speechapi_c_meeting_transcription_result.h"
-#include "speechapi_c_user.h"
-#include "speechapi_c_participant.h"
-#include "speechapi_c_conversation_translator.h"
-#include "speechapi_c_ext_audiocompression.h"
-#include "speechapi_c_pronunciation_assessment_config.h"
-#include "speechapi_c_speech_recognition_model.h"
-#include "speechapi_c_speech_translation_model.h"
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_audio_config.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_audio_config.h
deleted file mode 100644
index b15095b..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_audio_config.h
+++ /dev/null
@@ -1,27 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_c_audio_config.h: Public API declarations for audio configuration related C methods and types
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-
-SPXAPI_(bool) audio_config_is_handle_valid(SPXAUDIOCONFIGHANDLE haudioConfig);
-SPXAPI audio_config_create_audio_input_from_default_microphone(SPXAUDIOCONFIGHANDLE* haudioConfig);
-SPXAPI audio_config_create_audio_input_from_a_microphone(SPXAUDIOCONFIGHANDLE* haudioConfig, const char* deviceName);
-SPXAPI audio_config_create_audio_input_from_wav_file_name(SPXAUDIOCONFIGHANDLE* haudioConfig, const char* fileName);
-SPXAPI audio_config_create_audio_input_from_stream(SPXAUDIOCONFIGHANDLE* haudioConfig, SPXAUDIOSTREAMHANDLE haudioStream);
-SPXAPI audio_config_create_push_audio_input_stream(SPXAUDIOCONFIGHANDLE* haudioConfig, SPXAUDIOSTREAMHANDLE* haudioStream, SPXAUDIOSTREAMFORMATHANDLE hformat);
-SPXAPI audio_config_create_pull_audio_input_stream(SPXAUDIOCONFIGHANDLE* haudioConfig, SPXAUDIOSTREAMHANDLE* haudioStream, SPXAUDIOSTREAMFORMATHANDLE hformat);
-SPXAPI audio_config_create_audio_output_from_default_speaker(SPXAUDIOCONFIGHANDLE* haudioConfig);
-SPXAPI audio_config_create_audio_output_from_a_speaker(SPXAUDIOCONFIGHANDLE* haudioConfig, const char* deviceName);
-SPXAPI audio_config_create_audio_output_from_wav_file_name(SPXAUDIOCONFIGHANDLE* haudioConfig, const char* fileName);
-SPXAPI audio_config_create_audio_output_from_stream(SPXAUDIOCONFIGHANDLE* haudioConfig, SPXAUDIOSTREAMHANDLE haudioStream);
-SPXAPI audio_config_set_audio_processing_options(SPXAUDIOCONFIGHANDLE haudioConfig, SPXAUDIOPROCESSINGOPTIONSHANDLE haudioProcessingOptions);
-SPXAPI audio_config_get_audio_processing_options(SPXAUDIOCONFIGHANDLE haudioConfig, SPXAUDIOPROCESSINGOPTIONSHANDLE* haudioProcessingOptions);
-SPXAPI audio_config_release(SPXAUDIOCONFIGHANDLE haudioConfig);
-SPXAPI audio_config_get_property_bag(SPXAUDIOCONFIGHANDLE haudioConfig, SPXPROPERTYBAGHANDLE* hpropbag);
-
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_audio_processing_options.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_audio_processing_options.h
deleted file mode 100644
index f2bc548..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_audio_processing_options.h
+++ /dev/null
@@ -1,173 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_c_audio_processing_options.h: Public API declarations for audio processing options related C methods and types
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-///
-/// Types of preset microphone array geometries.
-/// See [Microphone Array Recommendations](/azure/cognitive-services/speech-service/speech-devices-sdk-microphone) for more details.
-///
-typedef enum
-{
- ///
- /// Indicates that no geometry specified. Speech SDK will determine the microphone array geometry.
- ///
- AudioProcessingOptions_PresetMicrophoneArrayGeometry_Uninitialized,
- ///
- /// Indicates a microphone array with one microphone in the center and six microphones evenly spaced
- /// in a circle with radius approximately equal to 42.5 mm.
- ///
- AudioProcessingOptions_PresetMicrophoneArrayGeometry_Circular7,
- ///
- /// Indicates a microphone array with one microphone in the center and three microphones evenly spaced
- /// in a circle with radius approximately equal to 42.5 mm.
- ///
- AudioProcessingOptions_PresetMicrophoneArrayGeometry_Circular4,
- ///
- /// Indicates a microphone array with four linearly placed microphones with 40 mm spacing between them.
- ///
- AudioProcessingOptions_PresetMicrophoneArrayGeometry_Linear4,
- ///
- /// Indicates a microphone array with two linearly placed microphones with 40 mm spacing between them.
- ///
- AudioProcessingOptions_PresetMicrophoneArrayGeometry_Linear2,
- ///
- /// Indicates a microphone array with a single microphone.
- ///
- AudioProcessingOptions_PresetMicrophoneArrayGeometry_Mono,
- ///
- /// Indicates a microphone array with custom geometry.
- ///
- AudioProcessingOptions_PresetMicrophoneArrayGeometry_Custom
-} AudioProcessingOptions_PresetMicrophoneArrayGeometry;
-
-///
-/// Types of microphone arrays.
-///
-typedef enum
-{
- AudioProcessingOptions_MicrophoneArrayType_Linear,
- AudioProcessingOptions_MicrophoneArrayType_Planar
-} AudioProcessingOptions_MicrophoneArrayType;
-
-///
-/// Defines speaker reference channel position in input audio.
-///
-typedef enum
-{
- ///
- /// Indicates that the input audio does not have a speaker reference channel.
- ///
- AudioProcessingOptions_SpeakerReferenceChannel_None,
- ///
- /// Indicates that the last channel in the input audio corresponds to the speaker
- /// reference for echo cancellation.
- ///
- AudioProcessingOptions_SpeakerReferenceChannel_LastChannel
-} AudioProcessingOptions_SpeakerReferenceChannel;
-
-#pragma pack(push, 1)
-
-///
-/// Represents coordinates of a microphone.
-///
-typedef struct
-{
- ///
- /// X-coordinate of the microphone in millimeters.
- ///
- int X;
- ///
- /// Y-coordinate of the microphone in millimeters.
- ///
- int Y;
- ///
- /// Z-coordinate of the microphone in millimeters.
- ///
- int Z;
-} AudioProcessingOptions_MicrophoneCoordinates;
-
-///
-/// Represents the geometry of a microphone array.
-///
-typedef struct
-{
- ///
- /// Type of microphone array.
- ///
- AudioProcessingOptions_MicrophoneArrayType microphoneArrayType;
- ///
- /// Start angle for beamforming in degrees.
- ///
- uint16_t beamformingStartAngle;
- ///
- /// End angle for beamforming in degrees.
- ///
- uint16_t beamformingEndAngle;
- ///
- /// Number of microphones in the microphone array.
- ///
- uint16_t numberOfMicrophones;
- ///
- /// Coordinates of microphones in the microphone array.
- ///
- AudioProcessingOptions_MicrophoneCoordinates* microphoneCoordinates;
-} AudioProcessingOptions_MicrophoneArrayGeometry;
-
-#pragma pack(pop)
-
-///
-/// Disables built-in input audio processing.
-///
-const int AUDIO_INPUT_PROCESSING_NONE = 0x00000000;
-///
-/// Enables default built-in input audio processing.
-///
-const int AUDIO_INPUT_PROCESSING_ENABLE_DEFAULT = 0x00000001;
-///
-/// Disables dereverberation in the default audio processing pipeline.
-///
-const int AUDIO_INPUT_PROCESSING_DISABLE_DEREVERBERATION = 0x00000002;
-///
-/// Disables noise suppression in the default audio processing pipeline.
-///
-const int AUDIO_INPUT_PROCESSING_DISABLE_NOISE_SUPPRESSION = 0x00000004;
-///
-/// Disables automatic gain control in the default audio processing pipeline.
-///
-const int AUDIO_INPUT_PROCESSING_DISABLE_GAIN_CONTROL = 0x00000008;
-///
-/// Disables echo cancellation in the default audio processing pipeline.
-///
-const int AUDIO_INPUT_PROCESSING_DISABLE_ECHO_CANCELLATION = 0x00000010;
-///
-/// Enables voice activity detection in input audio processing.
-///
-const int AUDIO_INPUT_PROCESSING_ENABLE_VOICE_ACTIVITY_DETECTION = 0x00000020;
-///
-/// Enables the new version (V2) of input audio processing with improved echo cancellation performance.
-/// This flag is mutually exclusive with AUDIO_INPUT_PROCESSING_ENABLE_DEFAULT flag.
-/// AUDIO_INPUT_PROCESSING_DISABLE_* flags do not affect this pipeline.
-/// This feature is currently in preview and only available for Windows x64 and ARM64 platform.
-///
-const int AUDIO_INPUT_PROCESSING_ENABLE_V2 = 0x00000040;
-
-SPXAPI_(bool) audio_processing_options_is_handle_valid(SPXAUDIOPROCESSINGOPTIONSHANDLE hoptions);
-SPXAPI audio_processing_options_create(SPXAUDIOPROCESSINGOPTIONSHANDLE* hoptions, int audioProcessingFlags);
-SPXAPI audio_processing_options_create_from_preset_microphone_array_geometry(SPXAUDIOPROCESSINGOPTIONSHANDLE* hoptions, int audioProcessingFlags, AudioProcessingOptions_PresetMicrophoneArrayGeometry microphoneArrayGeometry, AudioProcessingOptions_SpeakerReferenceChannel speakerReferenceChannel);
-SPXAPI audio_processing_options_create_from_microphone_array_geometry(SPXAUDIOPROCESSINGOPTIONSHANDLE* hoptions, int audioProcessingFlags, const AudioProcessingOptions_MicrophoneArrayGeometry* microphoneArrayGeometry, AudioProcessingOptions_SpeakerReferenceChannel speakerReferenceChannel);
-SPXAPI audio_processing_options_get_audio_processing_flags(SPXAUDIOPROCESSINGOPTIONSHANDLE hoptions, int* audioProcessingFlags);
-SPXAPI audio_processing_options_get_preset_microphone_array_geometry(SPXAUDIOPROCESSINGOPTIONSHANDLE hoptions, AudioProcessingOptions_PresetMicrophoneArrayGeometry* microphoneArrayGeometry);
-SPXAPI audio_processing_options_get_microphone_array_type(SPXAUDIOPROCESSINGOPTIONSHANDLE hoptions, AudioProcessingOptions_MicrophoneArrayType* microphoneArrayType);
-SPXAPI audio_processing_options_get_beamforming_start_angle(SPXAUDIOPROCESSINGOPTIONSHANDLE hoptions, uint16_t* startAngle);
-SPXAPI audio_processing_options_get_beamforming_end_angle(SPXAUDIOPROCESSINGOPTIONSHANDLE hoptions, uint16_t* endAngle);
-SPXAPI audio_processing_options_get_microphone_count(SPXAUDIOPROCESSINGOPTIONSHANDLE hoptions, uint16_t* microphoneCount);
-SPXAPI audio_processing_options_get_microphone_coordinates(SPXAUDIOPROCESSINGOPTIONSHANDLE hoptions, AudioProcessingOptions_MicrophoneCoordinates* microphoneCoordinates, uint16_t microphoneCount);
-SPXAPI audio_processing_options_get_speaker_reference_channel(SPXAUDIOPROCESSINGOPTIONSHANDLE hoptions, AudioProcessingOptions_SpeakerReferenceChannel* speakerReferenceChannel);
-SPXAPI audio_processing_options_release(SPXAUDIOPROCESSINGOPTIONSHANDLE hoptions);
-SPXAPI audio_processing_options_get_property_bag(SPXAUDIOPROCESSINGOPTIONSHANDLE hoptions, SPXPROPERTYBAGHANDLE* hpropbag);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_audio_stream.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_audio_stream.h
deleted file mode 100644
index c29f172..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_audio_stream.h
+++ /dev/null
@@ -1,68 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_c_audio_stream.h: Public API declarations for audio stream related C methods and types
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-#include "speechapi_c_result.h"
-
-typedef enum
-{
- StreamStatus_Unknown = 0,
- StreamStatus_NoData = 1,
- StreamStatus_PartialData = 2,
- StreamStatus_AllData = 3,
- StreamStatus_Canceled = 4
-} Stream_Status;
-
-// audio_stream
-SPXAPI_(bool) audio_stream_is_handle_valid(SPXAUDIOSTREAMHANDLE haudioStream);
-SPXAPI audio_stream_create_push_audio_input_stream(SPXAUDIOSTREAMHANDLE* haudioStream, SPXAUDIOSTREAMFORMATHANDLE hformat);
-SPXAPI audio_stream_create_pull_audio_input_stream(SPXAUDIOSTREAMHANDLE* haudioStream, SPXAUDIOSTREAMFORMATHANDLE hformat);
-SPXAPI audio_stream_create_pull_audio_output_stream(SPXAUDIOSTREAMHANDLE* haudioStream);
-SPXAPI audio_stream_create_push_audio_output_stream(SPXAUDIOSTREAMHANDLE* haudioStream);
-SPXAPI audio_stream_release(SPXAUDIOSTREAMHANDLE haudioStream);
-
-// pull_audio_input_stream
-typedef int (*CUSTOM_AUDIO_PULL_STREAM_READ_CALLBACK)(void* pvContext, uint8_t* buffer, uint32_t size);
-typedef void (*CUSTOM_AUDIO_PULL_STREAM_CLOSE_CALLBACK)(void* pvContext);
-typedef void (*CUSTOM_AUDIO_PULL_STREAM_GET_PROPERTY_CALLBACK)(void* pvContext, int id, uint8_t* value, uint32_t size);
-SPXAPI pull_audio_input_stream_set_callbacks(SPXAUDIOSTREAMHANDLE haudioStream, void* pvContext, CUSTOM_AUDIO_PULL_STREAM_READ_CALLBACK readCallback, CUSTOM_AUDIO_PULL_STREAM_CLOSE_CALLBACK closeCallback);
-SPXAPI pull_audio_input_stream_set_getproperty_callback(SPXAUDIOSTREAMHANDLE haudioStream, void* pvContext, CUSTOM_AUDIO_PULL_STREAM_GET_PROPERTY_CALLBACK getPropertyCallback);
-
-// push_audio_input_stream
-SPXAPI push_audio_input_stream_write(SPXAUDIOSTREAMHANDLE haudioStream, uint8_t* buffer, uint32_t size);
-SPXAPI push_audio_input_stream_close(SPXAUDIOSTREAMHANDLE haudioStream);
-SPXAPI push_audio_input_stream_set_property_by_id(SPXAUDIOSTREAMHANDLE haudioStream, int id, const char* value);
-SPXAPI push_audio_input_stream_set_property_by_name(SPXAUDIOSTREAMHANDLE haudioStream, const char* name, const char* value);
-
-// pull audio output stream
-SPXAPI pull_audio_output_stream_read(SPXAUDIOSTREAMHANDLE haudioStream, uint8_t* buffer, uint32_t bufferSize, uint32_t* pfilledSize);
-
-// push_audio_output_stream
-typedef int(*CUSTOM_AUDIO_PUSH_STREAM_WRITE_CALLBACK)(void* pvContext, uint8_t* buffer, uint32_t size);
-typedef void(*CUSTOM_AUDIO_PUSH_STREAM_CLOSE_CALLBACK)(void* pvContext);
-SPXAPI push_audio_output_stream_set_callbacks(SPXAUDIOSTREAMHANDLE haudioStream, void* pvContext, CUSTOM_AUDIO_PUSH_STREAM_WRITE_CALLBACK writeCallback, CUSTOM_AUDIO_PUSH_STREAM_CLOSE_CALLBACK closeCallback);
-
-// audio data stream
-SPXAPI_(bool) audio_data_stream_is_handle_valid(SPXAUDIOSTREAMHANDLE haudioStream);
-SPXAPI audio_data_stream_create_from_file(SPXAUDIOSTREAMHANDLE* haudioStream, const char* fileName);
-SPXAPI audio_data_stream_create_from_result(SPXAUDIOSTREAMHANDLE* haudioStream, SPXRESULTHANDLE hresult);
-SPXAPI audio_data_stream_create_from_keyword_result(SPXAUDIOSTREAMHANDLE* audioStreamHandle, SPXRESULTHANDLE resultHandle);
-SPXAPI audio_data_stream_get_status(SPXAUDIOSTREAMHANDLE haudioStream, Stream_Status* status);
-SPXAPI audio_data_stream_get_reason_canceled(SPXAUDIOSTREAMHANDLE haudioStream, Result_CancellationReason* reason);
-SPXAPI audio_data_stream_get_canceled_error_code(SPXAUDIOSTREAMHANDLE haudioStream, Result_CancellationErrorCode* errorCode);
-SPXAPI_(bool) audio_data_stream_can_read_data(SPXAUDIOSTREAMHANDLE haudioStream, uint32_t requestedSize);
-SPXAPI_(bool) audio_data_stream_can_read_data_from_position(SPXAUDIOSTREAMHANDLE haudioStream, uint32_t requestedSize, uint32_t position);
-SPXAPI_(uint32_t) audio_data_stream_get_available_size(SPXAUDIOSTREAMHANDLE haudioStream);
-SPXAPI audio_data_stream_read(SPXAUDIOSTREAMHANDLE haudioStream, uint8_t* buffer, uint32_t bufferSize, uint32_t* pfilledSize);
-SPXAPI audio_data_stream_read_from_position(SPXAUDIOSTREAMHANDLE haudioStream, uint8_t* buffer, uint32_t bufferSize, uint32_t position, uint32_t* pfilledSize);
-SPXAPI audio_data_stream_save_to_wave_file(SPXAUDIOSTREAMHANDLE haudioStream, const char* fileName);
-SPXAPI audio_data_stream_get_position(SPXAUDIOSTREAMHANDLE haudioStream, uint32_t* position);
-SPXAPI audio_data_stream_set_position(SPXAUDIOSTREAMHANDLE haudioStream, uint32_t position);
-SPXAPI audio_data_stream_detach_input(SPXAUDIOSTREAMHANDLE audioStreamHandle);
-SPXAPI audio_data_stream_get_property_bag(SPXAUDIOSTREAMHANDLE haudioStream, SPXPROPERTYBAGHANDLE* hpropbag);
-SPXAPI audio_data_stream_release(SPXAUDIOSTREAMHANDLE haudioStream);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_audio_stream_format.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_audio_stream_format.h
deleted file mode 100644
index 0aeef37..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_audio_stream_format.h
+++ /dev/null
@@ -1,93 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_c_audio_stream_format.h: Public API declarations for audio stream format related C methods and types
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-///
-/// Defines supported audio stream container format.
-/// Changed in version 1.4.0.
-///
-enum Audio_Stream_Container_Format
-{
- ///
- /// Stream ContainerFormat definition for OGG OPUS.
- ///
- StreamFormat_Ogg_Opus = 0x101,
-
- ///
- /// Stream ContainerFormat definition for MP3.
- ///
- StreamFormat_Mp3 = 0x102,
-
- ///
- /// Stream ContainerFormat definition for FLAC. Added in version 1.7.0.
- ///
- StreamFormat_Flac = 0x103,
-
- ///
- /// Stream ContainerFormat definition for ALAW. Added in version 1.7.0.
- ///
- StreamFormat_Alaw = 0x104,
-
- ///
- /// Stream ContainerFormat definition for MULAW. Added in version 1.7.0.
- ///
- StreamFormat_Mulaw = 0x105,
-
- ///
- /// Stream ContainerFormat definition for AMRNB. Currently not supported.
- ///
- StreamFormat_Amrnb = 0x106,
-
- ///
- /// Stream ContainerFormat definition for AMRWB. Currently not supported.
- ///
- StreamFormat_Amrwb = 0x107,
-
- ///
- /// Stream ContainerFormat definition for any other or unknown format.
- ///
- StreamFormat_Any = 0x108,
-};
-
-///
-/// Defines supported audio stream wave format in WAV container.
-///
-enum Audio_Stream_Wave_Format
-{
- ///
- /// Stream WaveFormat definition for PCM (pulse-code modulated) data in integer format.
- ///
- StreamWaveFormat_PCM = 0x0001,
-
- ///
- /// Stream WaveFormat definition for A-law-encoded format.
- ///
- StreamWaveFormat_ALAW = 0x0006,
-
- ///
- /// Stream WaveFormat definition for Mu-law-encoded format.
- ///
- StreamWaveFormat_MULAW = 0x0007,
-
- ///
- /// Stream WaveFormat definition for G.722-encoded format.
- ///
- StreamWaveFormat_G722 = 0x028F
-};
-
-typedef enum Audio_Stream_Container_Format Audio_Stream_Container_Format;
-typedef enum Audio_Stream_Wave_Format Audio_Stream_Wave_Format;
-
-SPXAPI_(bool) audio_stream_format_is_handle_valid(SPXAUDIOSTREAMFORMATHANDLE hformat);
-SPXAPI audio_stream_format_create_from_default_input(SPXAUDIOSTREAMFORMATHANDLE* hformat);
-SPXAPI audio_stream_format_create_from_waveformat(SPXAUDIOSTREAMFORMATHANDLE* hformat, uint32_t samplesPerSecond, uint8_t bitsPerSample, uint8_t channels, Audio_Stream_Wave_Format waveFormat);
-SPXAPI audio_stream_format_create_from_waveformat_pcm(SPXAUDIOSTREAMFORMATHANDLE* hformat, uint32_t samplesPerSecond, uint8_t bitsPerSample, uint8_t channels);
-SPXAPI audio_stream_format_create_from_default_output(SPXAUDIOSTREAMFORMATHANDLE* hformat);
-SPXAPI audio_stream_format_create_from_compressed_format(SPXAUDIOSTREAMFORMATHANDLE* hformat, Audio_Stream_Container_Format compressedFormat);
-SPXAPI audio_stream_format_release(SPXAUDIOSTREAMFORMATHANDLE hformat);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_auto_detect_source_lang_config.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_auto_detect_source_lang_config.h
deleted file mode 100644
index 22dee86..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_auto_detect_source_lang_config.h
+++ /dev/null
@@ -1,15 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-SPXAPI create_auto_detect_source_lang_config_from_open_range(SPXAUTODETECTSOURCELANGCONFIGHANDLE* hAutoDetectSourceLanguageconfig);
-SPXAPI create_auto_detect_source_lang_config_from_languages(SPXAUTODETECTSOURCELANGCONFIGHANDLE* hAutoDetectSourceLanguageconfig, const char* languages);
-SPXAPI create_auto_detect_source_lang_config_from_source_lang_config(SPXAUTODETECTSOURCELANGCONFIGHANDLE* hAutoDetectSourceLanguageconfig, SPXSOURCELANGCONFIGHANDLE hSourceLanguageConfig);
-SPXAPI add_source_lang_config_to_auto_detect_source_lang_config(SPXAUTODETECTSOURCELANGCONFIGHANDLE hAutoDetectSourceLanguageconfig, SPXSOURCELANGCONFIGHANDLE hSourceLanguageConfig);
-SPXAPI_(bool) auto_detect_source_lang_config_is_handle_valid(SPXAUTODETECTSOURCELANGCONFIGHANDLE hAutoDetectSourceLanguageconfig);
-SPXAPI auto_detect_source_lang_config_release(SPXAUTODETECTSOURCELANGCONFIGHANDLE hAutoDetectSourceLanguageconfig);
-SPXAPI auto_detect_source_lang_config_get_property_bag(SPXAUTODETECTSOURCELANGCONFIGHANDLE hAutoDetectSourceLanguageconfig, SPXPROPERTYBAGHANDLE* hpropbag);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_common.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_common.h
deleted file mode 100644
index a0b58cc..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_common.h
+++ /dev/null
@@ -1,74 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_c_common.h: Public API declarations for global C definitions and typedefs
-//
-
-#pragma once
-
-#include "spxdebug.h"
-#include "azac_api_c_common.h" // must include after spxdebug.h or speechapi*.h (can NOT be included before)
-#include
-#include "spxerror.h"
-
-#define SPX_EXTERN_C AZAC_EXTERN_C
-#ifndef SPXAPI_EXPORT
-#define SPXAPI_EXPORT AZAC_API_EXPORT
-#endif
-
-#define SPXAPI_NOTHROW AZAC_API_NOTHROW
-#define SPXAPI_RESULTTYPE SPXHR
-#define SPXAPI_CALLTYPE AZAC_API_CALLTYPE
-#define SPXAPI_VCALLTYPE AZAC_VCALLTYPE
-
-#define SPXDLL_EXPORT AZAC_DLL_EXPORT
-
-#define SPXAPI SPX_EXTERN_C SPXAPI_EXPORT SPXAPI_RESULTTYPE SPXAPI_NOTHROW SPXAPI_CALLTYPE
-#define SPXAPI_(type) SPX_EXTERN_C SPXAPI_EXPORT type SPXAPI_NOTHROW SPXAPI_CALLTYPE
-#define SPXAPI__(type) SPX_EXTERN_C SPXAPI_EXPORT SPXAPI_NOTHROW type SPXAPI_CALLTYPE
-
-#define SPXAPIV SPX_EXTERN_C SPXAPI_EXPORT SPXAPI_NOTHROW SPXAPI_RESULTTYPE SPXAPI_VCALLTYPE
-#define SPXAPIV_(type) SPX_EXTERN_C SPXAPI_EXPORT SPXAPI_NOTHROW type SPXAPI_VCALLTYPE
-
-#define SPXAPI_PRIVATE SPX_EXTERN_C SPXAPI_RESULTTYPE SPXAPI_NOTHROW SPXAPI_CALLTYPE
-#define SPXAPI_PRIVATE_(type) SPX_EXTERN_C type SPXAPI_NOTHROW SPXAPI_CALLTYPE
-
-#define _spx_empty _azac_empty
-#define _spxhandle _azac_handle
-#define SPXHANDLE AZAC_HANDLE
-#define SPXERRORHANDLE AZAC_HANDLE
-
-#define SPXPROPERTYBAGHANDLE AZAC_HANDLE
-typedef SPXHANDLE SPXASYNCHANDLE;
-typedef SPXHANDLE SPXFACTORYHANDLE;
-typedef SPXHANDLE SPXRECOHANDLE;
-typedef SPXHANDLE SPXSYNTHHANDLE;
-typedef SPXHANDLE SPXRESULTHANDLE;
-typedef SPXHANDLE SPXEVENTHANDLE;
-typedef SPXHANDLE SPXSESSIONHANDLE;
-typedef SPXHANDLE SPXKEYWORDHANDLE;
-typedef SPXHANDLE SPXAUDIOSTREAMFORMATHANDLE;
-typedef SPXHANDLE SPXAUDIOSTREAMHANDLE;
-typedef SPXHANDLE SPXAUDIOCONFIGHANDLE;
-typedef SPXHANDLE SPXSPEECHCONFIGHANDLE;
-typedef SPXHANDLE SPXCONNECTIONHANDLE;
-typedef SPXHANDLE SPXCONNECTIONMESSAGEHANDLE;
-typedef SPXHANDLE SPXACTIVITYHANDLE;
-typedef SPXHANDLE SPXACTIVITYJSONHANDLE;
-typedef SPXHANDLE SPXGRAMMARHANDLE;
-typedef SPXHANDLE SPXPHRASEHANDLE;
-typedef SPXHANDLE SPXUSERHANDLE;
-typedef SPXHANDLE SPXPARTICIPANTHANDLE;
-typedef SPXHANDLE SPXAUTODETECTSOURCELANGCONFIGHANDLE;
-typedef SPXHANDLE SPXSOURCELANGCONFIGHANDLE;
-typedef SPXHANDLE SPXCONVERSATIONHANDLE;
-typedef SPXHANDLE SPXMEETINGHANDLE;
-typedef SPXHANDLE SPXCONVERSATIONTRANSLATORHANDLE;
-typedef SPXHANDLE SPXPRONUNCIATIONASSESSMENTCONFIGHANDLE;
-typedef SPXHANDLE SPXAUDIOPROCESSINGOPTIONSHANDLE;
-typedef SPXHANDLE SPXSPEECHRECOMODELHANDLE;
-typedef SPXHANDLE SPXREQUESTHANDLE;
-
-#define SPXHANDLE_INVALID ((SPXHANDLE)-1)
-#define SPXHANDLE_RESERVED1 ((SPXHANDLE)+1)
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_connection.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_connection.h
deleted file mode 100644
index ad29893..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_connection.h
+++ /dev/null
@@ -1,46 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-SPXAPI connection_from_recognizer(SPXRECOHANDLE recognizerHandle, SPXCONNECTIONHANDLE* connectionHandle);
-SPXAPI connection_from_conversation_translator(SPXCONVERSATIONTRANSLATORHANDLE convTransHandle, SPXCONNECTIONHANDLE* connectionHandle);
-SPXAPI connection_from_dialog_service_connector(SPXRECOHANDLE convTransHandle, SPXCONNECTIONHANDLE* connectionHandle);
-SPXAPI connection_from_speech_synthesizer(SPXSYNTHHANDLE synthesizerHandle, SPXCONNECTIONHANDLE* connectionHandle);
-
-SPXAPI_(bool) connection_handle_is_valid(SPXCONNECTIONHANDLE handle);
-SPXAPI connection_handle_release(SPXCONNECTIONHANDLE handle);
-SPXAPI connection_async_handle_release(SPXASYNCHANDLE hasync);
-
-SPXAPI connection_open(SPXCONNECTIONHANDLE handle, bool forContinuousRecognition);
-SPXAPI connection_close(SPXCONNECTIONHANDLE handle);
-SPXAPI connection_set_message_property(SPXCONNECTIONHANDLE handle, const char* path, const char* name, const char* value);
-SPXAPI connection_send_message(SPXCONNECTIONHANDLE handle, const char* path, const char* payload);
-SPXAPI connection_send_message_async(SPXCONNECTIONHANDLE handle, const char* path, const char* payload, SPXASYNCHANDLE* phasync);
-
-SPXAPI connection_send_message_data(SPXCONNECTIONHANDLE handle, const char* path, uint8_t* data, uint32_t size);
-SPXAPI connection_send_message_data_async(SPXCONNECTIONHANDLE handle, const char* path, uint8_t* data, uint32_t size, SPXASYNCHANDLE* phasync);
-
-SPXAPI connection_send_message_wait_for(SPXASYNCHANDLE hasync, uint32_t milliseconds);
-
-SPXAPI connection_get_property_bag(SPXRECOHANDLE hconn, SPXPROPERTYBAGHANDLE* hpropbag);
-
-typedef void(*CONNECTION_CALLBACK_FUNC)(SPXEVENTHANDLE event, void* context);
-SPXAPI connection_connected_set_callback(SPXCONNECTIONHANDLE connection, CONNECTION_CALLBACK_FUNC callback, void* context);
-SPXAPI connection_disconnected_set_callback(SPXCONNECTIONHANDLE connection, CONNECTION_CALLBACK_FUNC callback, void* context);
-SPXAPI connection_message_received_set_callback(SPXCONNECTIONHANDLE connection, CONNECTION_CALLBACK_FUNC callback, void* context);
-
-SPXAPI_(bool) connection_message_received_event_handle_is_valid(SPXEVENTHANDLE hevent);
-SPXAPI connection_message_received_event_handle_release(SPXEVENTHANDLE hevent);
-
-SPXAPI connection_message_received_event_get_message(SPXEVENTHANDLE hevent, SPXCONNECTIONMESSAGEHANDLE* hcm);
-
-SPXAPI_(bool) connection_message_handle_is_valid(SPXCONNECTIONMESSAGEHANDLE handle);
-SPXAPI connection_message_handle_release(SPXCONNECTIONMESSAGEHANDLE handle);
-
-SPXAPI connection_message_get_property_bag(SPXCONNECTIONMESSAGEHANDLE hcm, SPXPROPERTYBAGHANDLE* hpropbag);
-SPXAPI connection_message_get_data(SPXCONNECTIONMESSAGEHANDLE hcm, uint8_t* data, uint32_t size);
-SPXAPI_(uint32_t) connection_message_get_data_size(SPXCONNECTIONMESSAGEHANDLE hcm);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_conversation.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_conversation.h
deleted file mode 100644
index e4acb7e..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_conversation.h
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_c_conversation.h: Public API declarations for conversation related C methods and typedefs
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-SPXAPI conversation_create_from_config(SPXCONVERSATIONHANDLE* phconv, SPXSPEECHCONFIGHANDLE hspeechconfig, const char* id);
-SPXAPI conversation_update_participant_by_user_id(SPXCONVERSATIONHANDLE hconv, bool add, const char* userId);
-SPXAPI conversation_update_participant_by_user(SPXCONVERSATIONHANDLE hconv, bool add, SPXUSERHANDLE huser);
-SPXAPI conversation_update_participant(SPXCONVERSATIONHANDLE hconv, bool add, SPXPARTICIPANTHANDLE hparticipant);
-SPXAPI conversation_get_conversation_id(SPXCONVERSATIONHANDLE hconv, char* id, size_t size);
-SPXAPI conversation_end_conversation(SPXCONVERSATIONHANDLE hconv);
-SPXAPI conversation_get_property_bag(SPXCONVERSATIONHANDLE hconv, SPXPROPERTYBAGHANDLE* phpropbag);
-SPXAPI conversation_release_handle(SPXHANDLE handle);
-
-SPXAPI conversation_start_conversation(SPXCONVERSATIONHANDLE hconv);
-SPXAPI conversation_delete_conversation(SPXCONVERSATIONHANDLE hconv);
-SPXAPI conversation_lock_conversation(SPXCONVERSATIONHANDLE hconv);
-SPXAPI conversation_unlock_conversation(SPXCONVERSATIONHANDLE hconv);
-SPXAPI conversation_mute_all_participants(SPXCONVERSATIONHANDLE hconv);
-SPXAPI conversation_unmute_all_participants(SPXCONVERSATIONHANDLE hconv);
-SPXAPI conversation_mute_participant(SPXCONVERSATIONHANDLE hconv, const char * participantId);
-SPXAPI conversation_unmute_participant(SPXCONVERSATIONHANDLE hconv, const char * participantId);
-
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_conversation_transcription_result.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_conversation_transcription_result.h
deleted file mode 100644
index 0b5d56a..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_conversation_transcription_result.h
+++ /dev/null
@@ -1,11 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_c_conversation_transcriber_result.h: Public API declarations for ConversationTranscriberResult related C methods and enumerations
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-SPXAPI conversation_transcription_result_get_speaker_id(SPXRESULTHANDLE hresult, char* pszSpeakerId, uint32_t cchSpeakerId);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_conversation_translator.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_conversation_translator.h
deleted file mode 100644
index 13c5514..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_conversation_translator.h
+++ /dev/null
@@ -1,63 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_c_conversation_translator.h: Public API declarations for conversation translator related C methods and typedefs
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-#include "speechapi_c_connection.h"
-
-#ifdef __cplusplus
-#include "speechapi_cxx_enums.h"
-typedef Microsoft::CognitiveServices::Speech::Transcription::ParticipantChangedReason ParticipantChangedReason;
-#else
-#include "speechapi_c_property_bag.h"
-#endif
-
-typedef void(*PCONV_TRANS_CALLBACK)(SPXCONVERSATIONTRANSLATORHANDLE hConvTrans, SPXEVENTHANDLE hEvent, void* pvContext);
-
-SPXAPI conversation_translator_create_from_config(SPXCONVERSATIONTRANSLATORHANDLE* phandle, SPXAUDIOCONFIGHANDLE haudioinput);
-SPXAPI conversation_translator_get_property_bag(SPXCONVERSATIONTRANSLATORHANDLE hconvtranslator, SPXPROPERTYBAGHANDLE* phpropertyBag);
-
-SPXAPI conversation_translator_join(SPXCONVERSATIONTRANSLATORHANDLE hconvtranslator, SPXCONVERSATIONHANDLE hconv, const char* psznickname);
-SPXAPI conversation_translator_join_with_id(SPXCONVERSATIONTRANSLATORHANDLE hconvtranslator, const char *pszconversationid, const char* psznickname, const char * pszlang);
-SPXAPI conversation_translator_start_transcribing(SPXCONVERSATIONTRANSLATORHANDLE hconvtranslator);
-SPXAPI conversation_translator_stop_transcribing(SPXCONVERSATIONTRANSLATORHANDLE hconvtranslator);
-SPXAPI conversation_translator_send_text_message(SPXCONVERSATIONTRANSLATORHANDLE hconvtranslator, const char *pszmessage);
-SPXAPI conversation_translator_leave(SPXCONVERSATIONTRANSLATORHANDLE hconvtranslator);
-SPXAPI conversation_translator_set_authorization_token(SPXCONVERSATIONTRANSLATORHANDLE hconvtranslator, const char* pszAuthToken, const char* pszRegion);
-
-SPXAPI_(bool) conversation_translator_handle_is_valid(SPXCONVERSATIONTRANSLATORHANDLE handle);
-SPXAPI conversation_translator_handle_release(SPXHANDLE handle);
-
-SPXAPI conversation_translator_session_started_set_callback(SPXCONVERSATIONTRANSLATORHANDLE hConvTrans, PCONV_TRANS_CALLBACK pCallback, void* pvContext);
-SPXAPI conversation_translator_session_stopped_set_callback(SPXCONVERSATIONTRANSLATORHANDLE hConvTrans, PCONV_TRANS_CALLBACK pCallback, void* pvContext);
-SPXAPI conversation_translator_canceled_set_callback(SPXCONVERSATIONTRANSLATORHANDLE hConvTrans, PCONV_TRANS_CALLBACK pCallback, void* pvContext);
-SPXAPI conversation_translator_participants_changed_set_callback(SPXCONVERSATIONTRANSLATORHANDLE hConvTrans, PCONV_TRANS_CALLBACK pCallback, void* pvContext);
-SPXAPI conversation_translator_conversation_expiration_set_callback(SPXCONVERSATIONTRANSLATORHANDLE hConvTrans, PCONV_TRANS_CALLBACK pCallback, void* pvContext);
-SPXAPI conversation_translator_transcribing_set_callback(SPXCONVERSATIONTRANSLATORHANDLE hConvTrans, PCONV_TRANS_CALLBACK pCallback, void* pvContext);
-SPXAPI conversation_translator_transcribed_set_callback(SPXCONVERSATIONTRANSLATORHANDLE hConvTrans, PCONV_TRANS_CALLBACK pCallback, void* pvContext);
-SPXAPI conversation_translator_text_message_recevied_set_callback(SPXCONVERSATIONTRANSLATORHANDLE hConvTrans, PCONV_TRANS_CALLBACK pCallback, void* pvContext);
-
-SPXAPI conversation_translator_connection_connected_set_callback(SPXCONNECTIONHANDLE hConnection, CONNECTION_CALLBACK_FUNC pCallback, void * pvContext);
-SPXAPI conversation_translator_connection_disconnected_set_callback(SPXCONNECTIONHANDLE hConnection, CONNECTION_CALLBACK_FUNC pCallback, void * pvContext);
-
-SPXAPI_(bool) conversation_translator_event_handle_is_valid(SPXCONVERSATIONTRANSLATORHANDLE handle);
-SPXAPI conversation_translator_event_handle_release(SPXHANDLE handle);
-
-SPXAPI conversation_translator_event_get_expiration_time(SPXEVENTHANDLE hevent, int32_t* pexpirationminutes);
-SPXAPI conversation_translator_event_get_participant_changed_reason(SPXEVENTHANDLE hevent, ParticipantChangedReason* preason);
-SPXAPI conversation_translator_event_get_participant_changed_at_index(SPXEVENTHANDLE hevent, int index, SPXPARTICIPANTHANDLE* phparticipant);
-
-SPXAPI conversation_translator_result_get_user_id(SPXRESULTHANDLE hresult, char* pszUserId, uint32_t cchUserId);
-
-SPXAPI conversation_translator_result_get_original_lang(SPXRESULTHANDLE hresult, char * psz, uint32_t * pcch);
-
-SPXAPI conversation_translator_participant_get_avatar(SPXEVENTHANDLE hevent, char * psz, uint32_t * pcch);
-SPXAPI conversation_translator_participant_get_displayname(SPXEVENTHANDLE hevent, char * psz, uint32_t * pcch);
-SPXAPI conversation_translator_participant_get_id(SPXEVENTHANDLE hevent, char * psz, uint32_t * pcch);
-SPXAPI conversation_translator_participant_get_is_muted(SPXEVENTHANDLE hevent, bool * pMuted);
-SPXAPI conversation_translator_participant_get_is_host(SPXEVENTHANDLE hevent, bool * pIsHost);
-SPXAPI conversation_translator_participant_get_is_using_tts(SPXEVENTHANDLE hevent, bool * ptts);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_diagnostics.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_diagnostics.h
deleted file mode 100644
index dee4446..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_diagnostics.h
+++ /dev/null
@@ -1,8 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-#include "azac_api_c_diagnostics.h" // must include after spxdebug.h or speechapi*.h (can NOT be included before)
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_dialog_service_config.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_dialog_service_config.h
deleted file mode 100644
index 7c72eca..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_dialog_service_config.h
+++ /dev/null
@@ -1,15 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_c_dialog_service_config.h: Public API declarations for dialog service connector configuration related C methods and types
-//
-#pragma once
-
-#include "speechapi_c_common.h"
-
-SPXAPI bot_framework_config_from_subscription(SPXSPEECHCONFIGHANDLE* ph_config, const char* subscription, const char* region, const char *bot_Id);
-SPXAPI bot_framework_config_from_authorization_token(SPXSPEECHCONFIGHANDLE* ph_config, const char* auth_token, const char* region, const char* bot_Id);
-
-SPXAPI custom_commands_config_from_subscription(SPXSPEECHCONFIGHANDLE* ph_dialog_service_config, const char* app_id, const char *subscription, const char* region);
-SPXAPI custom_commands_config_from_authorization_token(SPXSPEECHCONFIGHANDLE* ph_dialog_service_config, const char* app_id, const char *auth_token, const char* region);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_dialog_service_connector.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_dialog_service_connector.h
deleted file mode 100644
index 15b78c9..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_dialog_service_connector.h
+++ /dev/null
@@ -1,92 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_c_dialog_service_connector.h: Public API declaration for Dialog Service Connector related C methods.
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-SPXAPI_(bool) dialog_service_connector_handle_is_valid(SPXRECOHANDLE h_connector);
-SPXAPI dialog_service_connector_handle_release(SPXRECOHANDLE h_connector);
-
-SPXAPI_(bool) dialog_service_connector_async_handle_is_valid(SPXASYNCHANDLE h_async);
-SPXAPI dialog_service_connector_async_handle_release(SPXASYNCHANDLE h_async);
-
-SPXAPI_(bool) dialog_service_connector_async_void_handle_is_valid(SPXASYNCHANDLE h_async);
-SPXAPI dialog_service_connector_async_void_handle_release(SPXASYNCHANDLE h_async);
-
-SPXAPI_(bool) dialog_service_connector_async_string_handle_is_valid(SPXASYNCHANDLE h_async);
-SPXAPI dialog_service_connector_async_string_handle_release(SPXASYNCHANDLE h_async);
-
-SPXAPI_(bool) dialog_service_connector_async_reco_result_handle_is_valid(SPXASYNCHANDLE h_async);
-SPXAPI dialog_service_connector_async_reco_result_handle_release(SPXASYNCHANDLE h_async);
-
-SPXAPI_(bool) dialog_service_connector_activity_received_event_handle_is_valid(SPXEVENTHANDLE h_event);
-SPXAPI dialog_service_connector_activity_received_event_release(SPXEVENTHANDLE h_event);
-
-SPXAPI_(bool) dialog_service_connector_turn_status_received_handle_is_valid(SPXEVENTHANDLE h_event);
-SPXAPI dialog_service_connector_turn_status_received_release(SPXEVENTHANDLE h_event);
-
-SPXAPI dialog_service_connector_get_property_bag(SPXRECOHANDLE h_connector, SPXPROPERTYBAGHANDLE* h_prop_bag);
-
-SPXAPI dialog_service_connector_connect(SPXRECOHANDLE h_connector);
-SPXAPI dialog_service_connector_connect_async(SPXRECOHANDLE h_connector, SPXASYNCHANDLE* p_async);
-SPXAPI dialog_service_connector_connect_async_wait_for(SPXASYNCHANDLE h_async, uint32_t milliseconds);
-
-SPXAPI dialog_service_connector_disconnect(SPXRECOHANDLE h_connector);
-SPXAPI dialog_service_connector_disconnect_async(SPXRECOHANDLE h_connector, SPXASYNCHANDLE* p_async);
-SPXAPI dialog_service_connector_disconnect_async_wait_for(SPXASYNCHANDLE h_async, uint32_t milliseconds);
-
-SPXAPI dialog_service_connector_send_activity(SPXRECOHANDLE h_connector, const char* activity, char* interaction_id);
-SPXAPI dialog_service_connector_send_activity_async(SPXRECOHANDLE h_connector, const char* activity, SPXASYNCHANDLE* p_async);
-SPXAPI dialog_service_connector_send_activity_async_wait_for(SPXASYNCHANDLE h_async, uint32_t milliseconds, char* interaction_id);
-
-SPXAPI dialog_service_connector_start_keyword_recognition(SPXRECOHANDLE h_connector, SPXKEYWORDHANDLE h_keyword);
-SPXAPI dialog_service_connector_start_keyword_recognition_async(SPXRECOHANDLE h_connector, SPXKEYWORDHANDLE h_keyword, SPXASYNCHANDLE* p_async);
-SPXAPI dialog_service_connector_start_keyword_recognition_async_wait_for(SPXASYNCHANDLE h_async, uint32_t milliseconds);
-
-SPXAPI dialog_service_connector_stop_keyword_recognition(SPXRECOHANDLE h_connector);
-SPXAPI dialog_service_connector_stop_keyword_recognition_async(SPXRECOHANDLE h_connector, SPXASYNCHANDLE* p_async);
-SPXAPI dialog_service_connector_stop_keyword_recognition_async_wait_for(SPXASYNCHANDLE h_async, uint32_t milliseconds);
-
-SPXAPI dialog_service_connector_listen_once(SPXRECOHANDLE h_connector, SPXRESULTHANDLE* p_result);
-SPXAPI dialog_service_connector_listen_once_async(SPXRECOHANDLE h_connector, SPXASYNCHANDLE* p_async);
-SPXAPI dialog_service_connector_listen_once_async_wait_for(SPXASYNCHANDLE h_async, uint32_t milliseconds, SPXRESULTHANDLE* p_result);
-
-SPXAPI dialog_service_connector_start_continuous_listening(SPXRECOHANDLE h_connector);
-SPXAPI dialog_service_connector_start_continuous_listening_async(SPXRECOHANDLE h_connector, SPXASYNCHANDLE* p_async);
-
-SPXAPI dialog_service_connector_stop_listening(SPXRECOHANDLE h_connector);
-SPXAPI dialog_service_connector_stop_listening_async(SPXRECOHANDLE h_connector, SPXASYNCHANDLE* p_async);
-
-typedef void(*PSESSION_CALLBACK_FUNC)(SPXRECOHANDLE h_connector, SPXEVENTHANDLE h_event, void* pv_context);
-
-SPXAPI dialog_service_connector_session_started_set_callback(SPXRECOHANDLE h_connector, PSESSION_CALLBACK_FUNC p_callback, void *pv_context);
-SPXAPI dialog_service_connector_session_stopped_set_callback(SPXRECOHANDLE h_connector, PSESSION_CALLBACK_FUNC p_callback, void *pv_context);
-
-SPXAPI dialog_service_connector_speech_start_detected_set_callback(SPXRECOHANDLE h_connector, PSESSION_CALLBACK_FUNC p_callback, void* pv_context);
-SPXAPI dialog_service_connector_speech_end_detected_set_callback(SPXRECOHANDLE h_connector, PSESSION_CALLBACK_FUNC p_callback, void* pv_context);
-
-typedef void(*PRECOGNITION_CALLBACK_FUNC)(SPXRECOHANDLE h_connector, SPXEVENTHANDLE h_event, void* pv_context);
-
-SPXAPI dialog_service_connector_recognized_set_callback(SPXRECOHANDLE h_connector, PRECOGNITION_CALLBACK_FUNC p_callback, void *pv_context);
-SPXAPI dialog_service_connector_recognizing_set_callback(SPXRECOHANDLE h_connector, PRECOGNITION_CALLBACK_FUNC p_callback, void *pv_context);
-SPXAPI dialog_service_connector_canceled_set_callback(SPXRECOHANDLE h_connector, PRECOGNITION_CALLBACK_FUNC p_callback, void *pv_context);
-SPXAPI dialog_service_connector_activity_received_set_callback(SPXRECOHANDLE h_connector, PRECOGNITION_CALLBACK_FUNC p_callback, void *pv_context);
-SPXAPI dialog_service_connector_turn_status_received_set_callback(SPXRECOHANDLE h_connector, PRECOGNITION_CALLBACK_FUNC p_callback, void* pv_context);
-
-SPXAPI dialog_service_connector_activity_received_event_get_activity_size(SPXEVENTHANDLE h_event, size_t* size);
-SPXAPI dialog_service_connector_activity_received_event_get_activity(SPXEVENTHANDLE h_event, char* p_activity, size_t size);
-SPXAPI_(bool) dialog_service_connector_activity_received_event_has_audio(SPXEVENTHANDLE h_event);
-SPXAPI dialog_service_connector_activity_received_event_get_audio(SPXEVENTHANDLE h_event, SPXAUDIOSTREAMHANDLE* p_audio);
-
-SPXAPI dialog_service_connector_turn_status_received_get_interaction_id_size(SPXEVENTHANDLE h_event, size_t* size);
-SPXAPI dialog_service_connector_turn_status_received_get_interaction_id(SPXEVENTHANDLE h_event, char* p_interaction_id, size_t size);
-SPXAPI dialog_service_connector_turn_status_received_get_conversation_id_size(SPXEVENTHANDLE h_event, size_t* size);
-SPXAPI dialog_service_connector_turn_status_received_get_conversation_id(SPXEVENTHANDLE h_event, char* p_interaction_id, size_t size);
-SPXAPI dialog_service_connector_turn_status_received_get_status(SPXEVENTHANDLE h_event, int* p_status);
-
-SPXAPI dialog_service_connector_recognized_size(SPXEVENTHANDLE h_event, uint32_t* size);
-SPXAPI dialog_service_connector_recognized_get_result(SPXEVENTHANDLE h_event, uint32_t* size);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_embedded_speech_config.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_embedded_speech_config.h
deleted file mode 100644
index b23b43a..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_embedded_speech_config.h
+++ /dev/null
@@ -1,21 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-#include "speechapi_c_speech_config.h"
-#include "speechapi_c_speech_recognition_model.h"
-#include "speechapi_c_speech_translation_model.h"
-
-SPXAPI embedded_speech_config_create(SPXSPEECHCONFIGHANDLE* hconfig);
-SPXAPI embedded_speech_config_add_path(SPXSPEECHCONFIGHANDLE hconfig, const char* path);
-SPXAPI embedded_speech_config_get_num_speech_reco_models(SPXSPEECHCONFIGHANDLE hconfig, uint32_t* numModels);
-SPXAPI embedded_speech_config_get_speech_reco_model(SPXSPEECHCONFIGHANDLE hconfig, uint32_t index, SPXSPEECHRECOMODELHANDLE* hmodel);
-SPXAPI embedded_speech_config_get_num_speech_translation_models(SPXSPEECHCONFIGHANDLE hconfig, uint32_t* numModels);
-SPXAPI embedded_speech_config_get_speech_translation_model(SPXSPEECHCONFIGHANDLE hconfig, uint32_t index, SPXSPEECHRECOMODELHANDLE* hmodel);
-SPXAPI embedded_speech_config_set_speech_recognition_model(SPXSPEECHCONFIGHANDLE hconfig, const char* name, const char* license);
-SPXAPI embedded_speech_config_set_speech_synthesis_voice(SPXSPEECHCONFIGHANDLE hconfig, const char* name, const char* license);
-SPXAPI embedded_speech_config_set_speech_translation_model(SPXSPEECHCONFIGHANDLE hconfig, const char* name, const char* license);
-SPXAPI embedded_speech_config_set_keyword_recognition_model(SPXSPEECHCONFIGHANDLE hconfig, const char* name, const char* license);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_error.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_error.h
deleted file mode 100644
index 94f8d04..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_error.h
+++ /dev/null
@@ -1,9 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-#include "azac_api_c_error.h" // must include after spxdebug.h or speechapi*.h (can NOT be included before)
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_ext_audiocompression.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_ext_audiocompression.h
deleted file mode 100644
index 8af2d78..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_ext_audiocompression.h
+++ /dev/null
@@ -1,105 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-const char CODECCREATEEXPORTNAME[] = "codec_create";
-struct codec_c_interface;
-typedef struct codec_c_interface* codec_c_interface_P;
-typedef codec_c_interface_P SPXCODECCTYPE;
-
-/*! \cond INTERNAL */
-
-/**
- * The SPX_CODEC_CLIENT_GET_PROPERTY represents the function reading a property value
- * @param id Property id.
- * @param buffer caller provided buffer to receive the value of the property
- * @param buffersize buffer size. If buffer is passed as null it will return the required buffer size.
- * @param codecContext A pointer to caller data provided through the codec_create call.
- * @return A return code or zero if successful.
- */
-typedef SPXAPI_RESULTTYPE (SPXAPI_CALLTYPE *SPX_CODEC_CLIENT_GET_PROPERTY)(const char* id, char* buffer, uint64_t* buffersize, void* codecContext);
-
-/**
- * The AUDIO_ENCODER_ONENCODEDDATA type represents an application-defined
- * status callback function used to provide the encoded data.
- * @param pBuffer audio data buffer.
- * @param bytesToWrite The length of pBuffer in bytes.
- * @param duration_100nanos The duration of the audio sample
- * @param pContext A pointer to the application-defined callback context.
- */
-typedef void(SPXAPI_CALLTYPE *AUDIO_ENCODER_ONENCODEDDATA)(const uint8_t* pBuffer, size_t bytesToWrite, uint64_t duration_100nanos, void* pContext);
-
-struct codec_c_interface
-{
- /**
- * @param codec codec Object returned by the codec_create call to be initialized
- * @param inputSamplesPerSecond sample rate for the input audio
- * @param inputBitsPerSample bits per sample for the input audio
- * @param inputChannels number of channel of the input audio
- * @param dataCallback An application defined callback.
- * @param pContext A pointer to the application-defined callback context.
- * @return A return code or zero if successful.
- */
- SPXAPI_RESULTTYPE (SPXAPI_CALLTYPE *init)(
- SPXCODECCTYPE codec,
- uint32_t inputSamplesPerSecond,
- uint8_t inputBitsPerSample,
- uint8_t inputChannels,
- AUDIO_ENCODER_ONENCODEDDATA datacallback,
- void* pContext);
-
- /**
- * @param codec codec object returned by the codec_create call.
- * @param buffer caller provided buffer to receive the value of the property
- * @param buffersize buffer size. If buffer is passed as null it will return the required buffer size.
- * @return A return code or zero if successful.
- */
- SPXAPI_RESULTTYPE (SPXAPI_CALLTYPE* get_format_type)(SPXCODECCTYPE codec, char* buffer, uint64_t* buffersize);
-
- /**
- * Encodes raw PCM data.
- * @param codec codec object returned by the codec_create call.
- * @param pBuffer The PCM data.
- * @param bytesToWrite The length pBuffer.
- * @return A return code or zero if successful.
- */
- SPXAPI_RESULTTYPE (SPXAPI_CALLTYPE *encode) (SPXCODECCTYPE codec, const uint8_t* pBuffer, size_t bytesToWrite);
-
- /**
- * Flushes the encoder.
- * @param codec codec object returned by the codec_create call.
- * @return A return code or zero if successful.
- */
- SPXAPI_RESULTTYPE(SPXAPI_CALLTYPE* flush)(SPXCODECCTYPE codec);
-
- /**
- * Terminate the encoded stream immediately
- * @param codec codec object returned by the codec_create call.
- * @return A return code or zero if successful.
- */
- SPXAPI_RESULTTYPE (SPXAPI_CALLTYPE *endstream)(SPXCODECCTYPE codec);
-
- /**
- * Destroys the encoder. The codec object should not be used anymore after this call.
- * @param codec codec object returned by the codec_create call.
- * @return A return code or zero if successful.
- */
- SPXAPI_RESULTTYPE (SPXAPI_CALLTYPE *destroy) (SPXCODECCTYPE codec);
-};
-
-/**
-* Creates a codec object. This method needs to be exported from the dll
-* @param codecid - codec id, can be null or empty if the library implements only one codec.
-* @param codecContext - context to be used to call back to the caller
-* @param property_read_func - function to read properties
-* @return A codec object
-*/
-
-SPX_EXTERN_C SPXDLL_EXPORT SPXCODECCTYPE codec_create(const char* codecid, void* codecContext, SPX_CODEC_CLIENT_GET_PROPERTY property_read_func);
-typedef SPXCODECCTYPE (*PCODEC_CREATE_FUNC)(const char* codecid, void* codecContext, SPX_CODEC_CLIENT_GET_PROPERTY property_read_func);
-
-/*! \endcond */
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_factory.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_factory.h
deleted file mode 100644
index 4e88ef9..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_factory.h
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-SPXAPI recognizer_create_speech_recognizer_from_config(SPXRECOHANDLE* phreco, SPXSPEECHCONFIGHANDLE hspeechconfig, SPXAUDIOCONFIGHANDLE haudioInput);
-SPXAPI recognizer_create_speech_recognizer_from_auto_detect_source_lang_config(SPXRECOHANDLE* phreco, SPXSPEECHCONFIGHANDLE hspeechconfig, SPXAUTODETECTSOURCELANGCONFIGHANDLE hautoDetectSourceLangConfig, SPXAUDIOCONFIGHANDLE haudioInput);
-SPXAPI recognizer_create_speech_recognizer_from_source_lang_config(SPXRECOHANDLE* phreco, SPXSPEECHCONFIGHANDLE hspeechconfig, SPXSOURCELANGCONFIGHANDLE hSourceLangConfig, SPXAUDIOCONFIGHANDLE haudioInput);
-SPXAPI recognizer_create_translation_recognizer_from_config(SPXRECOHANDLE* phreco, SPXSPEECHCONFIGHANDLE hspeechconfig, SPXAUDIOCONFIGHANDLE haudioInput);
-SPXAPI recognizer_create_translation_recognizer_from_auto_detect_source_lang_config(SPXRECOHANDLE* phreco, SPXSPEECHCONFIGHANDLE hspeechconfig, SPXAUTODETECTSOURCELANGCONFIGHANDLE hautoDetectSourceLangConfig, SPXAUDIOCONFIGHANDLE haudioInput);
-SPXAPI recognizer_create_keyword_recognizer_from_audio_config(SPXRECOHANDLE* phreco, SPXAUDIOCONFIGHANDLE haudio);
-SPXAPI recognizer_create_source_language_recognizer_from_auto_detect_source_lang_config(SPXRECOHANDLE* phreco, SPXSPEECHCONFIGHANDLE hspeechconfig, SPXAUTODETECTSOURCELANGCONFIGHANDLE hautoDetectSourceLangConfig, SPXAUDIOCONFIGHANDLE haudioInput);
-SPXAPI synthesizer_create_speech_synthesizer_from_config(SPXSYNTHHANDLE* phsynth, SPXSPEECHCONFIGHANDLE hspeechconfig, SPXAUDIOCONFIGHANDLE haudioOuput);
-SPXAPI synthesizer_create_speech_synthesizer_from_auto_detect_source_lang_config(SPXSYNTHHANDLE* phsynth, SPXSPEECHCONFIGHANDLE hspeechconfig, SPXAUTODETECTSOURCELANGCONFIGHANDLE hautoDetectSourceLangConfig, SPXAUDIOCONFIGHANDLE haudioOutput);
-SPXAPI dialog_service_connector_create_dialog_service_connector_from_config(SPXRECOHANDLE* phreco, SPXSPEECHCONFIGHANDLE hspeechconfig, SPXAUDIOCONFIGHANDLE haudioInput);
-//SPXAPI recognizer_create_conversation_transcriber_from_config(SPXRECOHANDLE* phreco, SPXAUDIOCONFIGHANDLE haudioInput);
-SPXAPI recognizer_create_conversation_transcriber_from_config(SPXRECOHANDLE* phreco, SPXSPEECHCONFIGHANDLE hspeechconfig, SPXAUDIOCONFIGHANDLE haudioInput);
-SPXAPI recognizer_create_conversation_transcriber_from_auto_detect_source_lang_config(SPXRECOHANDLE* phreco, SPXSPEECHCONFIGHANDLE hspeechconfig, SPXAUTODETECTSOURCELANGCONFIGHANDLE hautoDetectSourceLangConfig, SPXAUDIOCONFIGHANDLE haudioInput);
-SPXAPI recognizer_create_conversation_transcriber_from_source_lang_config(SPXRECOHANDLE* phreco, SPXSPEECHCONFIGHANDLE hspeechconfig, SPXSOURCELANGCONFIGHANDLE hSourceLangConfig, SPXAUDIOCONFIGHANDLE haudioInput);
-SPXAPI recognizer_join_conversation(SPXCONVERSATIONHANDLE hconv, SPXRECOHANDLE hreco);
-SPXAPI recognizer_leave_conversation(SPXRECOHANDLE hreco);
-SPXAPI recognizer_create_meeting_transcriber_from_config(SPXRECOHANDLE* phreco, SPXAUDIOCONFIGHANDLE haudioInput);
-SPXAPI recognizer_join_meeting(SPXMEETINGHANDLE hmeeting, SPXRECOHANDLE hreco);
-SPXAPI recognizer_leave_meeting(SPXRECOHANDLE hreco);
-SPXAPI transcriber_get_participants_list(SPXRECOHANDLE hreco, SPXPARTICIPANTHANDLE* participants, int size);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_grammar.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_grammar.h
deleted file mode 100644
index baf78da..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_grammar.h
+++ /dev/null
@@ -1,34 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_c_grammar.h: Public API declarations for Grammar related C methods and typedefs
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-typedef enum
-{
- // A Recognition Factor will apply to grammars that are referenced as individual words.
- PartialPhrase = 1
-} GrammarList_RecognitionFactorScope;
-
-SPXAPI_(bool) grammar_handle_is_valid(SPXGRAMMARHANDLE hgrammar);
-SPXAPI phrase_list_grammar_from_recognizer_by_name(SPXGRAMMARHANDLE* hgrammar, SPXRECOHANDLE hreco, const char* name);
-SPXAPI grammar_handle_release(SPXGRAMMARHANDLE hgrammar);
-
-SPXAPI phrase_list_grammar_add_phrase(SPXGRAMMARHANDLE hgrammar, SPXPHRASEHANDLE hphrase);
-SPXAPI phrase_list_grammar_set_weight(SPXGRAMMARHANDLE hgrammar, double weight);
-SPXAPI phrase_list_grammar_clear(SPXGRAMMARHANDLE hgrammar);
-
-SPXAPI_(bool) grammar_phrase_handle_is_valid(SPXPHRASEHANDLE hphrase);
-SPXAPI grammar_phrase_create_from_text(SPXPHRASEHANDLE* hphrase, const char* phrase);
-SPXAPI grammar_phrase_handle_release(SPXPHRASEHANDLE hphrase);
-
-SPXAPI grammar_create_from_storage_id(SPXGRAMMARHANDLE *hgrammarlist, const char *id);
-SPXAPI grammar_list_from_recognizer(SPXGRAMMARHANDLE *hgrammarlist, SPXRECOHANDLE hreco);
-SPXAPI grammar_list_add_grammar(SPXGRAMMARHANDLE hgrammarlist, SPXGRAMMARHANDLE hgrammar);
-SPXAPI grammar_list_set_recognition_factor(SPXGRAMMARHANDLE hgrammarlist, double factor, GrammarList_RecognitionFactorScope scope);
-SPXAPI class_language_model_from_storage_id(SPXGRAMMARHANDLE* hclm, const char *storageid);
-SPXAPI class_language_model_assign_class(SPXGRAMMARHANDLE hclm, const char *classname, SPXGRAMMARHANDLE hgrammar);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_hybrid_speech_config.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_hybrid_speech_config.h
deleted file mode 100644
index 86abda0..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_hybrid_speech_config.h
+++ /dev/null
@@ -1,9 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-SPXAPI hybrid_speech_config_create(SPXSPEECHCONFIGHANDLE* hconfig, SPXSPEECHCONFIGHANDLE hcloudSpeechConfig, SPXSPEECHCONFIGHANDLE hembeddedSpeechConfig);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_json.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_json.h
deleted file mode 100644
index 18347bd..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_json.h
+++ /dev/null
@@ -1,37 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-SPXAPI__(const char*) ai_core_string_create(const char* str, size_t size);
-SPXAPI_(void) ai_core_string_free(const char* str);
-
-SPXAPI_(int) ai_core_json_parser_create(SPXHANDLE* parser, const char* json, size_t jsize); // returns item for root
-SPXAPI_(bool) ai_core_json_parser_handle_is_valid(SPXHANDLE parser);
-SPXAPI ai_core_json_parser_handle_release(SPXHANDLE parser);
-
-SPXAPI_(int) ai_core_json_builder_create(SPXHANDLE* builder, const char* json, size_t jsize); // returns item for root
-SPXAPI_(bool) ai_core_json_builder_handle_is_valid(SPXHANDLE builder);
-SPXAPI ai_core_json_builder_handle_release(SPXHANDLE builder);
-
-SPXAPI_(int) ai_core_json_item_count(SPXHANDLE parserOrBuilder, int item);
-SPXAPI_(int) ai_core_json_item_at(SPXHANDLE parserOrBuilder, int item, int index, const char* find); // returns item found
-SPXAPI_(int) ai_core_json_item_next(SPXHANDLE parserOrBuilder, int item); // returns next item
-SPXAPI_(int) ai_core_json_item_name(SPXHANDLE parserOrBuilder, int item); // returns item representing name of item specified
-
-SPXAPI_(int) ai_core_json_value_kind(SPXHANDLE parserOrBuilder, int item);
-SPXAPI_(bool) ai_core_json_value_as_bool(SPXHANDLE parserOrBuilder, int item, bool defaultValue);
-SPXAPI_(double) ai_core_json_value_as_double(SPXHANDLE parserOrBuilder, int item, double defaultValue);
-SPXAPI_(int64_t) ai_core_json_value_as_int(SPXHANDLE parserOrBuilder, int item, int64_t defaultValue);
-SPXAPI_(uint64_t) ai_core_json_value_as_uint(SPXHANDLE parserOrBuilder, int item, uint64_t defaultValue);
-
-SPXAPI__(const char*) ai_core_json_value_as_string_ptr(SPXHANDLE parserOrBuilder, int item, size_t* size);
-
-SPXAPI__(const char*) ai_core_json_value_as_string_copy(SPXHANDLE parserOrBuilder, int item, const char* defaultValue);
-SPXAPI__(const char*) ai_core_json_value_as_json_copy(SPXHANDLE parserOrBuilder, int item);
-
-SPXAPI_(int) ai_core_json_builder_item_add(SPXHANDLE builder, int item, int index, const char* find);
-SPXAPI ai_core_json_builder_item_set(SPXHANDLE builder, int item, const char* json, size_t jsize, int kind, const char* str, size_t ssize, bool boolean, int integer, double number);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_keyword_recognition_model.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_keyword_recognition_model.h
deleted file mode 100644
index 6bbb954..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_keyword_recognition_model.h
+++ /dev/null
@@ -1,17 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_c_keyword_recognition_model.h: Public API declarations for KeywordRecognitionModel related C methods and typedefs
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-
-SPXAPI_(bool) keyword_recognition_model_handle_is_valid(SPXKEYWORDHANDLE hkeyword);
-SPXAPI keyword_recognition_model_handle_release(SPXKEYWORDHANDLE hkeyword);
-
-SPXAPI keyword_recognition_model_create_from_file(const char* fileName, SPXKEYWORDHANDLE* phkwmodel);
-SPXAPI keyword_recognition_model_create_from_config(SPXSPEECHCONFIGHANDLE hconfig, SPXKEYWORDHANDLE* phkwmodel);
-SPXAPI keyword_recognition_model_add_user_defined_wake_word(SPXKEYWORDHANDLE hkwmodel, const char* wakeWord);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_meeting.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_meeting.h
deleted file mode 100644
index 84f8df6..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_meeting.h
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_c_meeting.h: Public API declarations for meeting related C methods and typedefs
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-SPXAPI meeting_create_from_config(SPXMEETINGHANDLE* phmeeting, SPXSPEECHCONFIGHANDLE hspeechconfig, const char* id);
-SPXAPI meeting_update_participant_by_user_id(SPXMEETINGHANDLE hconv, bool add, const char* userId);
-SPXAPI meeting_update_participant_by_user(SPXMEETINGHANDLE hconv, bool add, SPXUSERHANDLE huser);
-SPXAPI meeting_update_participant(SPXMEETINGHANDLE hconv, bool add, SPXPARTICIPANTHANDLE hparticipant);
-SPXAPI meeting_get_meeting_id(SPXMEETINGHANDLE hconv, char* id, size_t size);
-SPXAPI meeting_end_meeting(SPXMEETINGHANDLE hconv);
-SPXAPI meeting_get_property_bag(SPXMEETINGHANDLE hconv, SPXPROPERTYBAGHANDLE* phpropbag);
-SPXAPI meeting_release_handle(SPXHANDLE handle);
-
-SPXAPI meeting_start_meeting(SPXMEETINGHANDLE hconv);
-SPXAPI meeting_delete_meeting(SPXMEETINGHANDLE hconv);
-SPXAPI meeting_lock_meeting(SPXMEETINGHANDLE hconv);
-SPXAPI meeting_unlock_meeting(SPXMEETINGHANDLE hconv);
-SPXAPI meeting_mute_all_participants(SPXMEETINGHANDLE hconv);
-SPXAPI meeting_unmute_all_participants(SPXMEETINGHANDLE hconv);
-SPXAPI meeting_mute_participant(SPXMEETINGHANDLE hconv, const char * participantId);
-SPXAPI meeting_unmute_participant(SPXMEETINGHANDLE hconv, const char * participantId);
-
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_meeting_transcription_result.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_meeting_transcription_result.h
deleted file mode 100644
index 8d48e99..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_meeting_transcription_result.h
+++ /dev/null
@@ -1,12 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_c_meeting_transcriber_result.h: Public API declarations for MeetingTranscriberResult related C methods and enumerations
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-SPXAPI meeting_transcription_result_get_user_id(SPXRESULTHANDLE hresult, char* pszUserId, uint32_t cchUserId);
-SPXAPI meeting_transcription_result_get_utterance_id(SPXRESULTHANDLE hresult, char* pszUtteranceId, uint32_t cchUtteranceId);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_operations.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_operations.h
deleted file mode 100644
index 47306b6..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_operations.h
+++ /dev/null
@@ -1,12 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_c_operations.h: Public API declaration for common operation methods in the C API layer.
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-SPXAPI speechapi_async_handle_release(SPXASYNCHANDLE h_async);
-SPXAPI speechapi_async_wait_for(SPXASYNCHANDLE h_async, uint32_t milliseconds);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_participant.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_participant.h
deleted file mode 100644
index 0890169..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_participant.h
+++ /dev/null
@@ -1,15 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_c_participant.h: Public API declarations for conversation transcriber participant related C methods and enumerations
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-SPXAPI participant_create_handle(SPXPARTICIPANTHANDLE* hparticipant, const char* userId, const char* preferred_language, const char* voice_signature);
-SPXAPI participant_release_handle(SPXPARTICIPANTHANDLE hparticipant);
-SPXAPI participant_set_preferred_langugage(SPXPARTICIPANTHANDLE hparticipant, const char* preferred_language);
-SPXAPI participant_set_voice_signature(SPXPARTICIPANTHANDLE hparticipant, const char* voice_signature);
-SPXAPI participant_get_property_bag(SPXPARTICIPANTHANDLE hparticipant, SPXPROPERTYBAGHANDLE* hpropbag);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_pronunciation_assessment_config.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_pronunciation_assessment_config.h
deleted file mode 100644
index 9169594..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_pronunciation_assessment_config.h
+++ /dev/null
@@ -1,33 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-typedef enum
-{
- PronunciationAssessmentGradingSystem_FivePoint = 1,
- PronunciationAssessmentGradingSystem_HundredMark = 2
-} Pronunciation_Assessment_Grading_System;
-
-typedef enum
-{
- PronunciationAssessmentGranularity_Phoneme = 1,
- PronunciationAssessmentGranularity_Word = 2,
- PronunciationAssessmentGranularity_FullText = 3
-} Pronunciation_Assessment_Granularity;
-
-SPXAPI create_pronunciation_assessment_config(SPXPRONUNCIATIONASSESSMENTCONFIGHANDLE* hPronunciationAssessmentConfig,
- const char* referenceText,
- Pronunciation_Assessment_Grading_System gradingSystem,
- Pronunciation_Assessment_Granularity granularity,
- bool enableMiscue);
-SPXAPI create_pronunciation_assessment_config_from_json(SPXPRONUNCIATIONASSESSMENTCONFIGHANDLE* hPronunciationAssessmentConfig, const char* json);
-SPXAPI_(bool) pronunciation_assessment_config_is_handle_valid(SPXPRONUNCIATIONASSESSMENTCONFIGHANDLE hPronunciationAssessmentConfig);
-SPXAPI pronunciation_assessment_config_release(SPXPRONUNCIATIONASSESSMENTCONFIGHANDLE hPronunciationAssessmentConfig);
-SPXAPI pronunciation_assessment_config_get_property_bag(
- SPXPRONUNCIATIONASSESSMENTCONFIGHANDLE hPronunciationAssessmentConfig, SPXPROPERTYBAGHANDLE* hpropbag);
-SPXAPI__(const char*) pronunciation_assessment_config_to_json(SPXPRONUNCIATIONASSESSMENTCONFIGHANDLE hPronunciationAssessmentConfig);
-SPXAPI pronunciation_assessment_config_apply_to_recognizer(SPXPRONUNCIATIONASSESSMENTCONFIGHANDLE hPronunciationAssessmentConfig, SPXRECOHANDLE hreco);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_property_bag.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_property_bag.h
deleted file mode 100644
index 841a5b2..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_property_bag.h
+++ /dev/null
@@ -1,159 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_c_property_bag.h: Public API declarations for Property Bag related C methods
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-SPXAPI property_bag_create(SPXPROPERTYBAGHANDLE* hpropbag);
-SPXAPI_(bool) property_bag_is_valid(SPXPROPERTYBAGHANDLE hpropbag);
-SPXAPI property_bag_set_string(SPXPROPERTYBAGHANDLE hpropbag, int id, const char* name, const char* value);
-SPXAPI__(const char*) property_bag_get_string(SPXPROPERTYBAGHANDLE hpropbag, int id, const char* name, const char* defaultValue);
-SPXAPI property_bag_free_string(const char* value);
-SPXAPI property_bag_release(SPXPROPERTYBAGHANDLE hpropbag);
-SPXAPI property_bag_copy(SPXPROPERTYBAGHANDLE hfrom, SPXPROPERTYBAGHANDLE hto);
-
-// NOTE: Currently this enum is duplicated with C++ side,
-// because SWIG cannot properly resolve conditional compilation.
-#ifndef __cplusplus
-enum PropertyId
-{
- SpeechServiceConnection_Key = 1000,
- SpeechServiceConnection_Endpoint = 1001,
- SpeechServiceConnection_Region = 1002,
- SpeechServiceAuthorization_Token = 1003,
- SpeechServiceAuthorization_Type = 1004,
- SpeechServiceConnection_EndpointId = 1005,
- SpeechServiceConnection_Host = 1006,
-
- SpeechServiceConnection_ProxyHostName = 1100,
- SpeechServiceConnection_ProxyPort = 1101,
- SpeechServiceConnection_ProxyUserName = 1102,
- SpeechServiceConnection_ProxyPassword = 1103,
- SpeechServiceConnection_Url = 1104,
- SpeechServiceConnection_ProxyHostBypass = 1105,
-
- SpeechServiceConnection_TranslationToLanguages = 2000,
- SpeechServiceConnection_TranslationVoice = 2001,
- SpeechServiceConnection_TranslationFeatures = 2002,
-
- SpeechServiceConnection_RecoMode = 3000,
- SpeechServiceConnection_RecoLanguage = 3001,
- Speech_SessionId = 3002,
- SpeechServiceConnection_UserDefinedQueryParameters = 3003,
- SpeechServiceConnection_RecoModelBackend = 3004,
- SpeechServiceConnection_RecoModelName = 3005,
- SpeechServiceConnection_RecoModelKey = 3006,
- SpeechServiceConnection_RecoModelIniFile = 3007,
-
- SpeechServiceConnection_SynthLanguage = 3100,
- SpeechServiceConnection_SynthVoice = 3101,
- SpeechServiceConnection_SynthOutputFormat = 3102,
- SpeechServiceConnection_SynthEnableCompressedAudioTransmission = 3103,
- SpeechServiceConnection_SynthBackend = 3110,
- SpeechServiceConnection_SynthOfflineDataPath = 3112,
- SpeechServiceConnection_SynthOfflineVoice = 3113,
- SpeechServiceConnection_SynthModelKey = 3114,
- SpeechServiceConnection_VoicesListEndpoint = 3130,
-
- SpeechServiceConnection_InitialSilenceTimeoutMs = 3200,
- SpeechServiceConnection_EndSilenceTimeoutMs = 3201,
- SpeechServiceConnection_EnableAudioLogging = 3202,
- SpeechServiceConnection_LanguageIdMode = 3205,
- SpeechServiceConnection_TranslationCategoryId = 3206,
-
- SpeechServiceConnection_AutoDetectSourceLanguages = 3300,
- SpeechServiceConnection_AutoDetectSourceLanguageResult = 3301,
-
- SpeechServiceResponse_RequestDetailedResultTrueFalse = 4000,
- SpeechServiceResponse_RequestProfanityFilterTrueFalse = 4001,
- SpeechServiceResponse_ProfanityOption = 4002,
- SpeechServiceResponse_PostProcessingOption = 4003,
- SpeechServiceResponse_RequestWordLevelTimestamps = 4004,
- SpeechServiceResponse_StablePartialResultThreshold = 4005,
- SpeechServiceResponse_OutputFormatOption = 4006,
- SpeechServiceResponse_RequestSnr = 4007,
-
- SpeechServiceResponse_TranslationRequestStablePartialResult = 4100,
-
- SpeechServiceResponse_RequestWordBoundary = 4200,
- SpeechServiceResponse_RequestPunctuationBoundary = 4201,
- SpeechServiceResponse_RequestSentenceBoundary = 4202,
- SpeechServiceResponse_SynthesisEventsSyncToAudio = 4210,
-
- SpeechServiceResponse_JsonResult = 5000,
- SpeechServiceResponse_JsonErrorDetails = 5001,
- SpeechServiceResponse_RecognitionLatencyMs = 5002,
- SpeechServiceResponse_RecognitionBackend = 5003,
-
- SpeechServiceResponse_SynthesisFirstByteLatencyMs = 5010,
- SpeechServiceResponse_SynthesisFinishLatencyMs = 5011,
- SpeechServiceResponse_SynthesisUnderrunTimeMs = 5012,
- SpeechServiceResponse_SynthesisConnectionLatencyMs = 5013,
- SpeechServiceResponse_SynthesisNetworkLatencyMs = 5014,
- SpeechServiceResponse_SynthesisServiceLatencyMs = 5015,
- SpeechServiceResponse_DiarizeIntermediateResults = 5025,
-
- CancellationDetails_Reason = 6000,
- CancellationDetails_ReasonText = 6001,
- CancellationDetails_ReasonDetailedText = 6002,
-
- AudioConfig_DeviceNameForCapture = 8000,
- AudioConfig_NumberOfChannelsForCapture = 8001,
- AudioConfig_SampleRateForCapture = 8002,
- AudioConfig_BitsPerSampleForCapture = 8003,
- AudioConfig_AudioSource = 8004,
- AudioConfig_DeviceNameForRender = 8005,
- AudioConfig_PlaybackBufferLengthInMs = 8006,
-
- Speech_LogFilename = 9001,
- Speech_SegmentationSilenceTimeoutMs = 9002,
- Speech_SegmentationMaximumTimeMs = 9003,
- Speech_SegmentationStrategy = 9004,
-
- Speech_StartEventSensitivity = 9010,
-
- Conversation_ApplicationId = 10000,
- Conversation_DialogType = 10001,
- Conversation_Initial_Silence_Timeout = 10002,
- Conversation_From_Id = 10003,
- Conversation_Conversation_Id = 10004,
- Conversation_Custom_Voice_Deployment_Ids = 10005,
- Conversation_Speech_Activity_Template = 10006,
- Conversation_ParticipantId = 10007,
- DataBuffer_TimeStamp = 11001,
- DataBuffer_UserId = 11002,
-
- PronunciationAssessment_ReferenceText = 12001,
- PronunciationAssessment_GradingSystem = 12002,
- PronunciationAssessment_Granularity = 12003,
- PronunciationAssessment_EnableMiscue = 12005,
- PronunciationAssessment_PhonemeAlphabet = 12006,
- PronunciationAssessment_NBestPhonemeCount = 12007,
- PronunciationAssessment_EnableProsodyAssessment = 12008,
- PronunciationAssessment_Json = 12009,
- PronunciationAssessment_Params = 12010,
-
- SpeechTranslation_ModelName = 13100,
- SpeechTranslation_ModelKey = 13101,
-
- KeywordRecognition_ModelName = 13200,
- KeywordRecognition_ModelKey = 13201,
-
- EmbeddedSpeech_EnablePerformanceMetrics = 13300,
-
- SpeechSynthesis_FrameTimeoutInterval = 14101,
- SpeechSynthesis_RtfTimeoutThreshold = 14102
-};
-
-typedef enum _ParticipantChangedReason
-{
- JoinedConversation,
- LeftConversation,
- Updated
-} ParticipantChangedReason;
-#endif
-
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_recognizer.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_recognizer.h
deleted file mode 100644
index 18d1fda..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_recognizer.h
+++ /dev/null
@@ -1,66 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_c_recognizer.h: Public API declarations for Recognizer related C methods and typedefs
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-
-SPXAPI_(bool) recognizer_handle_is_valid(SPXRECOHANDLE hreco);
-SPXAPI recognizer_handle_release(SPXRECOHANDLE hreco);
-
-SPXAPI_(bool) recognizer_async_handle_is_valid(SPXASYNCHANDLE hasync);
-SPXAPI recognizer_async_handle_release(SPXASYNCHANDLE hasync);
-
-SPXAPI_(bool) recognizer_result_handle_is_valid(SPXRESULTHANDLE hresult);
-SPXAPI recognizer_result_handle_release(SPXRESULTHANDLE hresult);
-
-SPXAPI_(bool) recognizer_event_handle_is_valid(SPXEVENTHANDLE hevent);
-SPXAPI recognizer_event_handle_release(SPXEVENTHANDLE hevent);
-
-SPXAPI recognizer_get_property_bag(SPXRECOHANDLE hreco, SPXPROPERTYBAGHANDLE* hpropbag);
-
-SPXAPI recognizer_recognize_once(SPXRECOHANDLE hreco, SPXRESULTHANDLE* phresult);
-SPXAPI recognizer_recognize_once_async(SPXRECOHANDLE hreco, SPXASYNCHANDLE* phasync);
-SPXAPI recognizer_recognize_once_async_wait_for(SPXASYNCHANDLE hasync, uint32_t milliseconds, SPXRESULTHANDLE* phresult);
-
-SPXAPI recognizer_start_continuous_recognition(SPXRECOHANDLE hreco);
-SPXAPI recognizer_start_continuous_recognition_async(SPXRECOHANDLE hreco, SPXASYNCHANDLE* phasync);
-SPXAPI recognizer_start_continuous_recognition_async_wait_for(SPXASYNCHANDLE hasync, uint32_t milliseconds);
-
-SPXAPI recognizer_stop_continuous_recognition(SPXRECOHANDLE hreco);
-SPXAPI recognizer_stop_continuous_recognition_async(SPXRECOHANDLE hreco, SPXASYNCHANDLE* phasync);
-SPXAPI recognizer_stop_continuous_recognition_async_wait_for(SPXASYNCHANDLE hasync, uint32_t milliseconds);
-
-SPXAPI recognizer_start_keyword_recognition(SPXRECOHANDLE hreco, SPXKEYWORDHANDLE hkeyword);
-SPXAPI recognizer_start_keyword_recognition_async(SPXRECOHANDLE hreco, SPXKEYWORDHANDLE hkeyword, SPXASYNCHANDLE* phasync);
-SPXAPI recognizer_start_keyword_recognition_async_wait_for(SPXASYNCHANDLE hasync, uint32_t milliseconds);
-
-SPXAPI recognizer_recognize_keyword_once(SPXRECOHANDLE hreco, SPXKEYWORDHANDLE hkeyword, SPXRESULTHANDLE* phresult);
-SPXAPI recognizer_recognize_keyword_once_async(SPXRECOHANDLE hreco, SPXKEYWORDHANDLE hkeyword, SPXASYNCHANDLE* phasync);
-SPXAPI recognizer_recognize_keyword_once_async_wait_for(SPXASYNCHANDLE hasync, uint32_t milliseconds, SPXRESULTHANDLE* phresult);
-
-SPXAPI recognizer_stop_keyword_recognition(SPXRECOHANDLE hreco);
-SPXAPI recognizer_stop_keyword_recognition_async(SPXRECOHANDLE hreco, SPXASYNCHANDLE* phasync);
-SPXAPI recognizer_stop_keyword_recognition_async_wait_for(SPXASYNCHANDLE hasync, uint32_t milliseconds);
-
-typedef void (*PSESSION_CALLBACK_FUNC)(SPXRECOHANDLE hreco, SPXEVENTHANDLE hevent, void* pvContext);
-SPXAPI recognizer_session_started_set_callback(SPXRECOHANDLE hreco, PSESSION_CALLBACK_FUNC pCallback, void* pvContext);
-SPXAPI recognizer_session_stopped_set_callback(SPXRECOHANDLE hreco, PSESSION_CALLBACK_FUNC pCallback, void* pvContext);
-SPXAPI recognizer_token_requested_set_callback(SPXRECOHANDLE hreco, PSESSION_CALLBACK_FUNC pCallback, void* pvContext);
-
-typedef void (*PRECOGNITION_CALLBACK_FUNC)(SPXRECOHANDLE hreco, SPXEVENTHANDLE hevent, void* pvContext);
-SPXAPI recognizer_recognizing_set_callback(SPXRECOHANDLE hreco, PRECOGNITION_CALLBACK_FUNC pCallback, void* pvContext);
-SPXAPI recognizer_recognized_set_callback(SPXRECOHANDLE hreco, PRECOGNITION_CALLBACK_FUNC pCallback, void* pvContext);
-SPXAPI recognizer_canceled_set_callback(SPXRECOHANDLE hreco, PRECOGNITION_CALLBACK_FUNC pCallback, void* pvContext);
-SPXAPI recognizer_speech_start_detected_set_callback(SPXRECOHANDLE hreco, PRECOGNITION_CALLBACK_FUNC pCallback, void* pvContext);
-SPXAPI recognizer_speech_end_detected_set_callback(SPXRECOHANDLE hreco, PRECOGNITION_CALLBACK_FUNC pCallback, void* pvContext);
-
-SPXAPI recognizer_session_event_get_session_id(SPXEVENTHANDLE hevent, char* pszSessionId, uint32_t cchSessionId);
-SPXAPI recognizer_recognition_event_get_offset(SPXEVENTHANDLE hevent, uint64_t *pszOffset);
-SPXAPI recognizer_recognition_event_get_result(SPXEVENTHANDLE hevent, SPXRESULTHANDLE* phresult);
-
-SPXAPI recognizer_connection_event_get_property_bag(SPXEVENTHANDLE hevent, SPXPROPERTYBAGHANDLE* hpropbag);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_result.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_result.h
deleted file mode 100644
index 812744c..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_result.h
+++ /dev/null
@@ -1,107 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_c_result.h: Public API declarations for Result related C methods and enumerations
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-enum Result_Reason
-{
- ResultReason_NoMatch = 0,
- ResultReason_Canceled = 1,
- ResultReason_RecognizingSpeech = 2,
- ResultReason_RecognizedSpeech = 3,
- ResultReason_TranslatingSpeech = 6,
- ResultReason_TranslatedSpeech = 7,
- ResultReason_SynthesizingAudio = 8,
- ResultReason_SynthesizingAudioComplete = 9,
- ResultReason_RecognizingKeyword = 10,
- ResultReason_RecognizedKeyword = 11,
- ResultReason_SynthesizingAudioStart = 12
-};
-typedef enum Result_Reason Result_Reason;
-
-enum Result_CancellationReason
-{
- CancellationReason_Error = 1,
- CancellationReason_EndOfStream = 2,
- CancellationReason_UserCancelled = 3,
-};
-
-typedef enum Result_CancellationReason Result_CancellationReason;
-
-enum Result_CancellationErrorCode
-{
- CancellationErrorCode_NoError = 0,
- CancellationErrorCode_AuthenticationFailure = 1,
- CancellationErrorCode_BadRequest = 2,
- CancellationErrorCode_TooManyRequests = 3,
- CancellationErrorCode_Forbidden = 4,
- CancellationErrorCode_ConnectionFailure = 5,
- CancellationErrorCode_ServiceTimeout = 6,
- CancellationErrorCode_ServiceError = 7,
- CancellationErrorCode_ServiceUnavailable = 8,
- CancellationErrorCode_RuntimeError = 9
-};
-typedef enum Result_CancellationErrorCode Result_CancellationErrorCode;
-
-enum Result_NoMatchReason
-{
- NoMatchReason_NotRecognized = 1,
- NoMatchReason_InitialSilenceTimeout = 2,
- NoMatchReason_InitialBabbleTimeout = 3,
- NoMatchReason_KeywordNotRecognized = 4,
- NoMatchReason_EndSilenceTimeout = 5
-};
-typedef enum Result_NoMatchReason Result_NoMatchReason;
-
-enum Synthesis_VoiceType
-{
- SynthesisVoiceType_OnlineNeural = 1,
- SynthesisVoiceType_OnlineStandard = 2,
- SynthesisVoiceType_OfflineNeural = 3,
- SynthesisVoiceType_OfflineStandard = 4
-};
-typedef enum Synthesis_VoiceType Synthesis_VoiceType;
-
-SPXAPI result_get_reason(SPXRESULTHANDLE hresult, Result_Reason* reason);
-SPXAPI result_get_reason_canceled(SPXRESULTHANDLE hresult, Result_CancellationReason* reason);
-SPXAPI result_get_canceled_error_code(SPXRESULTHANDLE hresult, Result_CancellationErrorCode* errorCode);
-SPXAPI result_get_no_match_reason(SPXRESULTHANDLE hresult, Result_NoMatchReason* reason);
-
-SPXAPI result_get_result_id(SPXRESULTHANDLE hresult, char* pszResultId, uint32_t cchResultId);
-
-SPXAPI result_get_text(SPXRESULTHANDLE hresult, char* pszText, uint32_t cchText);
-SPXAPI result_get_offset(SPXRESULTHANDLE hresult, uint64_t* offset);
-SPXAPI result_get_duration(SPXRESULTHANDLE hresult, uint64_t* duration);
-SPXAPI result_get_channel(SPXRESULTHANDLE hresult, uint32_t* channel);
-
-SPXAPI result_get_property_bag(SPXRESULTHANDLE hresult, SPXPROPERTYBAGHANDLE* hpropbag);
-
-SPXAPI synth_result_get_result_id(SPXRESULTHANDLE hresult, char* resultId, uint32_t resultIdLength);
-SPXAPI synth_result_get_reason(SPXRESULTHANDLE hresult, Result_Reason* reason);
-SPXAPI synth_result_get_reason_canceled(SPXRESULTHANDLE hresult, Result_CancellationReason* reason);
-SPXAPI synth_result_get_canceled_error_code(SPXRESULTHANDLE hresult, Result_CancellationErrorCode* errorCode);
-SPXAPI synth_result_get_audio_data(SPXRESULTHANDLE hresult, uint8_t* buffer, uint32_t bufferSize, uint32_t* filledSize);
-SPXAPI synth_result_get_audio_length_duration(SPXRESULTHANDLE hresult, uint32_t* audioLength, uint64_t* audioDuration);
-SPXAPI synth_result_get_audio_format(SPXRESULTHANDLE hresult, SPXAUDIOSTREAMFORMATHANDLE* hformat);
-SPXAPI synth_result_get_property_bag(SPXRESULTHANDLE hresult, SPXPROPERTYBAGHANDLE* hpropbag);
-
-SPXAPI synthesis_voices_result_get_result_id(SPXRESULTHANDLE hresult, char* resultId, uint32_t resultIdLength);
-SPXAPI synthesis_voices_result_get_reason(SPXRESULTHANDLE hresult, Result_Reason* reason);
-SPXAPI synthesis_voices_result_get_voice_num(SPXRESULTHANDLE hresult, uint32_t* voiceNum);
-SPXAPI synthesis_voices_result_get_voice_info(SPXRESULTHANDLE hresult, uint32_t index, SPXRESULTHANDLE* hVoiceInfo);
-SPXAPI synthesis_voices_result_get_property_bag(SPXRESULTHANDLE hresult, SPXPROPERTYBAGHANDLE* hpropbag);
-
-SPXAPI voice_info_handle_release(SPXRESULTHANDLE hVoiceInfo);
-SPXAPI__(const char*) voice_info_get_name(SPXRESULTHANDLE hVoiceInfo);
-SPXAPI__(const char*) voice_info_get_locale(SPXRESULTHANDLE hVoiceInfo);
-SPXAPI__(const char*) voice_info_get_short_name(SPXRESULTHANDLE hVoiceInfo);
-SPXAPI__(const char*) voice_info_get_local_name(SPXRESULTHANDLE hVoiceInfo);
-SPXAPI__(const char*) voice_info_get_style_list(SPXRESULTHANDLE hVoiceInfo);
-SPXAPI__(const char*) voice_info_get_voice_path(SPXRESULTHANDLE hVoiceInfo);
-SPXAPI voice_info_get_voice_type(SPXRESULTHANDLE hVoiceInfo, Synthesis_VoiceType* voiceType);
-SPXAPI voice_info_get_property_bag(SPXRESULTHANDLE hVoiceInfo, SPXPROPERTYBAGHANDLE* hpropbag);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_session.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_session.h
deleted file mode 100644
index 5f2bde6..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_session.h
+++ /dev/null
@@ -1,16 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_c_session.h: Public API declarations for Session related C methods
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-SPXAPI session_from_recognizer(SPXRECOHANDLE hreco, SPXSESSIONHANDLE* phsession);
-
-SPXAPI_(bool) session_handle_is_valid(SPXSESSIONHANDLE hsession);
-SPXAPI session_handle_release(SPXSESSIONHANDLE hsession);
-
-SPXAPI session_get_property_bag(SPXSESSIONHANDLE hsession, SPXPROPERTYBAGHANDLE* hpropbag);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_source_lang_config.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_source_lang_config.h
deleted file mode 100644
index 7c1f872..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_source_lang_config.h
+++ /dev/null
@@ -1,13 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-SPXAPI source_lang_config_from_language(SPXSOURCELANGCONFIGHANDLE* hconfig, const char* language);
-SPXAPI source_lang_config_from_language_and_endpointId(SPXSOURCELANGCONFIGHANDLE* hconfig, const char* language, const char* endpointId);
-SPXAPI_(bool) source_lang_config_is_handle_valid(SPXSOURCELANGCONFIGHANDLE hconfig);
-SPXAPI source_lang_config_release(SPXSOURCELANGCONFIGHANDLE hconfig);
-SPXAPI source_lang_config_get_property_bag(SPXSOURCELANGCONFIGHANDLE hconfig, SPXPROPERTYBAGHANDLE* hpropbag);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_speech_config.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_speech_config.h
deleted file mode 100644
index 1606548..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_speech_config.h
+++ /dev/null
@@ -1,171 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-typedef enum { SpeechOutputFormat_Simple = 0, SpeechOutputFormat_Detailed = 1 } SpeechOutputFormat;
-
-typedef enum
-{
- // raw-8khz-8bit-mono-mulaw
- SpeechSynthesisOutputFormat_Raw8Khz8BitMonoMULaw = 1,
-
- // riff-16khz-16kbps-mono-siren
- // Unsupported by the service. Do not use this value.
- SpeechSynthesisOutputFormat_Riff16Khz16KbpsMonoSiren = 2,
-
- // audio-16khz-16kbps-mono-siren
- // Unsupported by the service. Do not use this value.
- SpeechSynthesisOutputFormat_Audio16Khz16KbpsMonoSiren = 3,
-
- // audio-16khz-32kbitrate-mono-mp3
- SpeechSynthesisOutputFormat_Audio16Khz32KBitRateMonoMp3 = 4,
-
- // audio-16khz-128kbitrate-mono-mp3
- SpeechSynthesisOutputFormat_Audio16Khz128KBitRateMonoMp3 = 5,
-
- // audio-16khz-64kbitrate-mono-mp3
- SpeechSynthesisOutputFormat_Audio16Khz64KBitRateMonoMp3 = 6,
-
- // audio-24khz-48kbitrate-mono-mp3
- SpeechSynthesisOutputFormat_Audio24Khz48KBitRateMonoMp3 = 7,
-
- // audio-24khz-96kbitrate-mono-mp3
- SpeechSynthesisOutputFormat_Audio24Khz96KBitRateMonoMp3 = 8,
-
- // audio-24khz-160kbitrate-mono-mp3
- SpeechSynthesisOutputFormat_Audio24Khz160KBitRateMonoMp3 = 9,
-
- // raw-16khz-16bit-mono-truesilk
- SpeechSynthesisOutputFormat_Raw16Khz16BitMonoTrueSilk = 10,
-
- // riff-16khz-16bit-mono-pcm
- SpeechSynthesisOutputFormat_Riff16Khz16BitMonoPcm = 11,
-
- // riff-8khz-16bit-mono-pcm
- SpeechSynthesisOutputFormat_Riff8Khz16BitMonoPcm = 12,
-
- // riff-24khz-16bit-mono-pcm
- SpeechSynthesisOutputFormat_Riff24Khz16BitMonoPcm = 13,
-
- // riff-8khz-8bit-mono-mulaw
- SpeechSynthesisOutputFormat_Riff8Khz8BitMonoMULaw = 14,
-
- // raw-16khz-16bit-mono-pcm
- SpeechSynthesisOutputFormat_Raw16Khz16BitMonoPcm = 15,
-
- // raw-24khz-16bit-mono-pcm
- SpeechSynthesisOutputFormat_Raw24Khz16BitMonoPcm = 16,
-
- // raw-8khz-16bit-mono-pcm
- SpeechSynthesisOutputFormat_Raw8Khz16BitMonoPcm = 17,
-
- // ogg-16khz-16bit-mono-opus
- SpeechSynthesisOutputFormat_Ogg16khz16BitMonoOpus = 18,
-
- // ogg-24khz-24bit-mono-opus
- SpeechSynthesisOutputFormat_Ogg24Khz16BitMonoOpus = 19,
-
- // raw-48khz-16bit-mono-pcm
- SpeechSynthesisOutputFormat_Raw48Khz16BitMonoPcm = 20,
-
- // riff-48khz-16bit-mono-pcm
- SpeechSynthesisOutputFormat_Riff48Khz16BitMonoPcm = 21,
-
- // audio-48khz-96kbitrate-mono-mp3
- SpeechSynthesisOutputFormat_Audio48Khz96KBitRateMonoMp3 = 22,
-
- // audio-48khz-192kbitrate-mono-mp3
- SpeechSynthesisOutputFormat_Audio48Khz192KBitRateMonoMp3 = 23,
-
- // ogg-48khz-16bit-mono-opus
- SpeechSynthesisOutputFormat_Ogg48Khz16BitMonoOpus = 24,
-
- // webm-16khz-16bit-mono-opus
- SpeechSynthesisOutputFormat_Webm16Khz16BitMonoOpus = 25,
-
- // webm-24khz-16bit-mono-opus
- SpeechSynthesisOutputFormat_Webm24Khz16BitMonoOpus = 26,
-
- // raw-24khz-16bit-mono-truesilk
- SpeechSynthesisOutputFormat_Raw24Khz16BitMonoTrueSilk = 27,
-
- // raw-8khz-8bit-mono-alaw
- SpeechSynthesisOutputFormat_Raw8Khz8BitMonoALaw = 28,
-
- // riff-8khz-8bit-mono-alaw
- SpeechSynthesisOutputFormat_Riff8Khz8BitMonoALaw = 29,
-
- // webm-24khz-16bit-24kbps-mono-opus
- // Audio compressed by OPUS codec in a WebM container, with bitrate of 24kbps, optimized for IoT scenario.
- SpeechSynthesisOutputFormat_Webm24Khz16Bit24KbpsMonoOpus = 30,
-
- // audio-16khz-16bit-32kbps-mono-opus
- // Audio compressed by OPUS codec without container, with bitrate of 32kbps.
- SpeechSynthesisOutputFormat_Audio16Khz16Bit32KbpsMonoOpus = 31,
-
- // audio-24khz-48bit-mono-opus
- // Audio compressed by OPUS codec without container, with bitrate of 48kbps.
- SpeechSynthesisOutputFormat_Audio24Khz16Bit48KbpsMonoOpus = 32,
-
- // audio-24khz-24bit-mono-opus
- // Audio compressed by OPUS codec without container, with bitrate of 24kbps.
- SpeechSynthesisOutputFormat_Audio24Khz16Bit24KbpsMonoOpus = 33,
-
- // raw-22050hz-16bit-mono-pcm
- // Raw PCM audio at 22050Hz sampling rate and 16-bit depth.
- SpeechSynthesisOutputFormat_Raw22050Hz16BitMonoPcm = 34,
-
- // riff-22050hz-16bit-mono-pcm
- // PCM audio at 22050Hz sampling rate and 16-bit depth, with RIFF header.
- SpeechSynthesisOutputFormat_Riff22050Hz16BitMonoPcm = 35,
-
- // raw-44100hz-16bit-mono-pcm
- // Raw PCM audio at 44100Hz sampling rate and 16-bit depth.
- SpeechSynthesisOutputFormat_Raw44100Hz16BitMonoPcm = 36,
-
- // riff-44100hz-16bit-mono-pcm
- // PCM audio at 44100Hz sampling rate and 16-bit depth, with RIFF header.
- SpeechSynthesisOutputFormat_Riff44100Hz16BitMonoPcm = 37,
-
- /// amr-wb-16000hz
- /// AMR-WB audio at 16kHz sampling rate.
- /// (Added in 1.24.0)
- SpeechSynthesisOutputFormat_AmrWb16000Hz = 38,
-
- /// g722-16khz-64kbps
- /// G.722 audio at 16kHz sampling rate and 64kbps bitrate.
- /// (Added in 1.38.0)
- SpeechSynthesisOutputFormat_G72216Khz64Kbps = 39,
-} Speech_Synthesis_Output_Format;
-
-typedef enum
-{
- // Using URI query parameter to pass property settings to service.
- SpeechConfig_ServicePropertyChannel_UriQueryParameter = 0,
-
- // Using HttpHeader to set a key/value in a HTTP header.
- SpeechConfig_ServicePropertyChannel_HttpHeader = 1
-} SpeechConfig_ServicePropertyChannel;
-
-typedef enum
-{
- SpeechConfig_ProfanityMasked = 0,
- SpeechConfig_ProfanityRemoved = 1,
- SpeechConfig_ProfanityRaw = 2
-} SpeechConfig_ProfanityOption;
-
-SPXAPI_(bool) speech_config_is_handle_valid(SPXSPEECHCONFIGHANDLE hconfig);
-SPXAPI speech_config_from_subscription(SPXSPEECHCONFIGHANDLE* hconfig, const char* subscription, const char* region);
-SPXAPI speech_config_from_authorization_token(SPXSPEECHCONFIGHANDLE* hconfig, const char* authToken, const char* region);
-SPXAPI speech_config_from_endpoint(SPXSPEECHCONFIGHANDLE * hconfig, const char* endpoint, const char* subscription);
-SPXAPI speech_config_from_host(SPXSPEECHCONFIGHANDLE* hconfig, const char* host, const char* subscription);
-SPXAPI speech_config_release(SPXSPEECHCONFIGHANDLE hconfig);
-SPXAPI speech_config_get_property_bag(SPXSPEECHCONFIGHANDLE hconfig, SPXPROPERTYBAGHANDLE* hpropbag);
-SPXAPI speech_config_set_audio_output_format(SPXSPEECHCONFIGHANDLE hconfig, Speech_Synthesis_Output_Format formatId);
-SPXAPI speech_config_set_service_property(SPXSPEECHCONFIGHANDLE configHandle, const char* propertyName, const char* propertyValue, SpeechConfig_ServicePropertyChannel channel);
-SPXAPI speech_config_set_profanity(SPXSPEECHCONFIGHANDLE configHandle, SpeechConfig_ProfanityOption profanity);
-
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_speech_recognition_model.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_speech_recognition_model.h
deleted file mode 100644
index 54c575c..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_speech_recognition_model.h
+++ /dev/null
@@ -1,13 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-SPXAPI speech_recognition_model_handle_release(SPXSPEECHRECOMODELHANDLE hmodel);
-SPXAPI__(const char*) speech_recognition_model_get_name(SPXSPEECHRECOMODELHANDLE hmodel);
-SPXAPI__(const char*) speech_recognition_model_get_locales(SPXSPEECHRECOMODELHANDLE hmodel);
-SPXAPI__(const char*) speech_recognition_model_get_path(SPXSPEECHRECOMODELHANDLE hmodel);
-SPXAPI__(const char*) speech_recognition_model_get_version(SPXSPEECHRECOMODELHANDLE hmodel);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_speech_translation_config.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_speech_translation_config.h
deleted file mode 100644
index a01c3d0..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_speech_translation_config.h
+++ /dev/null
@@ -1,16 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-SPXAPI speech_translation_config_from_subscription(SPXSPEECHCONFIGHANDLE* configHandle, const char* subscription, const char* region);
-SPXAPI speech_translation_config_from_authorization_token(SPXSPEECHCONFIGHANDLE* configHandle, const char* authToken, const char* region);
-SPXAPI speech_translation_config_from_endpoint(SPXSPEECHCONFIGHANDLE* configHandle, const char* endpoint, const char* subscription);
-SPXAPI speech_translation_config_from_host(SPXSPEECHCONFIGHANDLE* configHandle, const char* host, const char* subscription);
-
-SPXAPI speech_translation_config_add_target_language(SPXSPEECHCONFIGHANDLE configHandle, const char* language);
-SPXAPI speech_translation_config_remove_target_language(SPXSPEECHCONFIGHANDLE configHandle, const char* language);
-SPXAPI speech_translation_config_set_custom_model_category_id(SPXSPEECHCONFIGHANDLE configHandle, const char* categoryId);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_speech_translation_model.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_speech_translation_model.h
deleted file mode 100644
index befda21..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_speech_translation_model.h
+++ /dev/null
@@ -1,14 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-SPXAPI speech_translation_model_handle_release(SPXSPEECHRECOMODELHANDLE hmodel);
-SPXAPI__(const char*) speech_translation_model_get_name(SPXSPEECHRECOMODELHANDLE hmodel);
-SPXAPI__(const char*) speech_translation_model_get_source_languages(SPXSPEECHRECOMODELHANDLE hmodel);
-SPXAPI__(const char*) speech_translation_model_get_target_languages(SPXSPEECHRECOMODELHANDLE hmodel);
-SPXAPI__(const char*) speech_translation_model_get_path(SPXSPEECHRECOMODELHANDLE hmodel);
-SPXAPI__(const char*) speech_translation_model_get_version(SPXSPEECHRECOMODELHANDLE hmodel);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_synthesis_request.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_synthesis_request.h
deleted file mode 100644
index e519417..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_synthesis_request.h
+++ /dev/null
@@ -1,17 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-SPXAPI speech_synthesis_request_create(bool textStreamingEnabled, bool isSSML, const char* inputText, uint32_t textLength, SPXREQUESTHANDLE* hrequest);
-SPXAPI speech_synthesis_request_set_voice(SPXREQUESTHANDLE hrequest, const char* voice, const char* personalVoice, const char* modelName);
-SPXAPI speech_synthesis_request_send_text_piece(SPXREQUESTHANDLE hrequest, const char* text, uint32_t textLength);
-SPXAPI speech_synthesis_request_finish(SPXREQUESTHANDLE hrequest);
-SPXAPI speech_synthesis_request_handle_is_valid(SPXREQUESTHANDLE hrequest);
-SPXAPI speech_synthesis_request_release(SPXREQUESTHANDLE hrequest);
-
-SPXAPI speech_synthesis_request_get_property_bag(SPXREQUESTHANDLE hrequest, SPXPROPERTYBAGHANDLE* hpropbag);
-
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_synthesizer.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_synthesizer.h
deleted file mode 100644
index 2b182fc..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_synthesizer.h
+++ /dev/null
@@ -1,75 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_c_synthesizer.h: Public API declarations for Synthesizer related C methods and typedefs
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-#include "speechapi_c_connection.h"
-#include "speechapi_c_synthesis_request.h"
-
-
-enum SpeechSynthesis_BoundaryType
-{
- SpeechSynthesis_BoundaryType_Word = 0,
- SpeechSynthesis_BoundaryType_Punctuation = 1,
- SpeechSynthesis_BoundaryType_Sentence = 2
-};
-typedef enum SpeechSynthesis_BoundaryType SpeechSynthesis_BoundaryType;
-
-SPXAPI_(bool) synthesizer_handle_is_valid(SPXSYNTHHANDLE hsynth);
-SPXAPI synthesizer_handle_release(SPXSYNTHHANDLE hsynth);
-
-SPXAPI_(bool) synthesizer_async_handle_is_valid(SPXASYNCHANDLE hasync);
-SPXAPI synthesizer_async_handle_release(SPXASYNCHANDLE hasync);
-
-SPXAPI_(bool) synthesizer_result_handle_is_valid(SPXRESULTHANDLE hresult);
-SPXAPI synthesizer_result_handle_release(SPXRESULTHANDLE hresult);
-
-SPXAPI_(bool) synthesizer_event_handle_is_valid(SPXEVENTHANDLE hevent);
-SPXAPI synthesizer_event_handle_release(SPXEVENTHANDLE hevent);
-
-SPXAPI synthesizer_get_property_bag(SPXSYNTHHANDLE hsynth, SPXPROPERTYBAGHANDLE* hpropbag);
-
-SPXAPI synthesizer_speak_text(SPXSYNTHHANDLE hsynth, const char* text, uint32_t textLength, SPXRESULTHANDLE* phresult);
-SPXAPI synthesizer_speak_ssml(SPXSYNTHHANDLE hsynth, const char* ssml, uint32_t ssmlLength, SPXRESULTHANDLE* phresult);
-SPXAPI synthesizer_speak_request(SPXSYNTHHANDLE hsynth, SPXREQUESTHANDLE hrequest, SPXRESULTHANDLE* phresult);
-SPXAPI synthesizer_speak_text_async(SPXSYNTHHANDLE hsynth, const char* text, uint32_t textLength, SPXASYNCHANDLE* phasync);
-SPXAPI synthesizer_speak_ssml_async(SPXSYNTHHANDLE hsynth, const char* ssml, uint32_t ssmlLength, SPXASYNCHANDLE* phasync);
-SPXAPI synthesizer_speak_request_async(SPXSYNTHHANDLE hsynth, SPXREQUESTHANDLE hrequest, SPXASYNCHANDLE* phasync);
-SPXAPI synthesizer_start_speaking_text(SPXSYNTHHANDLE hsynth, const char* text, uint32_t textLength, SPXRESULTHANDLE* phresult);
-SPXAPI synthesizer_start_speaking_ssml(SPXSYNTHHANDLE hsynth, const char* ssml, uint32_t ssmlLength, SPXRESULTHANDLE* phresult);
-SPXAPI synthesizer_start_speaking_request(SPXSYNTHHANDLE hsynth, SPXREQUESTHANDLE hrequest, SPXRESULTHANDLE* phresult);
-SPXAPI synthesizer_start_speaking_text_async(SPXSYNTHHANDLE hsynth, const char* text, uint32_t textLength, SPXASYNCHANDLE* phasync);
-SPXAPI synthesizer_start_speaking_ssml_async(SPXSYNTHHANDLE hsynth, const char* ssml, uint32_t ssmlLength, SPXASYNCHANDLE* phasync);
-SPXAPI synthesizer_speak_async_wait_for(SPXASYNCHANDLE hasync, uint32_t milliseconds, SPXRESULTHANDLE* phresult);
-SPXAPI synthesizer_stop_speaking(SPXSYNTHHANDLE hsynth);
-SPXAPI synthesizer_stop_speaking_async(SPXSYNTHHANDLE hsynth, SPXASYNCHANDLE* phasync);
-SPXAPI synthesizer_stop_speaking_async_wait_for(SPXASYNCHANDLE hasync, uint32_t milliseconds);
-
-SPXAPI synthesizer_get_voices_list(SPXSYNTHHANDLE hsynth, const char* locale, SPXRESULTHANDLE* phresult);
-SPXAPI synthesizer_get_voices_list_async(SPXSYNTHHANDLE hsynth, const char* locale, SPXASYNCHANDLE* phasync);
-SPXAPI synthesizer_get_voices_list_async_wait_for(SPXASYNCHANDLE hasync, uint32_t milliseconds, SPXRESULTHANDLE* phresult);
-
-typedef void(*PSYNTHESIS_CALLBACK_FUNC)(SPXSYNTHHANDLE hsynth, SPXEVENTHANDLE hevent, void* pvContext);
-SPXAPI synthesizer_started_set_callback(SPXSYNTHHANDLE hsynth, PSYNTHESIS_CALLBACK_FUNC pCallback, void* pvContext);
-SPXAPI synthesizer_token_request_set_callback(SPXSYNTHHANDLE hsynth, PSYNTHESIS_CALLBACK_FUNC pCallback, void* pvContext);
-SPXAPI synthesizer_synthesizing_set_callback(SPXSYNTHHANDLE hsynth, PSYNTHESIS_CALLBACK_FUNC pCallback, void* pvContext);
-SPXAPI synthesizer_completed_set_callback(SPXSYNTHHANDLE hsynth, PSYNTHESIS_CALLBACK_FUNC pCallback, void* pvContext);
-SPXAPI synthesizer_canceled_set_callback(SPXSYNTHHANDLE hsynth, PSYNTHESIS_CALLBACK_FUNC pCallback, void* pvContext);
-SPXAPI synthesizer_word_boundary_set_callback(SPXSYNTHHANDLE hsynth, PSYNTHESIS_CALLBACK_FUNC pCallback, void* pvContext);
-SPXAPI synthesizer_viseme_received_set_callback(SPXSYNTHHANDLE hsynth, PSYNTHESIS_CALLBACK_FUNC pCallback, void* pvContext);
-SPXAPI synthesizer_bookmark_reached_set_callback(SPXSYNTHHANDLE hsynth, PSYNTHESIS_CALLBACK_FUNC pCallback, void* pvContext);
-SPXAPI synthesizer_connection_connected_set_callback(SPXCONNECTIONHANDLE hConnection, CONNECTION_CALLBACK_FUNC pCallback, void * pvContext);
-SPXAPI synthesizer_connection_disconnected_set_callback(SPXCONNECTIONHANDLE hConnection, CONNECTION_CALLBACK_FUNC pCallback, void * pvContext);
-
-SPXAPI synthesizer_synthesis_event_get_result(SPXEVENTHANDLE hevent, SPXRESULTHANDLE* phresult);
-SPXAPI synthesizer_word_boundary_event_get_values(SPXEVENTHANDLE hevent, uint64_t *pAudioOffset, uint64_t *pDuration,
- uint32_t *pTextOffset, uint32_t *pWordLength, SpeechSynthesis_BoundaryType *pBoundaryType);
-SPXAPI synthesizer_event_get_result_id(SPXEVENTHANDLE hEvent, char* resultId, uint32_t resultIdLength);
-SPXAPI__(const char*) synthesizer_event_get_text(SPXEVENTHANDLE hEvent);
-SPXAPI synthesizer_viseme_event_get_values(SPXEVENTHANDLE hevent, uint64_t* pAudioOffset, uint32_t* pVisemeId);
-SPXAPI__(const char*) synthesizer_viseme_event_get_animation(SPXEVENTHANDLE hEvent);
-SPXAPI synthesizer_bookmark_event_get_values(SPXEVENTHANDLE hevent, uint64_t* pAudioOffset);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_translation_recognizer.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_translation_recognizer.h
deleted file mode 100644
index f09dc72..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_translation_recognizer.h
+++ /dev/null
@@ -1,17 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-
-#pragma once
-#include "speechapi_c_common.h"
-
-
-// Todo: Translation recognizer management API.
-
-typedef void(*PTRANSLATIONSYNTHESIS_CALLBACK_FUNC)(SPXRECOHANDLE hreco, SPXEVENTHANDLE hevent, void* pvContext);
-SPXAPI translator_synthesizing_audio_set_callback(SPXRECOHANDLE hreco, PTRANSLATIONSYNTHESIS_CALLBACK_FUNC pCallback, void* pvContext);
-
-SPXAPI translator_add_target_language(SPXRECOHANDLE hreco, const char* language);
-SPXAPI translator_remove_target_language(SPXRECOHANDLE hreco, const char* language);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_translation_result.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_translation_result.h
deleted file mode 100644
index 96dec65..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_translation_result.h
+++ /dev/null
@@ -1,14 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-SPXAPI translation_text_result_get_translation_count(SPXRESULTHANDLE handle, size_t * size);
-SPXAPI translation_text_result_get_translation(SPXRESULTHANDLE handle, size_t index, char * language, char * text, size_t * language_size, size_t * text_size);
-
-// audioBuffer: point to the header for storing synthesis audio data. The parameter lengthPointer points to the variable saving the size of buffer. On return, *lengthPointer is set to the size of the buffer returned.
-// If textBuffer is nullptr or the length is smaller than the size required, the function returns SPXERR_BUFFER_TOO_SMALL.
-SPXAPI translation_synthesis_result_get_audio_data(SPXRESULTHANDLE handle, uint8_t* audioBuffer, size_t* lengthPointer);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_user.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_user.h
deleted file mode 100644
index 7a22d5b..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_c_user.h
+++ /dev/null
@@ -1,13 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_c_user.h: Public API declarations for user related C methods and enumerations
-//
-
-#pragma once
-#include "speechapi_c_common.h"
-
-SPXAPI user_create_from_id(const char* user_id, SPXUSERHANDLE* huser);
-SPXAPI user_release_handle(SPXUSERHANDLE huser);
-SPXAPI user_get_id(SPXUSERHANDLE huser, char* user_id, size_t user_id_size);
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx.h
deleted file mode 100644
index ffabefc..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx.h
+++ /dev/null
@@ -1,99 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_cxx.h: Master include header for public C++ API declarations
-//
-
-#pragma once
-
-#include "speechapi_cxx_common.h"
-#include "speechapi_cxx_string_helpers.h"
-#include "speechapi_cxx_smart_handle.h"
-
-#include "speechapi_cxx_properties.h"
-#include "speechapi_cxx_audio_stream_format.h"
-#include "speechapi_cxx_audio_stream.h"
-#include "speechapi_cxx_speech_config.h"
-#include "speechapi_cxx_embedded_speech_config.h"
-#include "speechapi_cxx_hybrid_speech_config.h"
-#include "speechapi_cxx_audio_config.h"
-#include "speechapi_cxx_audio_processing_options.h"
-
-#include "speechapi_cxx_eventargs.h"
-#include "speechapi_cxx_eventsignal.h"
-
-#include "speechapi_cxx_session_eventargs.h"
-
-#include "speechapi_cxx_recognition_result.h"
-#include "speechapi_cxx_recognition_eventargs.h"
-#include "speechapi_cxx_recognition_async_recognizer.h"
-#include "speechapi_cxx_recognition_base_async_recognizer.h"
-
-#include "speechapi_cxx_recognizer.h"
-
-#include "speechapi_cxx_speech_recognition_result.h"
-#include "speechapi_cxx_speech_recognition_eventargs.h"
-#include "speechapi_cxx_speech_recognizer.h"
-#include "speechapi_cxx_speech_recognition_model.h"
-
-#include "speechapi_cxx_translation_result.h"
-#include "speechapi_cxx_translation_eventargs.h"
-#include "speechapi_cxx_speech_translation_config.h"
-#include "speechapi_cxx_translation_recognizer.h"
-#include "speechapi_cxx_auto_detect_source_lang_config.h"
-#include "speechapi_cxx_source_lang_config.h"
-#include "speechapi_cxx_speech_translation_model.h"
-
-#include "speechapi_cxx_pronunciation_assessment_config.h"
-#include "speechapi_cxx_pronunciation_assessment_result.h"
-
-#include "speechapi_cxx_grammar.h"
-#include "speechapi_cxx_grammar_phrase.h"
-#include "speechapi_cxx_phrase_list_grammar.h"
-#include "speechapi_cxx_grammar_list.h"
-#include "speechapi_cxx_class_language_model.h"
-
-#include "speechapi_cxx_session.h"
-
-#include "speechapi_cxx_dialog_service_connector.h"
-
-#include "speechapi_cxx_connection.h"
-#include "speechapi_cxx_connection_eventargs.h"
-
-#include "speechapi_cxx_audio_data_stream.h"
-
-#include "speechapi_cxx_speech_synthesis_request.h"
-#include "speechapi_cxx_speech_synthesis_result.h"
-#include "speechapi_cxx_speech_synthesis_eventargs.h"
-#include "speechapi_cxx_speech_synthesis_word_boundary_eventargs.h"
-#include "speechapi_cxx_speech_synthesis_viseme_eventargs.h"
-#include "speechapi_cxx_speech_synthesis_bookmark_eventargs.h"
-#include "speechapi_cxx_speech_synthesizer.h"
-#include "speechapi_cxx_synthesis_voices_result.h"
-#include "speechapi_cxx_voice_info.h"
-
-#include "speechapi_cxx_keyword_recognition_result.h"
-#include "speechapi_cxx_keyword_recognition_eventargs.h"
-#include "speechapi_cxx_keyword_recognizer.h"
-
-#include "speechapi_cxx_conversation.h"
-#include "speechapi_cxx_conversation_transcriber.h"
-#include "speechapi_cxx_conversation_transcription_eventargs.h"
-#include "speechapi_cxx_conversation_transcription_result.h"
-#include "speechapi_cxx_meeting.h"
-#include "speechapi_cxx_meeting_transcriber.h"
-#include "speechapi_cxx_meeting_transcription_eventargs.h"
-#include "speechapi_cxx_meeting_transcription_result.h"
-#include "speechapi_cxx_user.h"
-#include "speechapi_cxx_participant.h"
-#include "speechapi_cxx_conversation_translator.h"
-#include "speechapi_cxx_conversation_translator_events.h"
-
-#include "speechapi_cxx_auto_detect_source_lang_result.h"
-
-#include "speechapi_cxx_source_language_recognizer.h"
-
-#include "speechapi_cxx_file_logger.h"
-#include "speechapi_cxx_event_logger.h"
-#include "speechapi_cxx_memory_logger.h"
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_audio_config.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_audio_config.h
deleted file mode 100644
index 09f3437..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_audio_config.h
+++ /dev/null
@@ -1,338 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_cxx_audio_config.h: Public API declarations for AudioConfig C++ class
-//
-
-#pragma once
-#include
-#include
-#include
-#include "speechapi_cxx_common.h"
-#include "speechapi_cxx_string_helpers.h"
-#include "speechapi_cxx_smart_handle.h"
-#include "speechapi_cxx_audio_stream.h"
-#include "speechapi_cxx_audio_processing_options.h"
-#include "speechapi_c_audio_config.h"
-
-namespace Microsoft {
-namespace CognitiveServices {
-namespace Speech {
-namespace Audio {
-
-
-///
-/// Represents audio input or output configuration. Audio input can be from a microphone, file,
-/// or input stream. Audio output can be to a speaker, audio file output in WAV format, or output
-/// stream.
-///
-class AudioConfig
-{
-public:
-
- ///
- /// Internal operator used to get underlying handle value.
- ///
- /// A handle.
- explicit operator SPXAUDIOCONFIGHANDLE() const { return m_haudioConfig.get(); }
-
- ///
- /// Creates an AudioConfig object representing the default microphone on the system.
- ///
- /// A shared pointer to the AudioConfig object
- static std::shared_ptr FromDefaultMicrophoneInput()
- {
- SPXAUDIOCONFIGHANDLE haudioConfig = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(audio_config_create_audio_input_from_default_microphone(&haudioConfig));
-
- auto config = new AudioConfig(haudioConfig);
- return std::shared_ptr(config);
- }
-
- ///
- /// Creates an AudioConfig object representing the default microphone on the system.
- ///
- /// Audio processing options.
- /// A shared pointer to the AudioConfig object
- static std::shared_ptr FromDefaultMicrophoneInput(std::shared_ptr audioProcessingOptions)
- {
- SPX_THROW_HR_IF(SPXERR_INVALID_ARG, audioProcessingOptions == nullptr);
-
- SPXAUDIOCONFIGHANDLE haudioConfig = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(audio_config_create_audio_input_from_default_microphone(&haudioConfig));
- SPX_THROW_ON_FAIL(audio_config_set_audio_processing_options(haudioConfig, static_cast(*audioProcessingOptions.get())));
-
- auto config = new AudioConfig(haudioConfig);
- return std::shared_ptr(config);
- }
-
- ///
- /// Creates an AudioConfig object representing a specific microphone on the system.
- /// Added in version 1.3.0.
- ///
- /// Specifies the device name. Please refer to this page on how to retrieve platform-specific microphone names.
- /// A shared pointer to the AudioConfig object
- static std::shared_ptr FromMicrophoneInput(const SPXSTRING& deviceName)
- {
- SPXAUDIOCONFIGHANDLE haudioConfig = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(audio_config_create_audio_input_from_a_microphone(&haudioConfig, Utils::ToUTF8(deviceName).c_str()));
-
- auto config = new AudioConfig(haudioConfig);
- return std::shared_ptr(config);
- }
-
- ///
- /// Creates an AudioConfig object representing a specific microphone on the system.
- ///
- /// Specifies the device name. Please refer to this page on how to retrieve platform-specific microphone names.
- /// Audio processing options.
- /// A shared pointer to the AudioConfig object
- static std::shared_ptr FromMicrophoneInput(const SPXSTRING& deviceName, std::shared_ptr audioProcessingOptions)
- {
- SPX_THROW_HR_IF(SPXERR_INVALID_ARG, audioProcessingOptions == nullptr);
-
- SPXAUDIOCONFIGHANDLE haudioConfig = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(audio_config_create_audio_input_from_a_microphone(&haudioConfig, Utils::ToUTF8(deviceName).c_str()));
- SPX_THROW_ON_FAIL(audio_config_set_audio_processing_options(haudioConfig, static_cast(*audioProcessingOptions.get())));
-
- auto config = new AudioConfig(haudioConfig);
- return std::shared_ptr(config);
- }
-
- ///
- /// Creates an AudioConfig object representing the specified file.
- ///
- /// Specifies the audio input file.
- /// A shared pointer to the AudioConfig object
- static std::shared_ptr FromWavFileInput(const SPXSTRING& fileName)
- {
- SPXAUDIOCONFIGHANDLE haudioConfig = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(audio_config_create_audio_input_from_wav_file_name(&haudioConfig, Utils::ToUTF8(fileName).c_str()));
-
- auto config = new AudioConfig(haudioConfig);
- return std::shared_ptr(config);
- }
-
- ///
- /// Creates an AudioConfig object representing the specified file.
- ///
- /// Specifies the audio input file.
- /// Audio processing options.
- /// A shared pointer to the AudioConfig object
- static std::shared_ptr FromWavFileInput(const SPXSTRING& fileName, std::shared_ptr audioProcessingOptions)
- {
- SPX_THROW_HR_IF(SPXERR_INVALID_ARG, audioProcessingOptions == nullptr);
-
- SPXAUDIOCONFIGHANDLE haudioConfig = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(audio_config_create_audio_input_from_wav_file_name(&haudioConfig, Utils::ToUTF8(fileName).c_str()));
- SPX_THROW_ON_FAIL(audio_config_set_audio_processing_options(haudioConfig, static_cast(*audioProcessingOptions.get())));
-
- auto config = new AudioConfig(haudioConfig);
- return std::shared_ptr(config);
- }
-
- ///
- /// Creates an AudioConfig object representing the specified stream.
- ///
- /// Specifies the custom audio input stream.
- /// A shared pointer to the AudioConfig object
- static std::shared_ptr FromStreamInput(std::shared_ptr stream)
- {
- SPX_THROW_HR_IF(SPXERR_INVALID_ARG, stream == nullptr);
-
- SPXAUDIOCONFIGHANDLE haudioConfig = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(audio_config_create_audio_input_from_stream(&haudioConfig, GetStreamHandle(stream)));
-
- auto config = new AudioConfig(haudioConfig);
- return std::shared_ptr(config);
- }
-
- ///
- /// Creates an AudioConfig object representing the specified stream.
- ///
- /// Specifies the custom audio input stream.
- /// Audio processing options.
- /// A shared pointer to the AudioConfig object
- static std::shared_ptr FromStreamInput(std::shared_ptr stream, std::shared_ptr audioProcessingOptions)
- {
- SPX_THROW_HR_IF(SPXERR_INVALID_ARG, stream == nullptr);
- SPX_THROW_HR_IF(SPXERR_INVALID_ARG, audioProcessingOptions == nullptr);
-
- SPXAUDIOCONFIGHANDLE haudioConfig = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(audio_config_create_audio_input_from_stream(&haudioConfig, GetStreamHandle(stream)));
- SPX_THROW_ON_FAIL(audio_config_set_audio_processing_options(haudioConfig, static_cast(*audioProcessingOptions.get())));
-
- auto config = new AudioConfig(haudioConfig);
- return std::shared_ptr(config);
- }
-
- ///
- /// Creates an AudioConfig object representing the default audio output device (speaker) on the system.
- /// Added in version 1.4.0
- ///
- /// A shared pointer to the AudioConfig object
- static std::shared_ptr FromDefaultSpeakerOutput()
- {
- SPXAUDIOCONFIGHANDLE haudioConfig = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(audio_config_create_audio_output_from_default_speaker(&haudioConfig));
-
- auto config = new AudioConfig(haudioConfig);
- return std::shared_ptr(config);
- }
-
- ///
- /// Creates an AudioConfig object representing a specific speaker on the system.
- /// Added in version 1.14.0.
- ///
- /// Specifies the device name. Please refer to this page on how to retrieve platform-specific audio device names.
- /// A shared pointer to the AudioConfig object
- static std::shared_ptr FromSpeakerOutput(const SPXSTRING& deviceName)
- {
- SPXAUDIOCONFIGHANDLE haudioConfig = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(audio_config_create_audio_output_from_a_speaker(&haudioConfig, Utils::ToUTF8(deviceName).c_str()));
-
- auto config = new AudioConfig(haudioConfig);
- return std::shared_ptr(config);
- }
-
- ///
- /// Creates an AudioConfig object representing the specified file for audio output.
- /// Added in version 1.4.0
- ///
- /// Specifies the audio output file. The parent directory must already exist.
- /// A shared pointer to the AudioConfig object
- static std::shared_ptr FromWavFileOutput(const SPXSTRING& fileName)
- {
- SPXAUDIOCONFIGHANDLE haudioConfig = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(audio_config_create_audio_output_from_wav_file_name(&haudioConfig, Utils::ToUTF8(fileName).c_str()));
-
- auto config = new AudioConfig(haudioConfig);
- return std::shared_ptr(config);
- }
-
- ///
- /// Creates an AudioConfig object representing the specified output stream.
- /// Added in version 1.4.0
- ///
- /// Specifies the custom audio output stream.
- /// A shared pointer to the AudioConfig object
- static std::shared_ptr FromStreamOutput(std::shared_ptr stream)
- {
- SPX_THROW_HR_IF(SPXERR_INVALID_ARG, stream == nullptr);
-
- SPXAUDIOCONFIGHANDLE haudioConfig = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(audio_config_create_audio_output_from_stream(&haudioConfig, GetOutputStreamHandle(stream)));
-
- auto config = new AudioConfig(haudioConfig);
- config->m_outputStream = stream;
- return std::shared_ptr(config);
- }
-
- ///
- /// Sets a property value by name.
- ///
- /// The property name.
- /// The property value.
- void SetProperty(const SPXSTRING& name, const SPXSTRING& value)
- {
- property_bag_set_string(m_propertybag, -1, Utils::ToUTF8(name).c_str(), Utils::ToUTF8(value).c_str());
- }
-
- ///
- /// Sets a property value by ID.
- ///
- /// The property id.
- /// The property value.
- void SetProperty(PropertyId id, const SPXSTRING& value)
- {
- property_bag_set_string(m_propertybag, static_cast(id), nullptr, Utils::ToUTF8(value).c_str());
- }
-
- ///
- /// Gets a property value by name.
- ///
- /// The parameter name.
- /// The property value.
- SPXSTRING GetProperty(const SPXSTRING& name) const
- {
- const char* value = property_bag_get_string(m_propertybag, -1, Utils::ToUTF8(name).c_str(), "");
- return Utils::ToSPXString(Utils::CopyAndFreePropertyString(value));
- }
-
- ///
- /// Gets a property value by ID.
- ///
- /// The parameter id.
- /// The property value.
- SPXSTRING GetProperty(PropertyId id) const
- {
- const char* value = property_bag_get_string(m_propertybag, static_cast(id), nullptr, "");
- return Utils::ToSPXString(Utils::CopyAndFreePropertyString(value));
- }
-
- ///
- /// Gets an instance of AudioProcessingOptions class which contains the parameters for audio processing used by Speech SDK.
- ///
- /// A shared pointer to the AudioProcessingOptions object.
- std::shared_ptr GetAudioProcessingOptions() const
- {
- SPXAUDIOPROCESSINGOPTIONSHANDLE hoptions = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(audio_config_get_audio_processing_options(m_haudioConfig, &hoptions));
-
- return std::make_shared(hoptions);
- }
-
- ///
- /// Destructs the object.
- ///
- virtual ~AudioConfig()
- {
- property_bag_release(m_propertybag);
- }
-
-protected:
-
- /*! \cond PROTECTED */
-
- ///
- /// Internal constructor. Creates a new instance using the provided handle.
- ///
- explicit AudioConfig(SPXAUDIOCONFIGHANDLE haudioConfig)
- : m_haudioConfig(haudioConfig)
- {
- SPX_THROW_ON_FAIL(audio_config_get_property_bag(m_haudioConfig, &m_propertybag));
- }
-
- ///
- /// Internal helper method to get the audio stream format handle.
- ///
- static SPXAUDIOSTREAMHANDLE GetStreamHandle(std::shared_ptr stream) { return (SPXAUDIOSTREAMHANDLE)(*stream.get()); }
-
- ///
- /// Internal helper method to get the audio output stream format handle.
- ///
- static SPXAUDIOSTREAMHANDLE GetOutputStreamHandle(std::shared_ptr stream) { return (SPXAUDIOSTREAMHANDLE)(*stream.get()); }
-
- /*! \endcond */
-
-private:
-
- DISABLE_COPY_AND_MOVE(AudioConfig);
-
- ///
- /// Internal member variable that holds the smart handle.
- ///
- SmartHandle m_haudioConfig;
-
- ///
- /// Internal member variable that holds the properties of the audio config
- ///
- SPXPROPERTYBAGHANDLE m_propertybag;
-
- std::shared_ptr m_stream;
- std::shared_ptr m_outputStream;
-};
-
-
-} } } } // Microsoft::CognitiveServices::Speech::Audio
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_audio_data_stream.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_audio_data_stream.h
deleted file mode 100644
index 40381a1..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_audio_data_stream.h
+++ /dev/null
@@ -1,248 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_cxx_audio_data_stream.h: Public API declarations for AudioDataStream C++ class
-//
-
-#pragma once
-
-#include
-
-#include "speechapi_cxx_common.h"
-#include "speechapi_cxx_smart_handle.h"
-#include "speechapi_cxx_properties.h"
-#include "speechapi_cxx_utils.h"
-#include "speechapi_c_audio_stream.h"
-
-namespace Microsoft {
-namespace CognitiveServices {
-namespace Speech {
-
-class SpeechSynthesisResult;
-class KeywordRecognitionResult;
-
-///
-/// Represents audio data stream used for operating audio data as a stream.
-/// Added in version 1.4.0
-///
-class AudioDataStream : public std::enable_shared_from_this
-{
-private:
-
- ///
- /// Internal member variable that holds the smart handle.
- ///
- SmartHandle m_haudioStream;
-
- /*! \cond PRIVATE */
-
- class PrivatePropertyCollection : public PropertyCollection
- {
- public:
- PrivatePropertyCollection(SPXAUDIOSTREAMHANDLE hstream) :
- PropertyCollection(
- [=]() {
- SPXPROPERTYBAGHANDLE hpropbag = SPXHANDLE_INVALID;
- audio_data_stream_get_property_bag(hstream, &hpropbag);
- return hpropbag;
- }())
- {
- }
- };
-
- ///
- /// Internal member variable that holds the properties associating to the audio data stream.
- ///
- PrivatePropertyCollection m_properties;
-
- /*! \endcond */
-
-public:
-
- ///
- /// Destroy the instance.
- ///
- ~AudioDataStream()
- {
- DetachInput();
- }
-
- ///
- /// Creates a memory backed AudioDataStream for the specified audio input file.
- /// Added in version 1.14.0
- ///
- /// Specifies the audio input file.
- /// A shared pointer to AudioDataStream
- static std::shared_ptr FromWavFileInput(const SPXSTRING& fileName)
- {
- SPXAUDIOSTREAMHANDLE hstream = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(audio_data_stream_create_from_file(&hstream, Utils::ToUTF8(fileName).c_str()));
-
- auto stream = new AudioDataStream(hstream);
- return std::shared_ptr(stream);
- }
-
- ///
- /// Creates a memory backed AudioDataStream from given speech synthesis result.
- ///
- /// The speech synthesis result.
- /// A shared pointer to AudioDataStream
- static std::shared_ptr FromResult(std::shared_ptr result);
-
- ///
- /// Obtains the memory backed AudioDataStream associated with a given KeywordRecognition result.
- ///
- /// The keyword recognition result.
- /// An audio stream with the input to the KeywordRecognizer starting from right before the Keyword.
- static std::shared_ptr FromResult(std::shared_ptr result);
-
- ///
- /// Get current status of the audio data stream.
- ///
- /// Current status
- StreamStatus GetStatus()
- {
- Stream_Status status = StreamStatus_Unknown;
- SPX_THROW_ON_FAIL(audio_data_stream_get_status(m_haudioStream, &status));
- return (StreamStatus)status;
- }
-
- ///
- /// Check whether the stream has enough data to be read.
- ///
- /// The requested data size in bytes.
- /// A bool indicating whether the stream has enough data to be read.
- bool CanReadData(uint32_t bytesRequested)
- {
- return audio_data_stream_can_read_data(m_haudioStream, bytesRequested);
- }
-
- ///
- /// Check whether the stream has enough data to be read, starting from the specified position.
- ///
- /// The position counting from start of the stream.
- /// The requested data size in bytes.
- /// A bool indicating whether the stream has enough data to be read.
- bool CanReadData(uint32_t pos, uint32_t bytesRequested)
- {
- return audio_data_stream_can_read_data_from_position(m_haudioStream, bytesRequested, pos);
- }
-
- ///
- /// Get the available size of the audio data stream.
- ///
- /// Available size of the audio data stream.
- uint32_t GetAvailableSize()
- {
- return audio_data_stream_get_available_size(m_haudioStream);
- }
-
- ///
- /// Reads a chunk of the audio data and fill it to given buffer
- ///
- /// A buffer to receive read data.
- /// Size of the buffer.
- /// Size of data filled to the buffer, 0 means end of stream
- uint32_t ReadData(uint8_t* buffer, uint32_t bufferSize)
- {
- uint32_t filledSize = 0;
- SPX_THROW_ON_FAIL(audio_data_stream_read(m_haudioStream, buffer, bufferSize, &filledSize));
-
- return filledSize;
- }
-
- ///
- /// Reads a chunk of the audio data and fill it to given buffer, starting from the specified position.
- ///
- /// The position counting from start of the stream.
- /// A buffer to receive read data.
- /// Size of the buffer.
- /// Size of data filled to the buffer, 0 means end of stream
- uint32_t ReadData(uint32_t pos, uint8_t* buffer, uint32_t bufferSize)
- {
- uint32_t filledSize = 0;
- SPX_THROW_ON_FAIL(audio_data_stream_read_from_position(m_haudioStream, buffer, bufferSize, pos, &filledSize));
-
- return filledSize;
- }
-
- ///
- /// Save the audio data to a file, synchronously.
- ///
- /// The file name with full path.
- void SaveToWavFile(const SPXSTRING& fileName)
- {
- SPX_THROW_ON_FAIL(audio_data_stream_save_to_wave_file(m_haudioStream, Utils::ToUTF8(fileName).c_str()));
- }
-
- ///
- /// Save the audio data to a file, asynchronously.
- ///
- /// The file name with full path.
- /// An asynchronous operation representing the saving.
- std::future SaveToWavFileAsync(const SPXSTRING& fileName)
- {
- auto keepAlive = this->shared_from_this();
-
- auto future = std::async(std::launch::async, [keepAlive, this, fileName]() -> void {
- SPX_THROW_ON_FAIL(audio_data_stream_save_to_wave_file(m_haudioStream, Utils::ToUTF8(fileName).c_str()));
- });
-
- return future;
- }
-
- ///
- /// Get current position of the audio data stream.
- ///
- /// Current position
- uint32_t GetPosition()
- {
- uint32_t position = 0;
- SPX_THROW_ON_FAIL(audio_data_stream_get_position(m_haudioStream, &position));
- return position;
- }
-
- ///
- /// Set current position of the audio data stream.
- ///
- /// Position to be set.
- void SetPosition(uint32_t pos)
- {
- SPX_THROW_ON_FAIL(audio_data_stream_set_position(m_haudioStream, pos));
- }
-
- ///
- /// Stops any more data from getting to the stream.
- ///
- void DetachInput()
- {
- SPX_THROW_ON_FAIL(audio_data_stream_detach_input(m_haudioStream));
- }
-
- ///
- /// Explicit conversion operator.
- ///
- /// A handle.
- explicit operator SPXAUDIOSTREAMHANDLE() { return m_haudioStream; }
-
- ///
- /// Collection of additional SpeechSynthesisResult properties.
- ///
- const PropertyCollection& Properties;
-
-private:
-
- ///
- /// Internal constructor. Creates a new instance using the provided handle.
- ///
- explicit AudioDataStream(SPXAUDIOSTREAMHANDLE haudioStream) :
- m_haudioStream(haudioStream),
- m_properties(haudioStream),
- Properties(m_properties)
- {
- SPX_DBG_TRACE_SCOPE(__FUNCTION__, __FUNCTION__);
- }
-};
-
-} } } // Microsoft::CognitiveServices::Speech
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_audio_processing_options.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_audio_processing_options.h
deleted file mode 100644
index f408ac5..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_audio_processing_options.h
+++ /dev/null
@@ -1,358 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_cxx_audio_processing_options.h: Public API declarations for AudioProcessingOptions and related C++ classes
-//
-
-#pragma once
-#include
-#include
-#include "speechapi_cxx_common.h"
-#include "speechapi_cxx_string_helpers.h"
-#include "speechapi_cxx_smart_handle.h"
-#include "speechapi_c_audio_processing_options.h"
-
-
-namespace Microsoft {
-namespace CognitiveServices {
-namespace Speech {
-namespace Audio {
-
-///
-/// Types of preset microphone array geometries.
-/// See [Microphone Array Recommendations](/azure/cognitive-services/speech-service/speech-devices-sdk-microphone) for more details.
-///
-enum class PresetMicrophoneArrayGeometry
-{
- ///
- /// Indicates that no geometry specified. Speech SDK will determine the microphone array geometry.
- ///
- Uninitialized,
- ///
- /// Indicates a microphone array with one microphone in the center and six microphones evenly spaced
- /// in a circle with radius approximately equal to 42.5 mm.
- ///
- Circular7,
- ///
- /// Indicates a microphone array with one microphone in the center and three microphones evenly spaced
- /// in a circle with radius approximately equal to 42.5 mm.
- ///
- Circular4,
- ///
- /// Indicates a microphone array with four linearly placed microphones with 40 mm spacing between them.
- ///
- Linear4,
- ///
- /// Indicates a microphone array with two linearly placed microphones with 40 mm spacing between them.
- ///
- Linear2,
- ///
- /// Indicates a microphone array with a single microphone.
- ///
- Mono,
- ///
- /// Indicates a microphone array with custom geometry.
- ///
- Custom
-};
-
-///
-/// Types of microphone arrays.
-///
-enum class MicrophoneArrayType
-{
- ///
- /// Indicates that the microphone array has microphones in a straight line.
- ///
- Linear,
- ///
- /// Indicates that the microphone array has microphones in a plane.
- ///
- Planar
-};
-
-///
-/// Defines speaker reference channel position in input audio.
-///
-enum class SpeakerReferenceChannel
-{
- ///
- /// Indicates that the input audio does not have a speaker reference channel.
- ///
- None,
- ///
- /// Indicates that the last channel in the input audio corresponds to the speaker
- /// reference for echo cancellation.
- ///
- LastChannel
-};
-
-typedef AudioProcessingOptions_MicrophoneCoordinates MicrophoneCoordinates;
-
-///
-/// Represents the geometry of a microphone array.
-///
-struct MicrophoneArrayGeometry
-{
- ///
- /// Type of microphone array.
- ///
- MicrophoneArrayType microphoneArrayType;
- ///
- /// Start angle for beamforming in degrees.
- ///
- uint16_t beamformingStartAngle;
- ///
- /// End angle for beamforming in degrees.
- ///
- uint16_t beamformingEndAngle;
- ///
- /// Coordinates of microphones in the microphone array.
- ///
- std::vector microphoneCoordinates;
-
- ///
- /// Creates a new instance of MicrophoneArrayGeometry.
- /// Beamforming start angle is set to zero.
- /// Beamforming end angle is set to 180 degrees if microphoneArrayType is Linear, otherwise it is set to 360 degrees.
- ///
- /// Type of microphone array.
- /// Coordinates of microphones in the microphone array.
- MicrophoneArrayGeometry(MicrophoneArrayType microphoneArrayType, const std::vector& microphoneCoordinates)
- {
- this->microphoneArrayType = microphoneArrayType;
- this->beamformingStartAngle = 0;
- this->beamformingEndAngle = (microphoneArrayType == MicrophoneArrayType::Linear) ? 180 : 360;
- this->microphoneCoordinates.resize(microphoneCoordinates.size());
- for (size_t i = 0; i < microphoneCoordinates.size(); i++)
- {
- this->microphoneCoordinates[i] = microphoneCoordinates[i];
- }
- }
-
- ///
- /// Creates a new instance of MicrophoneArrayGeometry.
- ///
- /// Type of microphone array.
- /// Start angle for beamforming in degrees.
- /// End angle for beamforming in degrees.
- /// Coordinates of microphones in the microphone array.
- MicrophoneArrayGeometry(MicrophoneArrayType microphoneArrayType, uint16_t beamformingStartAngle, uint16_t beamformingEndAngle, const std::vector& microphoneCoordinates)
- {
- this->microphoneArrayType = microphoneArrayType;
- this->beamformingStartAngle = beamformingStartAngle;
- this->beamformingEndAngle = beamformingEndAngle;
- this->microphoneCoordinates.resize(microphoneCoordinates.size());
- for (size_t i = 0; i < microphoneCoordinates.size(); i++)
- {
- this->microphoneCoordinates[i] = microphoneCoordinates[i];
- }
- }
-};
-
-///
-/// Represents audio processing options used with audio config class.
-///
-class AudioProcessingOptions
-{
-public:
-
- ///
- /// Creates a new instance using the provided handle.
- ///
- /// A handle to audio processing options.
- explicit AudioProcessingOptions(SPXAUDIOPROCESSINGOPTIONSHANDLE hoptions)
- : m_hoptions(hoptions)
- {
- SPX_THROW_ON_FAIL(audio_processing_options_get_property_bag(m_hoptions, &m_propertybag));
- }
-
- ///
- /// Destructs an instance of the AudioProcessingOptions class.
- ///
- ~AudioProcessingOptions() = default;
-
- ///
- /// Internal operator used to get underlying handle value.
- ///
- /// A handle.
- explicit operator SPXAUDIOPROCESSINGOPTIONSHANDLE() const { return m_hoptions.get(); }
-
- ///
- /// Creates a new instance of the AudioProcessingOptions class.
- ///
- /// Specifies flags to control the audio processing performed by Speech SDK. It is bitwise OR of AUDIO_INPUT_PROCESSING_XXX constants.
- /// The newly created AudioProcessingOptions wrapped inside a std::shared_ptr.
- ///
- /// This function should only be used when the audio input is from a microphone array.
- /// On Windows, this function will try to query the microphone array geometry from the audio driver. Audio data is also read from speaker reference channel.
- /// On Linux, it assumes that the microphone is a single channel microphone.
- ///
- static std::shared_ptr Create(int audioProcessingFlags)
- {
- SPXAUDIOPROCESSINGOPTIONSHANDLE hoptions = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(audio_processing_options_create(&hoptions, audioProcessingFlags));
-
- auto options = new AudioProcessingOptions(hoptions);
- return std::shared_ptr(options);
- }
-
- ///
- /// Creates a new instance of the AudioProcessingOptions class with preset microphone array geometry.
- ///
- /// Specifies flags to control the audio processing performed by Speech SDK. It is bitwise OR of AUDIO_INPUT_PROCESSING_XXX constants.
- /// Specifies the type of microphone array geometry.
- /// Specifies the speaker reference channel position in the input audio.
- /// The newly created AudioProcessingOptions wrapped inside a std::shared_ptr.
- static std::shared_ptr Create(int audioProcessingFlags, PresetMicrophoneArrayGeometry microphoneArrayGeometry, SpeakerReferenceChannel speakerReferenceChannel = SpeakerReferenceChannel::None)
- {
- SPXAUDIOPROCESSINGOPTIONSHANDLE hoptions = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(audio_processing_options_create_from_preset_microphone_array_geometry(&hoptions, audioProcessingFlags, (AudioProcessingOptions_PresetMicrophoneArrayGeometry)microphoneArrayGeometry, (AudioProcessingOptions_SpeakerReferenceChannel)speakerReferenceChannel));
-
- auto options = new AudioProcessingOptions(hoptions);
- return std::shared_ptr(options);
- }
-
- ///
- /// Creates a new instance of the AudioProcessingOptions class with microphone array geometry.
- ///
- /// Specifies flags to control the audio processing performed by Speech SDK. It is bitwise OR of AUDIO_INPUT_PROCESSING_XXX constants.
- /// Specifies the microphone array geometry.
- /// Specifies the speaker reference channel position in the input audio.
- /// The newly created AudioProcessingOptions wrapped inside a std::shared_ptr.
- static std::shared_ptr Create(int audioProcessingFlags, MicrophoneArrayGeometry microphoneArrayGeometry, SpeakerReferenceChannel speakerReferenceChannel = SpeakerReferenceChannel::None)
- {
- AudioProcessingOptions_MicrophoneArrayGeometry geometry
- {
- (AudioProcessingOptions_MicrophoneArrayType)microphoneArrayGeometry.microphoneArrayType,
- microphoneArrayGeometry.beamformingStartAngle,
- microphoneArrayGeometry.beamformingEndAngle,
- (uint16_t)microphoneArrayGeometry.microphoneCoordinates.size(),
- microphoneArrayGeometry.microphoneCoordinates.data()
- };
-
- SPXAUDIOPROCESSINGOPTIONSHANDLE hoptions = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(audio_processing_options_create_from_microphone_array_geometry(&hoptions, audioProcessingFlags, &geometry, (AudioProcessingOptions_SpeakerReferenceChannel)speakerReferenceChannel));
-
- auto options = new AudioProcessingOptions(hoptions);
- return std::shared_ptr(options);
- }
-
- ///
- /// Returns the type of audio processing performed by Speech SDK.
- ///
- /// Bitwise OR of AUDIO_INPUT_PROCESSING_XXX constant flags indicating the input audio processing performed by Speech SDK.
- int GetAudioProcessingFlags() const
- {
- int audioProcessingFlags;
- SPX_THROW_ON_FAIL(audio_processing_options_get_audio_processing_flags(m_hoptions, &audioProcessingFlags));
- return audioProcessingFlags;
- }
-
- ///
- /// Returns the microphone array geometry of the microphone used for audio input.
- ///
- /// A value of type PresetMicrophoneArrayGeometry enum.
- PresetMicrophoneArrayGeometry GetPresetMicrophoneArrayGeometry() const
- {
- PresetMicrophoneArrayGeometry microphoneArrayGeometry = PresetMicrophoneArrayGeometry::Uninitialized;
- SPX_THROW_ON_FAIL(audio_processing_options_get_preset_microphone_array_geometry(m_hoptions, (AudioProcessingOptions_PresetMicrophoneArrayGeometry*)µphoneArrayGeometry));
- return microphoneArrayGeometry;
- }
-
- ///
- /// Returns the microphone array type of the microphone used for audio input.
- ///
- /// A value of type MicrophoneArrayType enum.
- MicrophoneArrayType GetMicrophoneArrayType() const
- {
- MicrophoneArrayType microphoneArrayType = MicrophoneArrayType::Linear;
- SPX_THROW_ON_FAIL(audio_processing_options_get_microphone_array_type(m_hoptions, (AudioProcessingOptions_MicrophoneArrayType*)µphoneArrayType));
- return microphoneArrayType;
- }
-
- ///
- /// Returns the start angle used for beamforming.
- ///
- /// Beamforming start angle.
- uint16_t GetBeamformingStartAngle() const
- {
- uint16_t startAngle;
- SPX_THROW_ON_FAIL(audio_processing_options_get_beamforming_start_angle(m_hoptions, &startAngle));
- return startAngle;
- }
-
- ///
- /// Returns the end angle used for beamforming.
- ///
- /// Beamforming end angle.
- uint16_t GetBeamformingEndAngle() const
- {
- uint16_t endAngle;
- SPX_THROW_ON_FAIL(audio_processing_options_get_beamforming_end_angle(m_hoptions, &endAngle));
- return endAngle;
- }
-
- ///
- /// Returns the coordinates of microphones in the microphone array used for audio input.
- ///
- /// A std::vector of MicrophoneCoordinates elements.
- std::vector GetMicrophoneCoordinates() const
- {
- uint16_t microphoneCount;
- SPX_THROW_ON_FAIL(audio_processing_options_get_microphone_count(m_hoptions, µphoneCount));
-
- std::vector microphoneCoordinates(microphoneCount);
- SPX_THROW_ON_FAIL(audio_processing_options_get_microphone_coordinates(m_hoptions, microphoneCoordinates.data(), microphoneCount));
- return microphoneCoordinates;
- }
-
- ///
- /// Returns the speaker reference channel position in the audio input.
- ///
- /// A value of type SpeakerReferenceChannel enum.
- SpeakerReferenceChannel GetSpeakerReferenceChannel() const
- {
- SpeakerReferenceChannel speakerReferenceChannel = SpeakerReferenceChannel::None;
- SPX_THROW_ON_FAIL(audio_processing_options_get_speaker_reference_channel(m_hoptions, (AudioProcessingOptions_SpeakerReferenceChannel*)&speakerReferenceChannel));
- return speakerReferenceChannel;
- }
-
- ///
- /// Sets a property value by name.
- ///
- /// The property name.
- /// The property value.
- void SetProperty(const SPXSTRING& name, const SPXSTRING& value)
- {
- property_bag_set_string(m_propertybag, -1, Utils::ToUTF8(name).c_str(), Utils::ToUTF8(value).c_str());
- }
-
- ///
- /// Gets a property value by name.
- ///
- /// The parameter name.
- /// The property value.
- SPXSTRING GetProperty(const SPXSTRING& name) const
- {
- const char* value = property_bag_get_string(m_propertybag, -1, Utils::ToUTF8(name).c_str(), "");
- return Utils::ToSPXString(Utils::CopyAndFreePropertyString(value));
- }
-
-private:
-
- DISABLE_COPY_AND_MOVE(AudioProcessingOptions);
-
- ///
- /// Internal member variable that holds the smart handle.
- ///
- SmartHandle m_hoptions;
-
- ///
- /// Internal member variable that holds the properties of the audio processing options.
- ///
- SmartHandle m_propertybag;
-};
-
-} } } } // Microsoft::CognitiveServices::Speech::Audio
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_audio_stream.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_audio_stream.h
deleted file mode 100644
index 9bdb7fc..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_audio_stream.h
+++ /dev/null
@@ -1,995 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_cxx_audio_stream.h: Public API declarations for AudioInputStream / AudioOutputStream and related C++ classes
-//
-
-#pragma once
-#include
-#include
-#include
-#include
-#include
-#include
-#include "speechapi_cxx_common.h"
-#include "speechapi_cxx_smart_handle.h"
-#include "speechapi_cxx_audio_stream_format.h"
-#include "speechapi_cxx_enums.h"
-#include "speechapi_c_audio_stream.h"
-
-
-namespace Microsoft {
-namespace CognitiveServices {
-namespace Speech {
-
-namespace Dialog {
- class ActivityReceivedEventArgs;
-}
-
-namespace Audio {
-
-
-
-class PullAudioInputStreamCallback;
-class PushAudioInputStream;
-class PullAudioInputStream;
-class PushAudioOutputStreamCallback;
-class PushAudioOutputStream;
-class PullAudioOutputStream;
-
-
-///
-/// Represents audio input stream used for custom audio input configurations.
-///
-class AudioInputStream
-{
-public:
-
- using ReadCallbackFunction_Type = ::std::function;
- using CloseCallbackFunction_Type = ::std::function;
- /// Added in version 1.5.0.
- using GetPropertyCallbackFunction_Type = std::function;
-
- ///
- /// Internal operator used to get underlying handle value.
- ///
- /// A handle.
- explicit operator SPXAUDIOSTREAMHANDLE() const { return m_haudioStream.get(); }
-
- ///
- /// Creates a memory backed PushAudioInputStream using the default format (16 kHz, 16 bit, mono PCM).
- ///
- /// A shared pointer to PushAudioInputStream
- static std::shared_ptr CreatePushStream();
-
- ///
- /// Creates a memory backed PushAudioInputStream with the specified audio format.
- ///
- /// Audio stream format.
- /// A shared pointer to PushAudioInputStream
- static std::shared_ptr CreatePushStream(std::shared_ptr format);
-
- ///
- /// Creates a PullAudioInputStream that delegates to the specified callback functions for Read() and Close() methods, using the default format (16 kHz, 16 bit, mono PCM).
- ///
- /// Context pointer to use when invoking the callbacks.
- /// Read callback.
- /// Close callback.
- /// A shared pointer to PullAudioInputStream
- static std::shared_ptr CreatePullStream(void* pvContext, CUSTOM_AUDIO_PULL_STREAM_READ_CALLBACK readCallback, CUSTOM_AUDIO_PULL_STREAM_CLOSE_CALLBACK closeCallback = nullptr);
-
- ///
- /// Creates a PullAudioInputStream that delegates to the specified callback functions for Read(), Close() and GetProperty() methods
- /// Added in version 1.5.0.
- ///
- /// Context pointer to use when invoking the callbacks.
- /// Read callback.
- /// Close callback.
- /// GetProperty callback.
- /// A shared pointer to PullAudioInputStream
- static std::shared_ptr CreatePullStream(void* pvContext, CUSTOM_AUDIO_PULL_STREAM_READ_CALLBACK readCallback, CUSTOM_AUDIO_PULL_STREAM_CLOSE_CALLBACK closeCallback, CUSTOM_AUDIO_PULL_STREAM_GET_PROPERTY_CALLBACK getPropertyCallback);
-
- /// Creates a PullAudioInputStream that delegates to the specified callback functions for Read() and Close() methods, using the default format (16 kHz, 16 bit, mono PCM).
- ///
- /// Read callback.
- /// Close callback.
- /// A shared pointer to PullAudioInputStream
- static std::shared_ptr CreatePullStream(ReadCallbackFunction_Type readCallback, CloseCallbackFunction_Type closeCallback = nullptr);
-
- ///
- /// Creates a PullAudioInputStream that delegates to the specified callback functions for Read(), Close() and GetProperty() methods.
- /// Added in version 1.5.0.
- ///
- /// Read callback.
- /// Close callback.
- /// Get property callback.
- /// A shared pointer to PullAudioInputStream
- static std::shared_ptr CreatePullStream(ReadCallbackFunction_Type readCallback, CloseCallbackFunction_Type closeCallback, GetPropertyCallbackFunction_Type getPropertyCallback);
-
-
- ///
- /// Creates a PullAudioInputStream that delegates to the specified callback interface for the Read() and Close() methods, using the default format (16 kHz, 16 bit, mono PCM).
- ///
- /// Shared pointer to PullAudioInputStreamCallback instance.
- /// A shared pointer to PullAudioInputStream
- static std::shared_ptr CreatePullStream(std::shared_ptr callback);
-
- ///
- /// Creates a PullAudioInputStream that delegates to the specified callback functions for Read() and Close() methods.
- ///
- /// Audio stream format.
- /// Context pointer to use when invoking the callbacks.
- /// Read callback.
- /// Close callback.
- /// A shared pointer to PullAudioInputStream
- static std::shared_ptr CreatePullStream(std::shared_ptr format, void* pvContext, CUSTOM_AUDIO_PULL_STREAM_READ_CALLBACK readCallback, CUSTOM_AUDIO_PULL_STREAM_CLOSE_CALLBACK closeCallback = nullptr);
-
- ///
- /// Creates a PullAudioInputStream that delegates to the specified callback functions for Read(), Close() and GetProperty() methods.
- /// Added in version 1.5.0.
- ///
- /// Audio stream format.
- /// Context pointer to use when invoking the callbacks.
- /// Read callback.
- /// Close callback.
- /// Get property callback.
- /// A shared pointer to PullAudioInputStream
- static std::shared_ptr CreatePullStream(std::shared_ptr format, void* pvContext, CUSTOM_AUDIO_PULL_STREAM_READ_CALLBACK readCallback, CUSTOM_AUDIO_PULL_STREAM_CLOSE_CALLBACK closeCallback, CUSTOM_AUDIO_PULL_STREAM_GET_PROPERTY_CALLBACK getPropertyCallback);
-
- /// Creates a PullAudioInputStream that delegates to the specified callback functions for Read() and Close() methods.
- ///
- /// Audio stream format.
- /// Read callback.
- /// Close callback.
- /// A shared pointer to PullAudioInputStream
- static std::shared_ptr CreatePullStream(std::shared_ptr format, ReadCallbackFunction_Type readCallback, CloseCallbackFunction_Type closeCallback = nullptr);
-
- ///
- /// Creates a PullAudioInputStream that delegates to the specified callback functions for Read() and Close() methods.
- /// Added in version 1.5.0.
- ///
- /// Audio stream format.
- /// Read callback.
- /// Close callback.
- /// Get property callback.
- /// A shared pointer to PullAudioInputStream
- static std::shared_ptr CreatePullStream(std::shared_ptr format, ReadCallbackFunction_Type readCallback, CloseCallbackFunction_Type closeCallback, GetPropertyCallbackFunction_Type getPropertyCallback);
-
-
- ///
- /// Creates a PullAudioInputStream that delegates to the specified callback interface for the Read() and Close() methods, using the specified format.
- ///
- /// Audio stream format.
- /// Shared pointer to PullAudioInputStreamCallback instance.
- /// A shared pointer to PullAudioInputStream
- static std::shared_ptr CreatePullStream(std::shared_ptr format, std::shared_ptr callback);
-
-protected:
-
- /*! \cond PROTECTED */
-
- ///
- /// Internal constructor. Creates a new instance using the provided handle.
- ///
- explicit AudioInputStream(SPXAUDIOSTREAMHANDLE haudioStream) : m_haudioStream(haudioStream) { }
-
- ///
- /// Destructor, does nothing.
- ///
- virtual ~AudioInputStream() {}
-
- ///
- /// Internal helper method to get the default format if the specified format is nullptr.
- ///
- static std::shared_ptr UseDefaultFormatIfNull(std::shared_ptr format) { return format != nullptr ? format : AudioStreamFormat::GetDefaultInputFormat(); }
-
- ///
- /// Internal helper method to get the audio stream format handle.
- ///
- static SPXAUDIOSTREAMFORMATHANDLE GetFormatHandle(std::shared_ptr format) { return (SPXAUDIOSTREAMFORMATHANDLE)(*format.get()); }
-
- ///
- /// Internal member variable that holds the smart handle.
- ///
- SmartHandle m_haudioStream;
-
- protected:
- static constexpr size_t m_maxPropertyLen = 1024;
-
- /*! \endcond */
-
-private:
-
- DISABLE_COPY_AND_MOVE(AudioInputStream);
-};
-
-
-///
-/// Represents memory backed push audio input stream used for custom audio input configurations.
-///
-class PushAudioInputStream : public AudioInputStream
-{
-public:
-
- ///
- /// Destructor; closes the underlying stream if not already closed.
- ///
- virtual ~PushAudioInputStream()
- {
- if (audio_stream_is_handle_valid(m_haudioStream))
- {
- CloseStream();
- }
- }
-
- ///
- /// Creates a memory backed PushAudioInputStream using the default format (16 kHz, 16 bit, mono PCM).
- ///
- /// A shared pointer to PushAudioInputStream
- static std::shared_ptr Create()
- {
- return Create(nullptr);
- }
-
- ///
- /// Creates a memory backed PushAudioInputStream with the specified audio format.
- ///
- /// Audio stream format.
- /// A shared pointer to PushAudioInputStream
- static std::shared_ptr Create(std::shared_ptr format)
- {
- format = UseDefaultFormatIfNull(format);
-
- SPXAUDIOSTREAMHANDLE haudioStream = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(audio_stream_create_push_audio_input_stream(&haudioStream, GetFormatHandle(format)));
-
- auto stream = new PushAudioInputStream(haudioStream);
- return std::shared_ptr(stream);
- }
-
- ///
- /// Writes the audio data specified by making an internal copy of the data.
- /// Note: The dataBuffer should not contain any audio header.
- ///
- /// The pointer to the audio buffer of which this function will make a copy.
- /// The size of the buffer.
- void Write(uint8_t* dataBuffer, uint32_t size)
- {
- SPX_THROW_ON_FAIL(push_audio_input_stream_write(m_haudioStream, dataBuffer, size));
- }
-
- ///
- /// Set value of a property. The properties of the audio data should be set before writing the audio data.
- /// Added in version 1.5.0.
- ///
- /// The id of property. See
- /// value to set
- void SetProperty(PropertyId id, const SPXSTRING& value)
- {
- SPX_THROW_ON_FAIL(push_audio_input_stream_set_property_by_id(m_haudioStream, static_cast(id), Utils::ToUTF8(value).c_str()));
- }
-
- ///
- /// Set value of a property. The properties of the audio data should be set before writing the audio data.
- /// Added in version 1.5.0.
- ///
- /// The name of property.
- /// value to set
- void SetProperty(const SPXSTRING& propertyName, const SPXSTRING& value)
- {
- SPX_THROW_ON_FAIL(push_audio_input_stream_set_property_by_name(m_haudioStream, Utils::ToUTF8(propertyName.c_str()), Utils::ToUTF8(value.c_str())));
- }
-
- ///
- /// Closes the stream.
- ///
- void Close() { SPX_THROW_ON_FAIL(CloseStream()); }
-
-
-protected:
-
- /*! \cond PROTECTED */
-
- ///
- /// Internal constructor. Creates a new instance using the provided handle.
- ///
- explicit PushAudioInputStream(SPXAUDIOSTREAMHANDLE haudioStream) : AudioInputStream(haudioStream) { }
-
- /*! \endcond */
-
-private:
-
- DISABLE_COPY_AND_MOVE(PushAudioInputStream);
-
- SPXHR CloseStream() { return push_audio_input_stream_close(m_haudioStream); }
-};
-
-
-///
-/// An interface that defines callback methods for an audio input stream.
-///
-///
-/// Derive from this class and implement its function to provide your own
-/// data as an audio input stream.
-///
-class PullAudioInputStreamCallback
-{
-public:
-
- ///
- /// Destructor, does nothing.
- ///
- virtual ~PullAudioInputStreamCallback() {}
-
- ///
- /// This function is called to synchronously get data from the audio stream.
- /// Note: The dataBuffer returned by Read() should not contain any audio header.
- ///
- /// The pointer to the buffer to which to copy the audio data.
- /// The size of the buffer.
- /// The number of bytes copied into the buffer, or zero to indicate end of stream
- virtual int Read(uint8_t* dataBuffer, uint32_t size) = 0;
-
- ///
- /// This function is called to synchronously to get meta information associated to stream data, such as TimeStamp or UserId .
- /// Added in version 1.5.0.
- ///
- /// The id of the property.
- /// The value of the property.
- virtual SPXSTRING GetProperty(PropertyId id)
- {
- if (PropertyId::DataBuffer_TimeStamp == id)
- {
- return "";
- }
- else if (PropertyId::DataBuffer_UserId == id)
- {
- return "";
- }
- else
- {
- return "";
- }
- }
-
- ///
- /// This function is called to close the audio stream.
- ///
- ///
- virtual void Close() = 0;
-
-protected:
-
- /*! \cond PROTECTED */
-
- ///
- /// Constructor, does nothing.
- ///
- PullAudioInputStreamCallback() {};
-
- /*! \endcond */
-
-private:
-
- DISABLE_COPY_AND_MOVE(PullAudioInputStreamCallback);
-};
-
-
-///
-/// Pull audio input stream class.
-///
-class PullAudioInputStream : public AudioInputStream
-{
-public:
-
- ///
- /// Creates a PullAudioInputStream utilizing the specified Read() and Close() "C" callback functions pointers
- /// Note: The dataBuffer returned by Read() should not contain any audio header.
- ///
- /// Context pointer to use when invoking the callbacks.
- /// Read callback.
- /// Close callback.
- /// A shared pointer to PullAudioInputStream
- static std::shared_ptr Create(void* pvContext, CUSTOM_AUDIO_PULL_STREAM_READ_CALLBACK readCallback, CUSTOM_AUDIO_PULL_STREAM_CLOSE_CALLBACK closeCallback = nullptr)
- {
- return Create(nullptr, pvContext, readCallback, closeCallback);
- }
-
- ///
- /// Creates a PullAudioInputStream utilizing the specified Read(), Close() and GetProperty() "C" callback functions pointers
- /// Note: The dataBuffer returned by Read() should not contain any audio header.
- /// Added in version 1.5.0.
- ///
- /// Context pointer to use when invoking the callbacks.
- /// Read callback.
- /// Close callback.
- /// Get property callback.
- /// A shared pointer to PullAudioInputStream
- static std::shared_ptr Create(void* pvContext, CUSTOM_AUDIO_PULL_STREAM_READ_CALLBACK readCallback, CUSTOM_AUDIO_PULL_STREAM_CLOSE_CALLBACK closeCallback, CUSTOM_AUDIO_PULL_STREAM_GET_PROPERTY_CALLBACK getPropertyCallback)
- {
- return Create(nullptr, pvContext, readCallback, closeCallback, getPropertyCallback);
- }
-
- /// Creates a PullAudioInputStream utilizing the specified Read() and Close() callback functions.
- /// Note: The dataBuffer returned by Read() should not contain any audio header.
- ///
- /// Read callback.
- /// Close callback.
- /// A shared pointer to PullAudioInputStream
- static std::shared_ptr Create(ReadCallbackFunction_Type readCallback, CloseCallbackFunction_Type closeCallback = nullptr)
- {
- return Create(nullptr, readCallback, closeCallback);
- }
-
- ///
- /// Creates a PullAudioInputStream utilizing the specified Read(), Close() and GetProperty() callback functions.
- /// Note: The dataBuffer returned by Read() should not contain any audio header.
- /// Added in version 1.5.0.
- ///
- /// Read callback.
- /// Close callback.
- /// Get property callback.
- /// A shared pointer to PullAudioInputStream
- static std::shared_ptr Create(ReadCallbackFunction_Type readCallback, CloseCallbackFunction_Type closeCallback, GetPropertyCallbackFunction_Type getPropertyCallback)
- {
- return Create(nullptr, readCallback, closeCallback, getPropertyCallback);
- }
-
- ///
- /// Creates a PullAudioInputStream utilizing the specified Close() callback function.
- ///
- /// Shared pointer to PullAudioInputStreamCallback instance.
- /// A shared pointer to PullAudioInputStream
- static std::shared_ptr Create(std::shared_ptr callback)
- {
- return Create(nullptr, callback);
- }
-
- ///
- /// Creates a PullAudioInputStream utilizing the specified Read() and Close() "C" callback functions pointers
- /// Note: The dataBuffer returned by Read() should not contain any audio header.
- ///
- /// Audio stream format.
- /// Context pointer to use when invoking the callbacks.
- /// Read callback.
- /// Close callback.
- /// A shared pointer to PullAudioInputStream
- static std::shared_ptr Create(std::shared_ptr format, void* pvContext, CUSTOM_AUDIO_PULL_STREAM_READ_CALLBACK readCallback, CUSTOM_AUDIO_PULL_STREAM_CLOSE_CALLBACK closeCallback = nullptr)
- {
- return Create(format,
- [=](uint8_t* buffer, uint32_t size) -> int { return readCallback(pvContext, buffer, size); },
- [=]() { if (closeCallback != nullptr) { closeCallback(pvContext); } });
- }
-
- ///
- /// Creates a PullAudioInputStream utilizing the specified Read(), Close() and GetProperty() "C" callback functions pointers
- /// Note: The dataBuffer returned by Read() should not contain any audio header.
- ///
- /// Audio stream format.
- /// Context pointer to use when invoking the callbacks.
- /// Read callback.
- /// Close callback.
- /// Get property callback.
- /// A shared pointer to PullAudioInputStream
- static std::shared_ptr Create(std::shared_ptr format, void* pvContext, CUSTOM_AUDIO_PULL_STREAM_READ_CALLBACK readCallback, CUSTOM_AUDIO_PULL_STREAM_CLOSE_CALLBACK closeCallback, CUSTOM_AUDIO_PULL_STREAM_GET_PROPERTY_CALLBACK getPropertyCallback)
- {
- return Create(format,
- [=](uint8_t* buffer, uint32_t size) -> int { return readCallback(pvContext, buffer, size); },
- [=]() { if (closeCallback != nullptr) { closeCallback(pvContext); } },
- [=](PropertyId id) -> SPXSTRING
- {
- uint8_t result[m_maxPropertyLen];
- getPropertyCallback(pvContext, static_cast(id), result, m_maxPropertyLen);
- return reinterpret_cast(result);
- });
- }
-
- ///
- /// Creates a PullAudioInputStream utilizing the specified Read() and Close() callback functions.
- /// Note: The dataBuffer returned by Read() should not contain any audio header.
- ///
- /// Audio stream format.
- /// Read callback.
- /// Close callback.
- /// A shared pointer to PullAudioInputStream
- static std::shared_ptr Create(std::shared_ptr format, ReadCallbackFunction_Type readCallback, CloseCallbackFunction_Type closeCallback = nullptr)
- {
- auto wrapper = std::make_shared(readCallback, closeCallback);
- return Create(format, wrapper);
- }
-
- ///
- /// Creates a PullAudioInputStream utilizing the specified Read(), Close() and GetProperty() callback functions.
- /// Note: The dataBuffer returned by Read() should not contain any audio header.
- /// Added in version 1.5.0.
- ///
- /// Audio stream format.
- /// Read callback.
- /// Close callback.
- /// Get property callback.
- /// A shared pointer to PullAudioInputStream
- static std::shared_ptr Create(std::shared_ptr format, ReadCallbackFunction_Type readCallback, CloseCallbackFunction_Type closeCallback, GetPropertyCallbackFunction_Type getPropertyCallback)
- {
- auto wrapper = std::make_shared(readCallback, closeCallback, getPropertyCallback);
- return Create(format, wrapper);
- }
-
- ///
- /// Creates a PullAudioInputStream utilizing the specified Read() and Close() callback functions.
- ///
- /// Audio stream format.
- /// Shared pointer to PullAudioInputStreamCallback instance.
- /// A shared pointer to PullAudioInputStream
- static std::shared_ptr Create(std::shared_ptr format, std::shared_ptr callback)
- {
- format = UseDefaultFormatIfNull(format);
-
- SPXAUDIOSTREAMHANDLE haudioStream = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(audio_stream_create_pull_audio_input_stream(&haudioStream, GetFormatHandle(format)));
-
- auto stream = new PullAudioInputStream(haudioStream);
- SPX_THROW_ON_FAIL(pull_audio_input_stream_set_callbacks(haudioStream, stream, ReadCallbackWrapper, CloseCallbackWrapper));
- SPX_THROW_ON_FAIL(pull_audio_input_stream_set_getproperty_callback(haudioStream, stream, GetPropertyCallbackWrapper));
-
- stream->m_callback = callback;
-
- return std::shared_ptr(stream);
- }
-
-protected:
-
- /*! \cond PROTECTED */
-
- ///
- /// Internal constructor. Creates a new instance using the provided handle.
- ///
- explicit PullAudioInputStream(SPXAUDIOSTREAMHANDLE haudioStream) : AudioInputStream(haudioStream) { }
-
- class FunctionCallbackWrapper : public PullAudioInputStreamCallback
- {
- public:
-
- FunctionCallbackWrapper(ReadCallbackFunction_Type readCallback, CloseCallbackFunction_Type closeCallback, GetPropertyCallbackFunction_Type getPropertyCallback = nullptr) :
- m_readCallback(readCallback),
- m_closeCallback(closeCallback),
- m_getPropertyCallback(getPropertyCallback)
- {
- };
-
- /// Note: The dataBuffer returned by Read() should not contain any audio header.
- int Read(uint8_t* dataBuffer, uint32_t size) override { return m_readCallback(dataBuffer, size); }
- void Close() override { if (m_closeCallback != nullptr) m_closeCallback(); };
- SPXSTRING GetProperty(PropertyId id) override
- {
- if (m_getPropertyCallback != nullptr)
- {
- return m_getPropertyCallback(id);
- }
- else
- {
- return "";
- }
- }
-
- private:
-
- DISABLE_COPY_AND_MOVE(FunctionCallbackWrapper);
-
- ReadCallbackFunction_Type m_readCallback;
- CloseCallbackFunction_Type m_closeCallback;
- GetPropertyCallbackFunction_Type m_getPropertyCallback;
-
- };
-
- /*! \endcond */
-
-private:
-
- DISABLE_COPY_AND_MOVE(PullAudioInputStream);
-
- static int ReadCallbackWrapper(void* pvContext, uint8_t* dataBuffer, uint32_t size)
- {
- PullAudioInputStream* ptr = (PullAudioInputStream*)pvContext;
- return ptr->m_callback->Read(dataBuffer, size);
- }
-
- static void CloseCallbackWrapper(void* pvContext)
- {
- SPX_DBG_TRACE_SCOPE(__FUNCTION__, __FUNCTION__);
- PullAudioInputStream* ptr = (PullAudioInputStream*)pvContext;
- ptr->m_callback->Close();
- }
-
- static void GetPropertyCallbackWrapper(void *pvContext, int id, uint8_t* result, uint32_t size)
- {
- PullAudioInputStream* ptr = (PullAudioInputStream*)pvContext;
- auto value = ptr->m_callback->GetProperty(static_cast(id));
- auto valueSize = value.size() + 1;
- SPX_THROW_HR_IF(SPXERR_INVALID_ARG, valueSize > size);
- std::memcpy(result, value.c_str(), valueSize);
- }
-
- std::shared_ptr m_callback;
-};
-
-
-inline std::shared_ptr AudioInputStream::CreatePushStream()
-{
- return PushAudioInputStream::Create();
-}
-
-inline std::shared_ptr AudioInputStream::CreatePushStream(std::shared_ptr format)
-{
- return PushAudioInputStream::Create(format);
-}
-
-inline std::shared_ptr AudioInputStream::CreatePullStream(void* pvContext, CUSTOM_AUDIO_PULL_STREAM_READ_CALLBACK readCallback, CUSTOM_AUDIO_PULL_STREAM_CLOSE_CALLBACK closeCallback)
-{
- return PullAudioInputStream::Create(pvContext, readCallback, closeCallback);
-}
-
-inline std::shared_ptr AudioInputStream::CreatePullStream(void* pvContext, CUSTOM_AUDIO_PULL_STREAM_READ_CALLBACK readCallback, CUSTOM_AUDIO_PULL_STREAM_CLOSE_CALLBACK closeCallback, CUSTOM_AUDIO_PULL_STREAM_GET_PROPERTY_CALLBACK getPropertyCallback)
-{
- return PullAudioInputStream::Create(pvContext, readCallback, closeCallback, getPropertyCallback);
-}
-
-inline std::shared_ptr AudioInputStream::CreatePullStream(ReadCallbackFunction_Type readCallback, CloseCallbackFunction_Type closeCallback)
-{
- return PullAudioInputStream::Create(readCallback, closeCallback);
-}
-
-inline std::shared_ptr AudioInputStream::CreatePullStream(ReadCallbackFunction_Type readCallback, CloseCallbackFunction_Type closeCallback, GetPropertyCallbackFunction_Type getPropertyCallback)
-{
- return PullAudioInputStream::Create(readCallback, closeCallback, getPropertyCallback);
-}
-
-inline std::shared_ptr AudioInputStream::CreatePullStream(std::shared_ptr callback)
-{
- return PullAudioInputStream::Create(callback);
-}
-
-inline std::shared_ptr AudioInputStream::CreatePullStream(std::shared_ptr format, void* pvContext, CUSTOM_AUDIO_PULL_STREAM_READ_CALLBACK readCallback, CUSTOM_AUDIO_PULL_STREAM_CLOSE_CALLBACK closeCallback)
-{
- return PullAudioInputStream::Create(format, pvContext, readCallback, closeCallback);
-}
-
-inline std::shared_ptr AudioInputStream::CreatePullStream(std::shared_ptr format, void* pvContext, CUSTOM_AUDIO_PULL_STREAM_READ_CALLBACK readCallback, CUSTOM_AUDIO_PULL_STREAM_CLOSE_CALLBACK closeCallback, CUSTOM_AUDIO_PULL_STREAM_GET_PROPERTY_CALLBACK getPropertyCallback)
-{
- return PullAudioInputStream::Create(format, pvContext, readCallback, closeCallback, getPropertyCallback);
-}
-
-inline std::shared_ptr AudioInputStream::CreatePullStream(std::shared_ptr format, ReadCallbackFunction_Type readCallback, CloseCallbackFunction_Type closeCallback)
-{
- return PullAudioInputStream::Create(format, readCallback, closeCallback);
-}
-
-inline std::shared_ptr AudioInputStream::CreatePullStream(std::shared_ptr format, ReadCallbackFunction_Type readCallback, CloseCallbackFunction_Type closeCallback, GetPropertyCallbackFunction_Type getPropertyCallback)
-{
- return PullAudioInputStream::Create(format, readCallback, closeCallback, getPropertyCallback);
-}
-
-inline std::shared_ptr AudioInputStream::CreatePullStream(std::shared_ptr format, std::shared_ptr callback)
-{
- return PullAudioInputStream::Create(format, callback);
-}
-
-
-///
-/// Represents audio output stream used for custom audio output configurations.
-/// Updated in version 1.7.0
-///
-class AudioOutputStream
-{
-public:
-
- using WriteCallbackFunction_Type = ::std::function;
- using CloseCallbackFunction_Type = ::std::function;
-
- ///
- /// Internal operator used to get underlying handle value.
- ///
- /// A handle.
- explicit operator SPXAUDIOSTREAMHANDLE() const { return m_haudioStream.get(); }
-
- ///
- /// Creates a memory backed PullAudioOutputStream.
- ///
- /// A shared pointer to PullAudioOutputStream
- static std::shared_ptr CreatePullStream();
-
- ///
- /// Creates a PushAudioOutputStream that delegates to the specified callback functions for Write() and Close() methods.
- ///
- /// Context pointer to use when invoking the callbacks.
- /// Write callback.
- /// Close callback.
- /// A shared pointer to PushAudioOutputStream
- static std::shared_ptr CreatePushStream(void* pvContext, CUSTOM_AUDIO_PUSH_STREAM_WRITE_CALLBACK writeCallback, CUSTOM_AUDIO_PUSH_STREAM_CLOSE_CALLBACK closeCallback = nullptr);
-
- ///
- /// Creates a PushAudioOutputStream that delegates to the specified callback functions for Write() and Close() methods.
- ///
- /// Write callback.
- /// Close callback.
- /// A shared pointer to PushAudioOutputStream
- static std::shared_ptr CreatePushStream(WriteCallbackFunction_Type writeCallback, CloseCallbackFunction_Type closeCallback = nullptr);
-
- ///
- /// Creates a PushAudioOutputStream that delegates to the specified callback interface for Write() and Close() methods.
- ///
- /// Shared pointer to PushAudioOutputStreamCallback instance.
- /// A shared pointer to PushAudioOutputStream
- static std::shared_ptr CreatePushStream(std::shared_ptr callback);
-
-protected:
-
- /*! \cond PROTECTED */
-
- ///
- /// Internal constructor. Creates a new instance using the provided handle.
- ///
- explicit AudioOutputStream(SPXAUDIOSTREAMHANDLE haudioStream) : m_haudioStream(haudioStream) { }
-
- ///
- /// Destructor, does nothing.
- ///
- virtual ~AudioOutputStream() {}
-
- ///
- /// Internal member variable that holds the smart handle.
- ///
- SmartHandle m_haudioStream;
-
- /*! \endcond */
-
-private:
-
- DISABLE_COPY_AND_MOVE(AudioOutputStream);
-};
-
-
-///
-/// Represents memory backed pull audio output stream used for custom audio output.
-/// Updated in version 1.7.0
-///
-class PullAudioOutputStream : public AudioOutputStream
-{
-public:
- friend class Dialog::ActivityReceivedEventArgs;
-
- ///
- /// Creates a memory backed PullAudioOutputStream.
- ///
- /// A shared pointer to PullAudioOutputStream
- static std::shared_ptr Create()
- {
- SPXAUDIOSTREAMHANDLE haudioStream = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(audio_stream_create_pull_audio_output_stream(&haudioStream));
-
- auto stream = new PullAudioOutputStream(haudioStream);
- return std::shared_ptr(stream);
- }
-
- ///
- /// Reads a chunk of the audio data and fill it to given buffer
- ///
- /// A buffer to receive read data.
- /// Size of the buffer.
- /// Size of data filled to the buffer, 0 means end of stream
- inline uint32_t Read(uint8_t* buffer, uint32_t bufferSize)
- {
- uint32_t filledSize = 0;
- SPX_THROW_ON_FAIL(pull_audio_output_stream_read(m_haudioStream, buffer, bufferSize, &filledSize));
-
- return filledSize;
- }
-
-
-protected:
-
- /*! \cond PROTECTED */
-
- ///
- /// Internal constructor. Creates a new instance using the provided handle.
- ///
- explicit PullAudioOutputStream(SPXAUDIOSTREAMHANDLE haudioStream) : AudioOutputStream(haudioStream) { }
-
- /*! \endcond */
-
-
-private:
-
- template
- static std::shared_ptr SpxAllocSharedBuffer(size_t sizeInBytes)
- {
- auto ptr = reinterpret_cast(new uint8_t[sizeInBytes]);
- auto deleter = [](T* p) { delete[] reinterpret_cast(p); };
-
- std::shared_ptr buffer(ptr, deleter);
- return buffer;
- }
-
-
-private:
-
- DISABLE_COPY_AND_MOVE(PullAudioOutputStream);
-
- std::vector m_audioData;
-};
-
-
-///
-/// An interface that defines callback methods for an audio output stream.
-/// Updated in version 1.7.0
-///
-///
-/// Derive from this class and implement its function to provide your own
-/// data as an audio output stream.
-///
-class PushAudioOutputStreamCallback
-{
-public:
-
- ///
- /// Destructor, does nothing.
- ///
- virtual ~PushAudioOutputStreamCallback() {}
-
- ///
- /// This function is called to synchronously put data to the audio stream.
- ///
- /// The pointer to the buffer from which to consume the audio data.
- /// The size of the buffer.
- /// The number of bytes consumed from the buffer
- virtual int Write(uint8_t* dataBuffer, uint32_t size) = 0;
-
- ///
- /// This function is called to close the audio stream.
- ///
- ///
- virtual void Close() = 0;
-
-protected:
-
- /*! \cond PROTECTED */
-
- ///
- /// Constructor, does nothing.
- ///
- PushAudioOutputStreamCallback() {};
-
- /*! \endcond */
-
-private:
-
- DISABLE_COPY_AND_MOVE(PushAudioOutputStreamCallback);
-};
-
-
-///
-/// Push audio output stream class.
-/// Added in version 1.4.0
-///
-class PushAudioOutputStream : public AudioOutputStream
-{
-public:
-
- ///
- /// Creates a PushAudioOutputStream utilizing the specified Write() and Close() "C" callback functions pointers
- ///
- /// Context pointer to use when invoking the callbacks.
- /// Write callback.
- /// Close callback.
- /// A shared pointer to PushAudioOutputStream
- static std::shared_ptr Create(void* pvContext, CUSTOM_AUDIO_PUSH_STREAM_WRITE_CALLBACK writeCallback, CUSTOM_AUDIO_PUSH_STREAM_CLOSE_CALLBACK closeCallback = nullptr)
- {
- return Create(
- [=](uint8_t* buffer, uint32_t size) -> int { return writeCallback(pvContext, buffer, size); },
- [=]() { if (closeCallback != nullptr) { closeCallback(pvContext); } });
- }
-
- ///
- /// Creates a PushAudioOutputStream utilizing the specified Write() and Close() callback functions.
- ///
- /// Write callback.
- /// Close callback.
- /// A shared pointer to PushAudioOutputStream
- static std::shared_ptr Create(WriteCallbackFunction_Type writeCallback, CloseCallbackFunction_Type closeCallback = nullptr)
- {
- auto wrapper = std::make_shared(writeCallback, closeCallback);
- return Create(wrapper);
- }
-
- ///
- /// Creates a PushAudioOutputStream utilizing the specified callback interface with Write() and Close() callback function.
- ///
- /// Shared pointer to PushAudioOutputStreamCallback instance.
- /// A shared pointer to PushAudioOutputStream
- static std::shared_ptr Create(std::shared_ptr callback)
- {
- SPXAUDIOSTREAMHANDLE haudioStream = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(audio_stream_create_push_audio_output_stream(&haudioStream));
-
- auto stream = new PushAudioOutputStream(haudioStream);
- SPX_THROW_ON_FAIL(push_audio_output_stream_set_callbacks(haudioStream, stream, WriteCallbackWrapper, CloseCallbackWrapper));
- stream->m_callback = callback;
-
- return std::shared_ptr(stream);
- }
-
-protected:
-
- /*! \cond PROTECTED */
-
- ///
- /// Internal constructor. Creates a new instance using the provided handle.
- ///
- explicit PushAudioOutputStream(SPXAUDIOSTREAMHANDLE haudioStream) : AudioOutputStream(haudioStream) { }
-
- class FunctionCallbackWrapper : public PushAudioOutputStreamCallback
- {
- public:
-
- FunctionCallbackWrapper(WriteCallbackFunction_Type writeCallback, CloseCallbackFunction_Type closeCallback) :
- m_writeCallback(writeCallback),
- m_closeCallback(closeCallback)
- {
- };
-
- int Write(uint8_t* dataBuffer, uint32_t size) override { return m_writeCallback(dataBuffer, size); }
- void Close() override { if (m_closeCallback != nullptr) m_closeCallback(); };
-
- private:
-
- DISABLE_COPY_AND_MOVE(FunctionCallbackWrapper);
-
- WriteCallbackFunction_Type m_writeCallback;
- CloseCallbackFunction_Type m_closeCallback;
- };
-
- /*! \endcond */
-
-private:
-
- DISABLE_COPY_AND_MOVE(PushAudioOutputStream);
-
- static int WriteCallbackWrapper(void* pvContext, uint8_t* dataBuffer, uint32_t size)
- {
- PushAudioOutputStream* ptr = (PushAudioOutputStream*)pvContext;
- return ptr->m_callback->Write(dataBuffer, size);
- }
-
- static void CloseCallbackWrapper(void* pvContext)
- {
- SPX_DBG_TRACE_SCOPE(__FUNCTION__, __FUNCTION__);
- PushAudioOutputStream* ptr = (PushAudioOutputStream*)pvContext;
- ptr->m_callback->Close();
- }
-
- std::shared_ptr m_callback;
-};
-
-
-inline std::shared_ptr AudioOutputStream::CreatePullStream()
-{
- return PullAudioOutputStream::Create();
-}
-
-inline std::shared_ptr AudioOutputStream::CreatePushStream(void* pvContext, CUSTOM_AUDIO_PUSH_STREAM_WRITE_CALLBACK writeCallback, CUSTOM_AUDIO_PUSH_STREAM_CLOSE_CALLBACK closeCallback)
-{
- return PushAudioOutputStream::Create(pvContext, writeCallback, closeCallback);
-}
-
-inline std::shared_ptr AudioOutputStream::CreatePushStream(WriteCallbackFunction_Type writeCallback, CloseCallbackFunction_Type closeCallback)
-{
- return PushAudioOutputStream::Create(writeCallback, closeCallback);
-}
-
-inline std::shared_ptr AudioOutputStream::CreatePushStream(std::shared_ptr callback)
-{
- return PushAudioOutputStream::Create(callback);
-}
-
-
-} } } } // Microsoft::CognitiveServices::Speech::Audio
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_audio_stream_format.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_audio_stream_format.h
deleted file mode 100644
index 2c98257..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_audio_stream_format.h
+++ /dev/null
@@ -1,215 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_cxx_audio_stream_format.h: Public API declarations for AudioStreamFormat and related C++ classes
-//
-
-#pragma once
-#include
-#include
-#include
-#include "speechapi_cxx_common.h"
-#include "speechapi_cxx_smart_handle.h"
-#include "speechapi_c_audio_stream_format.h"
-#include "speechapi_cxx_enums.h"
-
-
-namespace Microsoft {
-namespace CognitiveServices {
-namespace Speech {
-namespace Audio {
-
-///
-/// Defines supported audio stream container format.
-/// Changed in version 1.4.0.
-///
-enum class AudioStreamContainerFormat
-{
- ///
- /// Stream ContainerFormat definition for OGG OPUS.
- ///
- OGG_OPUS = 0x101,
-
- ///
- /// Stream ContainerFormat definition for MP3.
- ///
- MP3 = 0x102,
-
- ///
- /// Stream ContainerFormat definition for FLAC. Added in version 1.7.0.
- ///
- FLAC = 0x103,
-
- ///
- /// Stream ContainerFormat definition for ALAW. Added in version 1.7.0.
- ///
- ALAW = 0x104,
-
- ///
- /// Stream ContainerFormat definition for MULAW. Added in version 1.7.0.
- ///
- MULAW = 0x105,
-
- ///
- /// Stream ContainerFormat definition for AMRNB. Currently not supported.
- ///
- AMRNB = 0x106,
-
- ///
- /// Stream ContainerFormat definition for AMRWB. Currently not supported.
- ///
- AMRWB = 0x107,
-
- ///
- /// Stream ContainerFormat definition for any other or unknown format.
- ///
- ANY = 0x108
-};
-
-///
-/// Represents the format specified inside WAV container.
-///
-enum class AudioStreamWaveFormat
-{
- ///
- /// AudioStreamWaveFormat definition for PCM (pulse-code modulated) data in integer format.
- ///
- PCM = 0x0001,
-
- ///
- /// AudioStreamWaveFormat definition A-law-encoded format.
- ///
- ALAW = 0x0006,
-
- ///
- /// AudioStreamWaveFormat definition for Mu-law-encoded format.
- ///
- MULAW = 0x0007,
-
- ///
- /// AudioStreamWaveFormat definition for G.722-encoded format.
- ///
- G722 = 0x028F
-};
-
-///
-/// Class to represent the audio stream format used for custom audio input configurations.
-/// Updated in version 1.5.0.
-///
-class AudioStreamFormat
-{
-public:
-
- ///
- /// Destructor, does nothing.
- ///
- virtual ~AudioStreamFormat() {}
-
- ///
- /// Internal operator used to get underlying handle value.
- ///
- /// A handle.
- explicit operator SPXAUDIOSTREAMFORMATHANDLE() const { return m_hformat.get(); }
-
- ///
- /// Creates an audio stream format object representing the default audio stream format (16 kHz, 16 bit, mono PCM).
- ///
- /// A shared pointer to AudioStreamFormat
- static std::shared_ptr GetDefaultInputFormat()
- {
- SPXAUDIOSTREAMFORMATHANDLE hformat = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(audio_stream_format_create_from_default_input(&hformat));
-
- auto format = new AudioStreamFormat(hformat);
- return std::shared_ptr(format);
- }
-
- ///
- /// Creates an audio stream format object with the specified PCM waveformat characteristics.
- ///
- /// Samples per second.
- /// Bits per sample.
- /// Number of channels in the waveform-audio data.
- /// The format specified inside the WAV container.
- /// A shared pointer to AudioStreamFormat
- static std::shared_ptr GetWaveFormat(uint32_t samplesPerSecond, uint8_t bitsPerSample, uint8_t channels, AudioStreamWaveFormat waveFormat)
- {
- SPXAUDIOSTREAMFORMATHANDLE hformat = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(audio_stream_format_create_from_waveformat(&hformat, samplesPerSecond, bitsPerSample, channels, (Audio_Stream_Wave_Format)waveFormat));
-
- auto format = new AudioStreamFormat(hformat);
- return std::shared_ptr(format);
- }
-
- ///
- /// Creates an audio stream format object with the specified PCM waveformat characteristics.
- ///
- /// Samples per second.
- /// Bits per sample.
- /// Number of channels in the waveform-audio data.
- /// A shared pointer to AudioStreamFormat
- static std::shared_ptr GetWaveFormatPCM(uint32_t samplesPerSecond, uint8_t bitsPerSample = 16, uint8_t channels = 1)
- {
- SPXAUDIOSTREAMFORMATHANDLE hformat = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(audio_stream_format_create_from_waveformat(&hformat, samplesPerSecond, bitsPerSample, channels, Audio_Stream_Wave_Format::StreamWaveFormat_PCM));
-
- auto format = new AudioStreamFormat(hformat);
- return std::shared_ptr(format);
- }
-
- ///
- /// Creates an audio stream format object representing the default audio stream format (16 kHz, 16 bit, mono PCM).
- /// Added in version 1.4.0
- ///
- /// A shared pointer to AudioStreamFormat
- static std::shared_ptr GetDefaultOutputFormat()
- {
- SPXAUDIOSTREAMFORMATHANDLE hformat = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(audio_stream_format_create_from_default_output(&hformat));
-
- auto format = new AudioStreamFormat(hformat);
- return std::shared_ptr(format);
- }
-
- ///
- /// Creates an audio stream format object with the specified compressed audio container format, to be used as input format.
- /// Support added in 1.4.0.
- ///
- ///
- /// Formats are defined in AudioStreamContainerFormat enum.
- ///
- /// Compressed format type.
- /// A shared pointer to AudioStreamFormat.
- static std::shared_ptr GetCompressedFormat(AudioStreamContainerFormat compressedFormat)
- {
- SPXAUDIOSTREAMFORMATHANDLE hformat = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(audio_stream_format_create_from_compressed_format(&hformat, (Audio_Stream_Container_Format)compressedFormat));
-
- auto format = new AudioStreamFormat(hformat);
- return std::shared_ptr(format);
- }
-
-protected:
-
- /*! \cond PROTECTED */
-
- ///
- /// Internal constructor. Creates a new instance using the provided handle.
- ///
- explicit AudioStreamFormat(SPXAUDIOSTREAMFORMATHANDLE hformat) : m_hformat(hformat) { }
-
- /*! \endcond */
-
-private:
-
- DISABLE_COPY_AND_MOVE(AudioStreamFormat);
-
- ///
- /// Internal member variable that holds the smart handle.
- ///
- SmartHandle m_hformat;
-};
-
-
-} } } } // Microsoft::CognitiveServices::Speech::Audio
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_auto_detect_source_lang_config.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_auto_detect_source_lang_config.h
deleted file mode 100644
index 375139d..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_auto_detect_source_lang_config.h
+++ /dev/null
@@ -1,141 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#pragma once
-
-#include
-#include
-
-#include "speechapi_cxx_common.h"
-#include "speechapi_cxx_properties.h"
-#include "speechapi_cxx_string_helpers.h"
-#include "speechapi_cxx_utils.h"
-#include "speechapi_c_auto_detect_source_lang_config.h"
-#include "speechapi_cxx_source_lang_config.h"
-#include
-
-namespace Microsoft {
-namespace CognitiveServices {
-namespace Speech {
-
-///
-/// Class that defines auto detection source configuration
-/// Updated in 1.13.0
-///
-class AutoDetectSourceLanguageConfig
-{
-public:
- ///
- /// Internal operator used to get underlying handle value.
- ///
- /// A handle.
- explicit operator SPXAUTODETECTSOURCELANGCONFIGHANDLE() const { return m_hconfig; }
-
- ///
- /// Creates an instance of the AutoDetectSourceLanguageConfig with open range as source languages
- /// Note: only , embedded speech translation and multilingual support source language auto detection from open range,
- /// for , please use AutoDetectSourceLanguageConfig with specific source languages.
- /// Added in 1.13.0
- ///
- /// A shared pointer to the new AutoDetectSourceLanguageConfig instance.
- static std::shared_ptr FromOpenRange()
- {
- SPXAUTODETECTSOURCELANGCONFIGHANDLE hconfig = SPXHANDLE_INVALID;
-
- SPX_THROW_ON_FAIL(create_auto_detect_source_lang_config_from_open_range(&hconfig));
- auto ptr = new AutoDetectSourceLanguageConfig(hconfig);
- return std::shared_ptr(ptr);
- }
-
- ///
- /// Creates an instance of the AutoDetectSourceLanguageConfig with source languages
- ///
- /// The list of source languages.
- /// A shared pointer to the new AutoDetectSourceLanguageConfig instance.
- static std::shared_ptr FromLanguages(const std::vector& languages)
- {
- SPX_THROW_HR_IF(SPXERR_INVALID_ARG, languages.empty());
- SPXAUTODETECTSOURCELANGCONFIGHANDLE hconfig = SPXHANDLE_INVALID;
-
- std::string languagesStr;
- bool isFirst = true;
- for (const SPXSTRING& language : languages)
- {
- SPX_THROW_HR_IF(SPXERR_INVALID_ARG, language.empty());
- if (!isFirst)
- {
- languagesStr += ",";
- }
- isFirst = false;
- languagesStr += Utils::ToUTF8(language);
- }
- SPX_THROW_ON_FAIL(create_auto_detect_source_lang_config_from_languages(&hconfig, languagesStr.c_str()));
- auto ptr = new AutoDetectSourceLanguageConfig(hconfig);
- return std::shared_ptr(ptr);
- }
-
- ///
- /// Creates an instance of the AutoDetectSourceLanguageConfig with a list of source language config
- ///
- /// The list of source languages config
- /// A shared pointer to the new AutoDetectSourceLanguageConfig instance.
- static std::shared_ptr FromSourceLanguageConfigs(std::vector> configList)
- {
- SPX_THROW_HR_IF(SPXERR_INVALID_ARG, configList.empty());
- SPXAUTODETECTSOURCELANGCONFIGHANDLE hconfig = SPXHANDLE_INVALID;
-
- bool isFirst = true;
- for (const auto& config : configList)
- {
- SPX_THROW_HR_IF(SPXERR_INVALID_ARG, config == nullptr);
- if (isFirst)
- {
- SPX_THROW_ON_FAIL(create_auto_detect_source_lang_config_from_source_lang_config(&hconfig, Utils::HandleOrInvalid(config)));
- isFirst = false;
- }
- else
- {
- SPX_THROW_ON_FAIL(add_source_lang_config_to_auto_detect_source_lang_config(hconfig, Utils::HandleOrInvalid(config)));
- }
- }
- auto ptr = new AutoDetectSourceLanguageConfig(hconfig);
- return std::shared_ptr(ptr);
- }
-
- ///
- /// Destructs the object.
- ///
- virtual ~AutoDetectSourceLanguageConfig()
- {
- auto_detect_source_lang_config_release(m_hconfig);
- property_bag_release(m_propertybag);
- }
-
-private:
-
- ///
- /// Internal constructor. Creates a new instance using the provided handle.
- ///
- explicit AutoDetectSourceLanguageConfig(SPXAUTODETECTSOURCELANGCONFIGHANDLE hconfig)
- :m_hconfig(hconfig)
- {
- SPX_THROW_ON_FAIL(auto_detect_source_lang_config_get_property_bag(hconfig, &m_propertybag));
- }
-
- ///
- /// Internal member variable that holds the config
- ///
- SPXAUTODETECTSOURCELANGCONFIGHANDLE m_hconfig;
-
- ///
- /// Internal member variable that holds the properties of the speech config
- ///
- SPXPROPERTYBAGHANDLE m_propertybag;
-
- DISABLE_COPY_AND_MOVE(AutoDetectSourceLanguageConfig);
-};
-
-}}}
-
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_auto_detect_source_lang_result.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_auto_detect_source_lang_result.h
deleted file mode 100644
index 1424109..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_auto_detect_source_lang_result.h
+++ /dev/null
@@ -1,85 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#pragma once
-#include
-#include "speechapi_cxx_common.h"
-#include "speechapi_cxx_string_helpers.h"
-#include "speechapi_c.h"
-#include "speechapi_cxx_speech_recognition_result.h"
-#include "speechapi_cxx_conversation_transcription_result.h"
-#include "speechapi_cxx_translation_result.h"
-
-namespace Microsoft {
-namespace CognitiveServices {
-namespace Speech {
-
-///
-/// Contains auto detected source language result
-/// Added in 1.8.0
-///
-class AutoDetectSourceLanguageResult
-{
-public:
-
- ///
- /// Creates an instance of AutoDetectSourceLanguageResult object for the speech recognition result.
- ///
- /// The speech recognition result.
- /// A shared pointer to AutoDetectSourceLanguageResult.
- static std::shared_ptr FromResult(std::shared_ptr result)
- {
- SPX_THROW_HR_IF(SPXERR_INVALID_ARG, result == nullptr);
- auto ptr = new AutoDetectSourceLanguageResult(result);
- return std::shared_ptr(ptr);
- }
-
- ///
- /// Creates an instance of AutoDetectSourceLanguageResult object for the speech translation result.
- ///
- /// The speech translation result.
- /// A shared pointer to AutoDetectSourceLanguageResult.
- static std::shared_ptr FromResult(std::shared_ptr result)
- {
- SPX_THROW_HR_IF(SPXERR_INVALID_ARG, result == nullptr);
- auto ptr = new AutoDetectSourceLanguageResult(result);
- return std::shared_ptr(ptr);
- }
-
- ///
- /// Creates an instance of AutoDetectSourceLanguageResult object for the convesation transcription result.
- ///
- /// The conversation transcription result.
- /// A shared pointer to AutoDetectSourceLanguageResult.
- static std::shared_ptr FromResult(std::shared_ptr result)
- {
- SPX_THROW_HR_IF(SPXERR_INVALID_ARG, result == nullptr);
- auto ptr = new AutoDetectSourceLanguageResult(result);
- return std::shared_ptr(ptr);
- }
-
- ///
- /// The language value
- /// If this is empty, it means the system fails to detect the source language automatically
- ///
- const SPXSTRING Language;
-
-protected:
-
- /*! \cond PROTECTED */
- // Using RecognitionResult pointer, so this can cover all classes that inherit from RecognitionResult
- AutoDetectSourceLanguageResult(std::shared_ptr result) :
- Language(result->Properties.GetProperty(PropertyId::SpeechServiceConnection_AutoDetectSourceLanguageResult))
- {
- }
-
- /*! \endcond */
-
-private:
-
- DISABLE_DEFAULT_CTORS(AutoDetectSourceLanguageResult);
-};
-
-} } } // Microsoft::CognitiveServices::Speech
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_class_language_model.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_class_language_model.h
deleted file mode 100644
index 642c6b6..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_class_language_model.h
+++ /dev/null
@@ -1,70 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_cxx_class_language_model.h: Public API declarations for ClassLanguageModel C++ class
-//
-
-#pragma once
-#include "speechapi_cxx_common.h"
-#include "speechapi_cxx_smart_handle.h"
-#include "speechapi_cxx_string_helpers.h"
-#include "speechapi_cxx_grammar.h"
-#include "speechapi_c.h"
-
-namespace Microsoft {
-namespace CognitiveServices {
-namespace Speech {
-
-
-///
-/// Represents a list of grammars for dynamic grammar scenarios.
-/// Added in version 1.7.0.
-///
-///
-/// ClassLanguageModels are only usable in specific scenarios and are not generally available.
-///
-class ClassLanguageModel : public Grammar
-{
-public:
-
- ///
- /// Creates a class language model from a storage ID.
- ///
- /// The persisted storage ID of the language model.
- /// The grammar list associated with the recognizer.
- ///
- /// Creating a ClassLanguageModel from a storage ID is only usable in specific scenarios and is not generally available.
- ///
- static std::shared_ptr FromStorageId(const SPXSTRING& storageId)
- {
- SPXGRAMMARHANDLE hgrammar = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(class_language_model_from_storage_id(&hgrammar, Utils::ToUTF8(storageId.c_str())));
-
- return std::make_shared(hgrammar);
- }
-
- ///
- /// Internal constructor. Creates a new instance using the provided handle.
- ///
- /// Class Language Model handle.
- explicit ClassLanguageModel(SPXGRAMMARHANDLE hgrammar = SPXHANDLE_INVALID) : Grammar(hgrammar) { }
-
- ///
- /// Assigns a grammar to a class in the language mode.
- ///
- /// Name of the class to assign the grammar to.
- /// Grammar to assign.
- template
- void AssignClass(const SPXSTRING& className, std::shared_ptr grammar)
- {
- SPX_THROW_ON_FAIL(class_language_model_assign_class(m_hgrammar.get(), Utils::ToUTF8(className.c_str()), (SPXPHRASEHANDLE)(*grammar.get())));
- }
-
-private:
-
- DISABLE_COPY_AND_MOVE(ClassLanguageModel);
-};
-
-
-} } } // Microsoft::CognitiveServices::Speech
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_common.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_common.h
deleted file mode 100644
index 318918d..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_common.h
+++ /dev/null
@@ -1,16 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_cxx_common.h: Public API declarations for global C++ APIs/namespaces
-//
-
-#pragma once
-
-#include "speechapi_c_common.h"
-#include "speechapi_c_error.h"
-#include "spxerror.h"
-#include "azac_api_cxx_common.h" // must include after spxdebug.h or speechapi*.h (can NOT be included before)
-
-#define DISABLE_COPY_AND_MOVE(T) AZAC_DISABLE_COPY_AND_MOVE(T)
-#define DISABLE_DEFAULT_CTORS(T) AZAC_DISABLE_DEFAULT_CTORS(T)
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_connection.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_connection.h
deleted file mode 100644
index 6cdee29..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_connection.h
+++ /dev/null
@@ -1,346 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#pragma once
-#include "speechapi_cxx_common.h"
-#include "speechapi_cxx_recognizer.h"
-#include "speechapi_cxx_eventsignal.h"
-#include "speechapi_cxx_connection_eventargs.h"
-#include "speechapi_cxx_connection_message_eventargs.h"
-#include "speechapi_c.h"
-#include "speechapi_cxx_conversation_translator.h"
-#include "speechapi_cxx_speech_synthesizer.h"
-#include "speechapi_cxx_dialog_service_connector.h"
-
-namespace Microsoft {
-namespace CognitiveServices {
-namespace Speech {
-
-///
-/// Connection is a proxy class for managing connection to the speech service of the specified Recognizer.
-/// By default, a Recognizer autonomously manages connection to service when needed.
-/// The Connection class provides additional methods for users to explicitly open or close a connection and
-/// to subscribe to connection status changes.
-/// The use of Connection is optional. It is intended for scenarios where fine tuning of application
-/// behavior based on connection status is needed. Users can optionally call Open() to manually
-/// initiate a service connection before starting recognition on the Recognizer associated with this Connection.
-/// After starting a recognition, calling Open() or Close() might fail. This will not impact
-/// the Recognizer or the ongoing recognition. Connection might drop for various reasons, the Recognizer will
-/// always try to reinstitute the connection as required to guarantee ongoing operations. In all these cases
-/// Connected/Disconnected events will indicate the change of the connection status.
-/// Updated in version 1.17.0.
-///
-class Connection : public std::enable_shared_from_this
-{
-
-public:
- ///
- /// Gets the Connection instance from the specified recognizer.
- ///
- /// The recognizer associated with the connection.
- /// The Connection instance of the recognizer.
- static std::shared_ptr FromRecognizer(std::shared_ptr recognizer)
- {
- SPX_INIT_HR(hr);
- SPX_THROW_HR_IF(SPXERR_INVALID_ARG, recognizer == nullptr);
-
- SPXCONNECTIONHANDLE handle = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(hr = ::connection_from_recognizer(recognizer->m_hreco, &handle));
-
- return std::make_shared(handle);
- }
-
- ///
- /// Gets the Connection instance from the specified conversation translator.
- ///
- /// The conversation translator associated with the connection.
- /// The Connection instance of the conversation translator.
- static std::shared_ptr FromConversationTranslator(std::shared_ptr convTrans)
- {
- SPX_THROW_HR_IF(SPXERR_INVALID_ARG, convTrans == nullptr);
-
- SPXCONNECTIONHANDLE handle = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(::connection_from_conversation_translator(convTrans->m_handle, &handle));
-
- return std::make_shared(handle);
- }
-
- ///
- /// Gets the Connection instance from the specified dialog service connector, used for observing and managing
- /// connection and disconnection from the speech service.
- ///
- /// The dialog service connector associated with the connection.
- /// The Connection instance of the dialog service connector.
- static std::shared_ptr FromDialogServiceConnector(std::shared_ptr dialogServiceConnector)
- {
- SPX_THROW_HR_IF(SPXERR_INVALID_ARG, dialogServiceConnector == nullptr);
-
- SPXCONNECTIONHANDLE handle = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(::connection_from_dialog_service_connector(dialogServiceConnector->m_handle, &handle));
-
- return std::make_shared(handle);
- }
-
- ///
- /// Gets the Connection instance from the specified speech synthesizer.
- /// Added in version 1.17.0
- ///
- /// The speech synthesizer associated with the connection.
- /// The Connection instance of the speech synthesizer.
- static std::shared_ptr FromSpeechSynthesizer(std::shared_ptr synthesizer)
- {
- SPX_THROW_HR_IF(SPXERR_INVALID_ARG, synthesizer == nullptr);
-
- SPXCONNECTIONHANDLE handle = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(::connection_from_speech_synthesizer(synthesizer->m_hsynth, &handle));
-
- return std::make_shared(handle);
- }
-
- ///
- /// Starts to set up connection to the service.
- /// Users can optionally call Open() to manually set up a connection in advance before starting recognition/synthesis on the
- /// Recognizer/Synthesizer associated with this Connection. After starting recognition, calling Open() might fail, depending on
- /// the process state of the Recognizer/Synthesizer. But the failure does not affect the state of the associated Recognizer/Synthesizer.
- /// Note: On return, the connection might not be ready yet. Please subscribe to the Connected event to
- /// be notified when the connection is established.
- ///
- /// Indicates whether the connection is used for continuous recognition or single-shot recognition. It takes no effect if the connection is from SpeechSynthsizer.
- void Open(bool forContinuousRecognition)
- {
- SPX_THROW_HR_IF(SPXERR_INVALID_HANDLE, m_connectionHandle == SPXHANDLE_INVALID);
- SPX_THROW_ON_FAIL(::connection_open(m_connectionHandle, forContinuousRecognition));
- }
-
- ///
- /// Closes the connection the service.
- /// Users can optionally call Close() to manually shutdown the connection of the associated Recognizer/Synthesizer. The call
- /// might fail, depending on the process state of the Recognizer/Synthesizer. But the failure does not affect the state of the
- /// associated Recognizer/Synthesizer.
- ///
- void Close()
- {
- SPX_THROW_HR_IF(SPXERR_INVALID_HANDLE, m_connectionHandle == SPXHANDLE_INVALID);
- SPX_THROW_ON_FAIL(::connection_close(m_connectionHandle));
- }
-
- ///
- /// Appends a parameter in a message to service.
- /// Added in version 1.7.0.
- ///
- /// the message path.
- /// Name of the property.
- /// Value of the property. This is a json string.
- /// void.
- void SetMessageProperty(const SPXSTRING& path, const SPXSTRING& propertyName, const SPXSTRING& propertyValue)
- {
- SPX_THROW_HR_IF(SPXERR_INVALID_HANDLE, m_connectionHandle == SPXHANDLE_INVALID);
- SPX_THROW_ON_FAIL(::connection_set_message_property(m_connectionHandle, Utils::ToUTF8(path).c_str(), Utils::ToUTF8(propertyName).c_str(), Utils::ToUTF8(propertyValue).c_str()));
- }
-
- ///
- /// Send a message to the speech service.
- /// Added in version 1.7.0.
- ///
- /// The path of the message.
- /// The payload of the message. This is a json string.
- /// An empty future.
- std::future SendMessageAsync(const SPXSTRING& path, const SPXSTRING& payload)
- {
- auto keep_alive = this->shared_from_this();
- auto future = std::async(std::launch::async, [keep_alive, this, path, payload]() -> void {
- SPX_THROW_HR_IF(SPXERR_INVALID_HANDLE, m_connectionHandle == SPXHANDLE_INVALID);
- SPX_THROW_ON_FAIL(::connection_send_message(m_connectionHandle, Utils::ToUTF8(path.c_str()), Utils::ToUTF8(payload.c_str())));
- });
- return future;
- }
-
- ///
- /// Send a binary message to the speech service.
- /// This method doesn't work for the connection of SpeechSynthesizer.
- /// Added in version 1.10.0.
- ///
- /// The path of the message.
- /// The binary payload of the message.
- /// The size of the binary payload.
- /// An empty future.
- std::future SendMessageAsync(const SPXSTRING& path, uint8_t* payload, uint32_t size)
- {
- auto keep_alive = this->shared_from_this();
- auto future = std::async(std::launch::async, [keep_alive, this, path, payload, size]() -> void {
- SPX_THROW_HR_IF(SPXERR_INVALID_HANDLE, m_connectionHandle == SPXHANDLE_INVALID);
- SPX_THROW_ON_FAIL(::connection_send_message_data(m_connectionHandle, Utils::ToUTF8(path.c_str()), payload, size));
- });
- return future;
- }
-
- ///
- /// The Connected event to indicate that the recognizer is connected to service.
- ///
- EventSignal Connected;
-
- ///
- /// The Disconnected event to indicate that the recognizer is disconnected from service.
- ///
- EventSignal Disconnected;
-
- ///
- /// The MessageReceived event to indicate that the underlying protocol received a message from the service.
- /// Added in version 1.10.0.
- ///
- EventSignal MessageReceived;
-
- ///
- /// Internal constructor. Creates a new instance using the provided handle.
- ///
- /// The connection handle.
- explicit Connection(SPXCONNECTIONHANDLE handle) :
- Connected(GetConnectionEventConnectionsChangedCallback(), GetConnectionEventConnectionsChangedCallback()),
- Disconnected(GetConnectionEventConnectionsChangedCallback(), GetConnectionEventConnectionsChangedCallback()),
- MessageReceived(GetConnectionMessageEventConnectionsChangedCallback(), GetConnectionMessageEventConnectionsChangedCallback()),
- m_connectionHandle(handle)
- {
- SPX_DBG_TRACE_FUNCTION();
- }
-
- ///
- /// Destructor.
- ///
- ~Connection()
- {
- SPX_DBG_TRACE_FUNCTION();
-
- try
- {
- Disconnected.DisconnectAll();
- Connected.DisconnectAll();
- }
- catch (const std::exception& ex)
- {
- SPX_TRACE_ERROR("Exception caught in ~Connection(): %s", ex.what());
- (void)ex;
- }
- catch (...)
- {
- SPX_TRACE_ERROR("Unknown exception happened during ~Connection().");
- }
-
- if (m_connectionHandle != SPXHANDLE_INVALID)
- {
- ::connection_handle_release(m_connectionHandle);
- m_connectionHandle = SPXHANDLE_INVALID;
- }
- }
-
-private:
- DISABLE_COPY_AND_MOVE(Connection);
-
- SPXCONNECTIONHANDLE m_connectionHandle;
-
- static void FireConnectionEvent(bool firingConnectedEvent, SPXEVENTHANDLE event, void* context)
- {
- std::exception_ptr p;
- try
- {
- std::unique_ptr connectionEvent{ new ConnectionEventArgs(event) };
-
- auto connection = static_cast(context);
- auto keepAlive = connection->shared_from_this();
- if (firingConnectedEvent)
- {
- connection->Connected.Signal(*connectionEvent.get());
- }
- else
- {
- connection->Disconnected.Signal(*connectionEvent.get());
- }
- }
-
-#ifdef SHOULD_HANDLE_FORCED_UNWIND
- // Currently Python forcibly kills the thread by throwing __forced_unwind,
- // taking care we propagate this exception further.
- catch (abi::__forced_unwind&)
- {
- SPX_TRACE_ERROR("__forced_unwind exception caught in FireConnectionEvent.");
- throw;
- }
-#endif
- catch (...)
- {
- if (recognizer_event_handle_is_valid(event)) {
- recognizer_event_handle_release(event);
- }
- SPX_TRACE_ERROR("Caught exception in FireConnectionEvent(%s). Will rethrow later.", firingConnectedEvent ? "Connected" : "Disconnected");
- throw;
- }
-
- // ConnectionEventArgs doesn't hold hevent, and thus can't release it properly ... release it here
- SPX_DBG_ASSERT(recognizer_event_handle_is_valid(event));
- recognizer_event_handle_release(event);
- }
-
- static void FireEvent_Connected(SPXEVENTHANDLE event, void* context)
- {
- FireConnectionEvent(true, event, context);
- }
-
- static void FireEvent_Disconnected(SPXEVENTHANDLE event, void* context)
- {
- FireConnectionEvent(false, event, context);
- }
-
- static void FireEvent_MessageReceived(SPXEVENTHANDLE event, void* context)
- {
- std::unique_ptr connectionEvent { new ConnectionMessageEventArgs(event) };
-
- auto connection = static_cast(context);
- auto keepAlive = connection->shared_from_this();
- connection->MessageReceived.Signal(*connectionEvent.get());
- }
-
- void ConnectionEventConnectionsChanged(const EventSignal& connectionEvent)
- {
- if (m_connectionHandle != SPXHANDLE_INVALID)
- {
- SPX_DBG_TRACE_VERBOSE("%s: m_connectionHandle=0x%8p", __FUNCTION__, (void*)m_connectionHandle);
- SPX_DBG_TRACE_VERBOSE_IF(!::connection_handle_is_valid(m_connectionHandle), "%s: m_connectionHandle is INVALID!!!", __FUNCTION__);
-
- if (&connectionEvent == &Connected)
- {
- SPX_THROW_ON_FAIL(connection_connected_set_callback(m_connectionHandle, Connected.IsConnected() ? FireEvent_Connected : nullptr, this));
- }
- else if (&connectionEvent == &Disconnected)
- {
- SPX_THROW_ON_FAIL(connection_disconnected_set_callback(m_connectionHandle, Disconnected.IsConnected() ? FireEvent_Disconnected : nullptr, this));
- }
- }
- }
-
- void ConnectionMessageEventConnectionsChanged(const EventSignal& connectionEvent)
- {
- if (m_connectionHandle != SPXHANDLE_INVALID)
- {
- SPX_DBG_TRACE_VERBOSE("%s: m_connectionHandle=0x%8p", __FUNCTION__, (void*)m_connectionHandle);
- SPX_DBG_TRACE_VERBOSE_IF(!::connection_handle_is_valid(m_connectionHandle), "%s: m_connectionHandle is INVALID!!!", __FUNCTION__);
-
- if (&connectionEvent == &MessageReceived)
- {
- SPX_THROW_ON_FAIL(connection_message_received_set_callback(m_connectionHandle, MessageReceived.IsConnected() ? FireEvent_MessageReceived : nullptr, this));
- }
- }
- }
-
- inline std::function&)> GetConnectionEventConnectionsChangedCallback()
- {
- return [=](const EventSignal& connectionEvent) { this->ConnectionEventConnectionsChanged(connectionEvent); };
- }
-
- inline std::function&)> GetConnectionMessageEventConnectionsChangedCallback()
- {
- return [=](const EventSignal& connectionEvent) { this->ConnectionMessageEventConnectionsChanged(connectionEvent); };
- }
-};
-
-} } } // Microsoft::CognitiveServices::Speech
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_connection_eventargs.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_connection_eventargs.h
deleted file mode 100644
index 601723c..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_connection_eventargs.h
+++ /dev/null
@@ -1,68 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-
-#pragma once
-#include
-#include "speechapi_cxx_common.h"
-#include "speechapi_cxx_session_eventargs.h"
-#include "speechapi_cxx_properties.h"
-
-namespace Microsoft {
-namespace CognitiveServices {
-namespace Speech {
-
-
-///
-/// Provides data for the ConnectionEvent.
-/// Added in version 1.2.0.
-///
-class ConnectionEventArgs : public SessionEventArgs
-{
-protected:
- /*! \cond PRIVATE */
- class PrivatePropertyCollection : public PropertyCollection
- {
- public:
- PrivatePropertyCollection(SPXEVENTHANDLE hevent) :
- PropertyCollection([=]()
- {
- SPXPROPERTYBAGHANDLE hpropbag = SPXHANDLE_INVALID;
- recognizer_connection_event_get_property_bag(hevent, &hpropbag);
- return hpropbag;
- }())
- {}
- };
-
- PrivatePropertyCollection m_properties;
- /*! \endcond */
-
-public:
-
- ///
- /// Constructor.
- ///
- /// Event handle.
- explicit ConnectionEventArgs(SPXEVENTHANDLE hevent) :
- SessionEventArgs(hevent),
- m_properties(hevent),
- Properties(m_properties)
- {
- };
-
- ///
- virtual ~ConnectionEventArgs() {}
-
- ///
- /// Collection of additional properties.
- ///
- const PropertyCollection& Properties;
-
-private:
-
- DISABLE_COPY_AND_MOVE(ConnectionEventArgs);
-};
-
-
-} } } // Microsoft::CognitiveServices::Speech
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_connection_message.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_connection_message.h
deleted file mode 100644
index 6c39867..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_connection_message.h
+++ /dev/null
@@ -1,152 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_cxx_connection_message.h: Public API declarations for ConnectionMessage C++ class
-//
-
-#pragma once
-#include
-#include
-#include "speechapi_c_connection.h"
-#include "speechapi_cxx_common.h"
-#include "speechapi_cxx_properties.h"
-#include "speechapi_cxx_session_eventargs.h"
-
-
-namespace Microsoft {
-namespace CognitiveServices {
-namespace Speech {
-
-
-///
-/// ConnectionMessage represents implementation specific messages sent to and received from
-/// the speech service. These messages are provided for debugging purposes and should not
-/// be used for production use cases with the Azure Cognitive Services Speech Service.
-/// Messages sent to and received from the Speech Service are subject to change without
-/// notice. This includes message contents, headers, payloads, ordering, etc.
-/// Added in version 1.10.0.
-///
-class ConnectionMessage
-{
-private:
-
- /*! \cond PRIVATE */
-
- class PrivatePropertyCollection : public PropertyCollection
- {
- public:
- PrivatePropertyCollection(SPXCONNECTIONMESSAGEHANDLE hcm) :
- PropertyCollection(
- [=]() {
- SPXPROPERTYBAGHANDLE hpropbag = SPXHANDLE_INVALID;
- ::connection_message_get_property_bag(hcm, &hpropbag);
- return hpropbag;
- }())
- {
- }
- };
-
- SPXCONNECTIONMESSAGEHANDLE m_hcm;
- PrivatePropertyCollection m_properties;
-
- /*! \endcond */
-
-public:
-
- ///
- /// Constructor.
- ///
- /// Event handle.
- explicit ConnectionMessage(SPXCONNECTIONMESSAGEHANDLE hcm) :
- m_hcm(hcm),
- m_properties(hcm),
- Properties(m_properties)
- {
- };
-
- ///
- /// Destructor.
- ///
- virtual ~ConnectionMessage()
- {
- SPX_DBG_TRACE_VERBOSE("%s (this=0x%p, handle=0x%p)", __FUNCTION__, (void*)this, (void*)m_hcm);
- SPX_THROW_ON_FAIL(::connection_message_handle_release(m_hcm));
- }
-
- ///
- /// Gets the message path.
- ///
- /// An std::string containing the message path.
- std::string GetPath() const
- {
- SPX_THROW_HR_IF(SPXERR_INVALID_HANDLE, m_hcm == SPXHANDLE_INVALID);
- return m_properties.GetProperty("connection.message.path");
- }
-
- ///
- /// Checks to see if the ConnectionMessage is a text message.
- /// See also IsBinaryMessage().
- ///
- /// A bool indicated if the message payload is text.
- bool IsTextMessage() const
- {
- SPX_THROW_HR_IF(SPXERR_INVALID_HANDLE, m_hcm == SPXHANDLE_INVALID);
- return m_properties.GetProperty("connection.message.type") == "text";
- }
-
- ///
- /// Checks to see if the ConnectionMessage is a binary message.
- /// See also GetBinaryMessage().
- ///
- /// A bool indicated if the message payload is binary.
- bool IsBinaryMessage() const
- {
- SPX_THROW_HR_IF(SPXERR_INVALID_HANDLE, m_hcm == SPXHANDLE_INVALID);
- return m_properties.GetProperty("connection.message.type") == "binary";
- }
-
- ///
- /// Gets the text message payload. Typically the text message content-type is
- /// application/json. To determine other content-types use
- /// Properties.GetProperty("Content-Type").
- ///
- /// An std::string containing the text message.
- std::string GetTextMessage() const
- {
- SPX_THROW_HR_IF(SPXERR_INVALID_HANDLE, m_hcm == SPXHANDLE_INVALID);
- return m_properties.GetProperty("connection.message.text.message");
- }
-
- ///
- /// Gets the binary message payload.
- ///
- /// An std::vector containing the binary message.
- std::vector GetBinaryMessage() const
- {
- SPX_THROW_HR_IF(SPXERR_INVALID_HANDLE, m_hcm == SPXHANDLE_INVALID);
- auto size = ::connection_message_get_data_size(m_hcm);
-
- std::vector message(size);
- SPX_THROW_ON_FAIL(::connection_message_get_data(m_hcm, message.data(), size));
-
- return message;
- }
-
- ///
- /// A collection of properties and their values defined for this .
- /// Message headers can be accessed via this collection (e.g. "Content-Type").
- ///
- PropertyCollection& Properties;
-
-private:
-
- /*! \cond PRIVATE */
-
- DISABLE_COPY_AND_MOVE(ConnectionMessage);
-
- /*! \endcond */
-};
-
-
-} } } // Microsoft::CognitiveServices::Speech
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_connection_message_eventargs.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_connection_message_eventargs.h
deleted file mode 100644
index db0b574..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_connection_message_eventargs.h
+++ /dev/null
@@ -1,79 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_cxx_connection_message_eventargs.h: Public API declarations for ConnectionMessageEventArgs C++ base class
-//
-
-#pragma once
-#include
-#include "speechapi_cxx_common.h"
-#include "speechapi_cxx_properties.h"
-#include "speechapi_cxx_eventargs.h"
-#include "speechapi_cxx_connection_message.h"
-
-
-namespace Microsoft {
-namespace CognitiveServices {
-namespace Speech {
-
-
-///
-/// Provides data for the ConnectionMessageEvent
-///
-class ConnectionMessageEventArgs : public EventArgs
-{
-private:
-
- /*! \cond PRIVATE */
-
- SPXEVENTHANDLE m_hevent;
- std::shared_ptr m_message;
-
- /*! \endcond */
-
-public:
-
- ///
- /// Constructor. Creates a new instance using the provided handle.
- ///
- /// Event handle.
- explicit ConnectionMessageEventArgs(SPXEVENTHANDLE hevent) :
- m_hevent(hevent),
- m_message(std::make_shared(MessageHandleFromEventHandle(hevent)))
- {
- };
-
- ///
- /// Destructor.
- ///
- virtual ~ConnectionMessageEventArgs()
- {
- SPX_THROW_ON_FAIL(::connection_message_received_event_handle_release(m_hevent));
- }
-
- ///
- /// Gets the associated with this .
- ///
- /// An `std::shared` containing the message.
- std::shared_ptr GetMessage() const { return m_message; }
-
-private:
-
- /*! \cond PRIVATE */
-
- DISABLE_COPY_AND_MOVE(ConnectionMessageEventArgs);
-
- SPXCONNECTIONMESSAGEHANDLE MessageHandleFromEventHandle(SPXEVENTHANDLE hevent)
- {
- SPXCONNECTIONMESSAGEHANDLE hcm = SPXHANDLE_INVALID;
- SPX_THROW_ON_FAIL(::connection_message_received_event_get_message(hevent, &hcm));
- return hcm;
- }
-
- /*! \endcond */
-
-};
-
-
-} } } // Microsoft::CognitiveServices::Speech
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_conversation.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_conversation.h
deleted file mode 100644
index 0d39d99..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_conversation.h
+++ /dev/null
@@ -1,340 +0,0 @@
-
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_cxx_conversation.h: Public API declarations for Conversation C++ class
-//
-
-#pragma once
-#include
-#include
-#include
-#include
-#include
-
-#include "speechapi_c.h"
-
-#include "speechapi_cxx_speech_config.h"
-#include "speechapi_cxx_utils.h"
-#include "speechapi_cxx_properties.h"
-#include "speechapi_cxx_common.h"
-#include "speechapi_cxx_string_helpers.h"
-#include "speechapi_cxx_properties.h"
-#include "speechapi_cxx_user.h"
-#include "speechapi_cxx_participant.h"
-
-namespace Microsoft {
-namespace CognitiveServices {
-namespace Speech {
-namespace Transcription {
-
-///
-/// Class for conversation.
-/// Added in version 1.8.0
-///
-class Conversation : public std::enable_shared_from_this
-{
-public:
-
- static constexpr size_t MAX_CONVERSATION_ID_LEN = 1024;
-
- ///
- /// Create a conversation using a speech config and an optional conversation id.
- ///
- /// A shared smart pointer of a speech config object.
- /// Conversation Id.
- /// A shared smart pointer of the created conversation object.
- static std::future> CreateConversationAsync(std::shared_ptr speechConfig, const SPXSTRING& conversationId = SPXSTRING())
- {
- auto future = std::async(std::launch::async, [conversationId, speechConfig]() -> std::shared_ptr {
- SPXCONVERSATIONHANDLE hconversation;
- SPX_THROW_ON_FAIL(conversation_create_from_config(&hconversation, (SPXSPEECHCONFIGHANDLE)(*speechConfig), Utils::ToUTF8(conversationId).c_str()));
- return std::make_shared(hconversation);
- });
- return future;
- }
-
- ///
- /// Internal constructor. Creates a new instance using the provided handle.
- ///
- /// Recognizer handle.
- explicit Conversation(SPXCONVERSATIONHANDLE hconversation) :
- m_hconversation(hconversation),
- m_properties(hconversation),
- Properties(m_properties)
- {
- SPX_DBG_TRACE_SCOPE(__FUNCTION__, __FUNCTION__);
- }
-
- ///
- /// Destructor.
- ///
- ~Conversation()
- {
- SPX_DBG_TRACE_SCOPE(__FUNCTION__, __FUNCTION__);
-
- ::conversation_release_handle(m_hconversation);
- m_hconversation = SPXHANDLE_INVALID;
- }
-
- ///
- /// Internal operator used to get underlying handle value.
- ///
- /// A handle.
- explicit operator SPXCONVERSATIONHANDLE () const { return m_hconversation; }
-
- ///
- /// Get the conversation id.
- ///
- /// Conversation id.
- SPXSTRING GetConversationId()
- {
- char id[MAX_CONVERSATION_ID_LEN + 1];
- std::memset(id, 0, MAX_CONVERSATION_ID_LEN);
- SPX_THROW_ON_FAIL(conversation_get_conversation_id(m_hconversation, id, MAX_CONVERSATION_ID_LEN));
- return id;
- }
-
- ///
- /// Add a participant to a conversation using the user's id.
- ///
- /// Note: The returned participant can be used to remove. If the client changes the participant's attributes,
- /// the changed attributes are passed on to the service only when the participant is added again.
- ///
- /// A user id.
- /// a shared smart pointer of the participant.
- std::future> AddParticipantAsync(const SPXSTRING& userId)
- {
- auto keepAlive = this->shared_from_this();
- auto future = std::async(std::launch::async, [keepAlive, this, userId]() -> std::shared_ptr {
- const auto participant = Participant::From(userId);
- SPX_THROW_ON_FAIL(conversation_update_participant(m_hconversation, true, (SPXPARTICIPANTHANDLE)(*participant)));
- return participant;
- });
- return future;
- }
-
- ///
- /// Add a participant to a conversation using the User object.
- ///
- /// A shared smart pointer to a User object.
- /// The passed in User object.
- std::future> AddParticipantAsync(const std::shared_ptr& user)
- {
- auto keepAlive = this->shared_from_this();
- auto future = std::async(std::launch::async, [keepAlive, this, user]() -> std::shared_ptr {
- SPX_THROW_ON_FAIL(conversation_update_participant_by_user(m_hconversation, true, (SPXUSERHANDLE)(*user)));
- return user;
- });
- return future;
- }
-
- ///
- /// Add a participant to a conversation using the participant object
- ///
- /// A shared smart pointer to a participant object.
- /// The passed in participant object.
- std::future> AddParticipantAsync(const std::shared_ptr& participant)
- {
- auto keepAlive = this->shared_from_this();
- auto future = std::async(std::launch::async, [keepAlive, this, participant]() -> std::shared_ptr {
- SPX_THROW_ON_FAIL(conversation_update_participant(m_hconversation, true, (SPXPARTICIPANTHANDLE)(*participant)));
- return participant;
- });
- return future;
- }
-
- ///
- /// Remove a participant from a conversation using the participant object
- ///
- /// A shared smart pointer of a participant object.
- /// An empty future.
- std::future RemoveParticipantAsync(const std::shared_ptr& participant)
- {
- auto keepAlive = this->shared_from_this();
- auto future = std::async(std::launch::async, [keepAlive, this, participant]() -> void {
- SPX_THROW_ON_FAIL(conversation_update_participant(m_hconversation, false, (SPXPARTICIPANTHANDLE)(*participant)));
- });
- return future;
- }
-
- ///
- /// Remove a participant from a conversation using the User object
- ///
- /// A smart pointer of a User.
- /// An empty future.
- std::future RemoveParticipantAsync(const std::shared_ptr& user)
- {
- auto keepAlive = this->shared_from_this();
- auto future = std::async(std::launch::async, [keepAlive, this, user]() -> void {
- SPX_THROW_ON_FAIL(conversation_update_participant_by_user(m_hconversation, false, SPXUSERHANDLE(*user)));
- });
- return future;
- }
-
- ///
- /// Remove a participant from a conversation using a user id string.
- ///
- /// A user id.
- /// An empty future.
- std::future RemoveParticipantAsync(const SPXSTRING& userId)
- {
- auto keepAlive = this->shared_from_this();
- auto future = std::async(std::launch::async, [keepAlive, this, userId]() -> void {
- SPX_THROW_ON_FAIL(conversation_update_participant_by_user_id(m_hconversation, false, Utils::ToUTF8(userId.c_str())));
- });
- return future;
- }
-
- ///
- /// Ends the current conversation.
- ///
- /// An empty future.
- std::future EndConversationAsync()
- {
- return RunAsync(::conversation_end_conversation);
- }
-
- ///
- /// Sets the authorization token that will be used for connecting the server.
- ///
- /// The authorization token.
- void SetAuthorizationToken(const SPXSTRING& token)
- {
- Properties.SetProperty(PropertyId::SpeechServiceAuthorization_Token, token);
- }
-
- ///
- /// Gets the authorization token.
- ///
- /// Authorization token
- SPXSTRING GetAuthorizationToken()
- {
- return Properties.GetProperty(PropertyId::SpeechServiceAuthorization_Token, SPXSTRING());
- }
-
- ///
- /// Start the conversation.
- ///
- /// An empty future.
- std::future StartConversationAsync()
- {
- return RunAsync(::conversation_start_conversation);
- }
-
- ///
- /// Deletes the conversation. Any participants that are still part of the converation
- /// will be ejected after this call.
- ///
- /// An empty future.
- std::future DeleteConversationAsync()
- {
- return RunAsync(::conversation_delete_conversation);
- }
-
- ///
- /// Locks the conversation. After this no new participants will be able to join.
- ///
- /// An empty future.
- std::future LockConversationAsync()
- {
- return RunAsync(::conversation_lock_conversation);
- }
-
- ///
- /// Unlocks the conversation.
- ///
- /// An empty future.
- std::future UnlockConversationAsync()
- {
- return RunAsync(::conversation_unlock_conversation);
- }
-
- ///
- /// Mutes all participants except for the host. This prevents others from generating
- /// transcriptions, or sending text messages.
- ///
- /// An empty future.
- std::future MuteAllParticipantsAsync()
- {
- return RunAsync(::conversation_mute_all_participants);
- }
-
- ///
- /// Allows other participants to generate transcriptions, or send text messages.
- ///
- /// An empty future.
- std::future UnmuteAllParticipantsAsync()
- {
- return RunAsync(::conversation_unmute_all_participants);
- }
-
- ///
- /// Mutes a particular participant. This will prevent them generating new transcriptions,
- /// or sending text messages.
- ///
- /// The identifier for the participant.
- /// An empty future.
- std::future MuteParticipantAsync(const SPXSTRING& participantId)
- {
- return RunAsync([participantId = Utils::ToUTF8(participantId)](auto handle)
- {
- return ::conversation_mute_participant(handle, participantId.c_str());
- });
- }
-
- ///
- /// Unmutes a particular participant.
- ///
- /// The identifier for the participant.
- /// An empty future.
- std::future UnmuteParticipantAsync(const SPXSTRING& participantId)
- {
- return RunAsync([participantId = Utils::ToUTF8(participantId)](auto handle)
- {
- return ::conversation_unmute_participant(handle, participantId.c_str());
- });
- }
-
-private:
-
- /*! \cond PRIVATE */
-
- SPXCONVERSATIONHANDLE m_hconversation;
-
- class PrivatePropertyCollection : public PropertyCollection
- {
- public:
- PrivatePropertyCollection(SPXCONVERSATIONHANDLE hconv) :
- PropertyCollection(
- [=]() {
- SPXPROPERTYBAGHANDLE hpropbag = SPXHANDLE_INVALID;
- conversation_get_property_bag(hconv, &hpropbag);
- return hpropbag;
- }())
- {
- }
- };
-
- PrivatePropertyCollection m_properties;
-
- inline std::future RunAsync(std::function func)
- {
- auto keepalive = this->shared_from_this();
- return std::async(std::launch::async, [keepalive, this, func]()
- {
- SPX_THROW_ON_FAIL(func(m_hconversation));
- });
- }
-
- /*! \endcond */
-
-public:
- ///
- /// A collection of properties and their values defined for this .
- ///
- PropertyCollection& Properties;
-
-};
-
-}}}}
diff --git a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_conversation_transcriber.h b/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_conversation_transcriber.h
deleted file mode 100644
index c2d1c52..0000000
--- a/Sources/MicrosoftCognitiveServicesSpeech/MicrosoftCognitiveServicesSpeech.xcframework/ios-arm64/MicrosoftCognitiveServicesSpeech.framework/Headers/speechapi_cxx_conversation_transcriber.h
+++ /dev/null
@@ -1,509 +0,0 @@
-//
-// Copyright (c) Microsoft. All rights reserved.
-// See https://aka.ms/csspeech/license for the full license information.
-//
-// speechapi_cxx_conversation_transcriber.h: Public API declarations for ConversationTranscriber C++ class
-//
-
-#pragma once
-#include
-#include
-#include
-#include
-#include "speechapi_cxx_common.h"
-#include "speechapi_cxx_string_helpers.h"
-#include "speechapi_c.h"
-#include "speechapi_cxx_recognizer.h"
-#include "speechapi_cxx_conversation_transcription_eventargs.h"
-#include "speechapi_cxx_conversation_transcription_result.h"
-#include "speechapi_cxx_properties.h"
-#include "speechapi_cxx_speech_config.h"
-#include "speechapi_cxx_audio_stream.h"
-#include "speechapi_cxx_auto_detect_source_lang_config.h"
-#include "speechapi_cxx_source_lang_config.h"
-#include "speechapi_cxx_audio_config.h"
-#include "speechapi_cxx_utils.h"
-
-
-namespace Microsoft {
-namespace CognitiveServices {
-namespace Speech {
-namespace Transcription {
-
-class Session;
-
-///
-/// Class for ConversationTranscribers.
-///
-class ConversationTranscriber final : public Recognizer
-{
-public:
- ///
- /// Create a conversation transcriber from a speech config
- ///
- /// Speech configuration.
- /// A smart pointer wrapped conversation transcriber pointer.
- static std::shared_ptr FromConfig(std::shared_ptr speechconfig, std::nullptr_t)
- {
- SPXRECOHANDLE hreco;
- SPX_THROW_ON_FAIL(::recognizer_create_conversation_transcriber_from_config(
- &hreco,
- Utils::HandleOrInvalid(speechconfig),
- Utils::HandleOrInvalid(nullptr)));
- return std::make_shared(hreco);
- }
-
- ///
- /// Create a conversation transcriber from a speech config and audio config.
- ///
- /// Speech configuration.
- /// Audio configuration.
- /// A smart pointer wrapped conversation transcriber pointer.
- static std::shared_ptr FromConfig(std::shared_ptr speechconfig, std::shared_ptr audioInput = nullptr)
- {
- SPXRECOHANDLE hreco;
- SPX_THROW_ON_FAIL(::recognizer_create_conversation_transcriber_from_config(
- &hreco,
- Utils::HandleOrInvalid(speechconfig),
- Utils::HandleOrInvalid(audioInput)));
- return std::make_shared(hreco);
- }
-
- ///
- /// Create a conversation transcriber from a speech config, auto detection source language config and audio config
- ///
- /// Speech configuration.
- /// Auto detection source language config.
- /// Audio configuration.
- /// A smart pointer wrapped conversation trasncriber pointer.
- static std::shared_ptr FromConfig(
- std::shared_ptr