KeenASR Framework v2.1 (8b72cc4)
Keen Research
Loading...
Searching...
No Matches
KIOSResponse.h
1//
2// KIOSResponse.h
3// KeenASR
4//
5// Created by Ognjen Todic on 1/11/24.
6// Copyright © 2024 Keen Research. All rights reserved.
7//
8
9#ifndef KIOSResponse_h
10#define KIOSResponse_h
11
13@class KIOSResult;
14
18@interface KIOSResponse : NSObject
19
21@property(nonatomic, readonly, nullable) KIOSResult *result;
22
24
26@property(nonatomic, readonly, nonnull) NSString *decodingGraphName;
27
29@property(nonatomic, readonly, nonnull) NSString *asrBundleName;
30
32@property(nonatomic, readonly, nonnull) NSString *json;
33
35@property(nonatomic, readonly, nonnull) NSString *responseId;
36
39@property(nonatomic, readonly) BOOL echoCancellation;
40
42@property(nonatomic, readonly) KIOSAudioQualityResult *audioQualityResult;
43
44
52@property(nonatomic, readonly, nonnull) NSString *jsonFilename;
53
56@property(nonatomic, readonly, nonnull) NSString *audioFilename;
57
58
69- (BOOL)saveJsonFile:(nonnull NSURL *)dirpath;
70
71
82- (BOOL)saveAudioFile:(nonnull NSURL *) dirpath;
83
96
97@end
98
99#endif /* KIOSResponse_h */
Definition KIOSAudioQualityResult.h:12
Definition KIOSResponse.h:19
KIOSAudioQualityResult * audioQualityResult
Definition KIOSResponse.h:42
BOOL queueForUpload()
NSString * responseId
Definition KIOSResponse.h:35
BOOL echoCancellation
Definition KIOSResponse.h:39
NSString * json
Definition KIOSResponse.h:32
NSString * audioFilename
Definition KIOSResponse.h:56
NSString * asrBundleName
Definition KIOSResponse.h:29
KIOSResult * result
Definition KIOSResponse.h:21
NSString * jsonFilename
Definition KIOSResponse.h:52
NSString * decodingGraphName
Definition KIOSResponse.h:26
Definition KIOSRecognizer.h:104