Tuya iOS Smart Life App SDK 5.15.0
<ThingVoiceDetectorDelegate> Protocol Reference

#import <ThingVoiceDetector.h>

Inheritance diagram for <ThingVoiceDetectorDelegate>:

Instance Methods

(void) - voiceDetectorDidVoiceDetected:
 
(void) - voiceDetector:didErrorHappendedWithError:
 
(void) - voiceDetector:didVoiceDataRecvedWithVoiceData:length:tpye:
 
(void) - voiceDetectorDidVoiceEnd:
 
(void) - voiceDetectorDidVoiceDetected:
 
(void) - voiceDetector:didErrorHappendedWithError:
 
(void) - voiceDetector:didVoiceDataRecvedWithVoiceData:length:tpye:
 
(void) - voiceDetectorDidVoiceEnd:
 

Detailed Description

Definition at line 67 of file ThingVoiceDetector.h.

Method Documentation

◆ voiceDetector:didErrorHappendedWithError: [1/2]

- (void) voiceDetector: (ThingVoiceDetector *)  engine
didErrorHappendedWithError: (int)  error 
required

◆ voiceDetector:didErrorHappendedWithError: [2/2]

- (void) voiceDetector: (ThingVoiceDetector *)  engine
didErrorHappendedWithError: (int)  error 
required

◆ voiceDetector:didVoiceDataRecvedWithVoiceData:length:tpye: [1/2]

- (void) voiceDetector: (ThingVoiceDetector *)  engine
didVoiceDataRecvedWithVoiceData: (unsigned char *)  voiceData
length: (int)  length
tpye: (AUDIO_TYPE type 
required

◆ voiceDetector:didVoiceDataRecvedWithVoiceData:length:tpye: [2/2]

- (void) voiceDetector: (ThingVoiceDetector *)  engine
didVoiceDataRecvedWithVoiceData: (unsigned char *)  voiceData
length: (int)  length
tpye: (AUDIO_TYPE type 
required

◆ voiceDetectorDidVoiceDetected: [1/2]

- (void) voiceDetectorDidVoiceDetected: (ThingVoiceDetector *)  engine
required

◆ voiceDetectorDidVoiceDetected: [2/2]

- (void) voiceDetectorDidVoiceDetected: (ThingVoiceDetector *)  engine
required

◆ voiceDetectorDidVoiceEnd: [1/2]

- (void) voiceDetectorDidVoiceEnd: (ThingVoiceDetector *)  engine
required

◆ voiceDetectorDidVoiceEnd: [2/2]

- (void) voiceDetectorDidVoiceEnd: (ThingVoiceDetector *)  engine
required

The documentation for this protocol was generated from the following files: