AWSTranscribeStreamingEventDecoder
Objective-C
@interface AWSTranscribeStreamingEventDecoder : NSObject
/// Decodes a single stream event, per
/// https://docs.aws.amazon.com/transcribe/latest/dg/streaming-format.html
+ (nullable AWSTranscribeStreamingTranscriptResultStream *)decodeEvent:(NSData *)data
decodingError:(NSError **)decodingError;
@end
Swift
class AWSTranscribeStreamingEventDecoder : NSObject
Undocumented
-
Decodes a single stream event, per https://docs.aws.amazon.com/transcribe/latest/dg/streaming-format.html
Declaration
Objective-C
+ (nullable AWSTranscribeStreamingTranscriptResultStream *) decodeEvent:(nonnull NSData *)data decodingError:(NSError *_Nullable *_Nullable)decodingError;
Swift
class func decodeEvent(_ data: Data) throws -> AWSTranscribeStreamingTranscriptResultStream