luxlabs header browser preview


@class _LTTranslationContext, NSString, _LTTextToSpeechCache, NSError, NSMutableDictionary, _LTSpeechCompressor, NSMutableArray, _LTLanguageDetectionResult, NSObject, FTSpeechTranslationStreamingContext;
@protocol _LTSpeechTranslationDelegate, OS_dispatch_queue, OS_dispatch_source;

@interface _LTOspreySpeechTranslationSession : NSObject <FTSpeechTranslationResponseDelegate, _LTSpeechCompressorDelegate> {
    FTSpeechTranslationStreamingContext *_streamContext;
    _LTTranslationContext *_context;
    BOOL _sentAudio;
    BOOL _sentEndAudio;
    BOOL _endpointedSpeech;
    BOOL _didReceiveAudioLimitExceededResponse;
    BOOL _didReceivePartialRecognitionResponse;
    BOOL _didReceiveFinalRecognitionResponse;
    BOOL _didReceiveTranslationResponse;
    BOOL _didReceiveTTSResponse;
    BOOL _didReceiveFinalBlazarResponse;
    BOOL _didTimeout;
    NSError *_error;
    _LTLanguageDetectionResult *_lidResult;
    NSMutableDictionary *_finalASRResults;
    NSString *_cachedUserTypedText;
    NSMutableArray *_mtResults;
    NSMutableArray *_confirmedTranslations;
    _LTSpeechCompressor *_speechCompressor;
    unsigned long long _audioPacketCount;
    NSObject<OS_dispatch_queue> *_timerQueue;
    NSObject<OS_dispatch_source> *_serverTimer;
}

@property (weak, nonatomic) id<_LTSpeechTranslationDelegate> delegate;
@property (nonatomic) double initialOnlineTimeout;
@property (nonatomic) double onlineTimeout;
@property (nonatomic) double endpointTimeout;
@property (retain, nonatomic) _LTTextToSpeechCache *ttsCache;
@property (copy, nonatomic) id /* block */ completionBlock;
@property (readonly, nonatomic) BOOL isCancelled;
@property (readonly) unsigned long long hash;
@property (readonly) Class superclass;
@property (readonly, copy) NSString *description;
@property (readonly, copy) NSString *debugDescription;

- (void).cxx_destruct;
- (void)streamFailVerifySpeechTranslationStreamingResponse:(id)a0;
- (void)cancel;
- (void)endpoint;
- (void)streamDidReceiveSpeechTranslationStreamingResponse:(id)a0;
- (void)initCommon;
- (void)sendAnalyticsEvent;
- (void)translationDidFinishWithError:(id)a0;
- (id)_bestSourceTextForResponse:(id)a0;
- (void)_handleAudioLimitExceededResponse:(id)a0;
- (void)_handleFinalBlazarResponse:(id)a0;
- (void)_handleFinalRecognitionResponse:(id)a0;
- (void)_handlePartialRecognitionResponse:(id)a0;
- (void)_handleServerEndpointFeatures:(id)a0;
- (void)_handleTTSResponse:(id)a0;
- (void)_handleTranslationResponse:(id)a0;
- (id)_primaryLanguageRecognized;
- (id)_translationForLocale:(id)a0;
- (void)cancelServerTimeout;
- (void)confirmDataIfNeeded;
- (void)didCompressPackets:(id)a0 totalPacketCount:(unsigned long long)a1;
- (id)initWithService:(id)a0 context:(id)a1 delegate:(id)a2;
- (id)initWithService:(id)a0 context:(id)a1 text:(id)a2 delegate:(id)a3;
- (void)sendAudioData:(id)a0;
- (void)sendEndAudio;
- (void)serverTimeoutFired;
- (void)setLanguagesRecognized:(id)a0;
- (void)startServerTimeoutTimer;
- (void)updateServerTimeout:(double)a0;

@end