Changes between Version 40 and Version 41 of sensors


Ignore:
Timestamp:
Apr 21, 2016 11:33:12 AM (3 years ago)
Author:
yyzhuang
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • sensors

    v40 v41  
    406406  If the media file is finished playing, the result is `{'url': filepath, 'looping': False, 'tag': 'default', 'loaded': True, 'duration': 17100,   'position': 17020, 'isplaying': False}`. 
    407407 
     408----- 
     409 
     410==== is_tts_speaking() ==== 
     411 
     412<Purpose> 
     413    Return if text to speech (tts) is currently in progress (True/False). 
     414 
     415<Arguments> 
     416    None. 
     417 
     418<Exceptions> 
     419    None.  
     420 
     421<Side Effects> 
     422    None. 
     423 
     424<Resource Consumption> 
     425    Lookup if tts is currently in progress.  
     426 
     427<Returns> 
     428    A boolean vaiable indicating if tts is currently in progress on the device.  
     429 
     430 
     431----- 
     432 
     433==== tts_speak(message) ==== 
     434 
     435<Purpose> 
     436    Speaks the provided message via text to speech (tts).  
     437 
     438<Arguments> 
     439    message (string): the message to speak. 
     440 
     441<Exceptions> 
     442    None.  
     443 
     444<Side Effects> 
     445    None. 
     446 
     447<Resource Consumption> 
     448    Text to speech speaks the provided message.   
     449 
     450<Returns> 
     451    None. 
    408452 
    409453[[BR]]