UI Accessibility Plugin  Version 1.0.2
Make your UI accessible for visually impaired users
UAP_AudioQueue Class Reference
Inheritance diagram for UAP_AudioQueue:

Public Types

enum  EAudioType {
  None = 0, Pause = 1, Element_Text = 2, Element_Type = 4,
  Element_Hint = 8, App = 16, Container_Name = 32
}
 
enum  EInterrupt { None = 0, Elements = EAudioType.Pause | EAudioType.Element_Text | EAudioType.Element_Type | EAudioType.Element_Hint, All = EAudioType.Pause | EAudioType.Element_Text | EAudioType.Element_Type | EAudioType.Element_Hint | EAudioType.Container_Name | EAudioType.App }
 

Public Member Functions

void QueueAudio (string textForTTS, EAudioType type, bool allowVoiceOver, EInterrupt interruptsAudioTypes=EInterrupt.None, bool isInterruptible=true)
 
void QueueAudio (AudioClip audioFile, EAudioType type, EInterrupt interruptsAudioTypes=EInterrupt.None, bool isInterruptible=true)
 
void QueuePause (float durationInSecs)
 
void Stop ()
 
void Initialize ()
 
bool IsPlaying ()
 Checks whether audio is actively playing, TTS or audio clips, but not counting pauses. More...
 
bool IsCompletelyEmpty ()
 Checks if there is nothing currently playing or waiting to be played, including pauses. More...
 
int GetSpeechRate ()
 
int SetSpeechRate (int speechRate)
 

Public Attributes

int m_CurrentQueueLength = 0
 Read-only - for debugging purposes only. More...
 
float m_CurrentPauseDuration = 0.0f
 Read-only - for debugging purposes only. More...
 
string m_CurrentElement = "none"
 Read-only - for debugging purposes only. More...
 
bool m_IsSpeaking = false
 Read-only - for debugging purposes only. More...
 

Member Function Documentation

bool UAP_AudioQueue.IsCompletelyEmpty ( )

Checks if there is nothing currently playing or waiting to be played, including pauses.

bool UAP_AudioQueue.IsPlaying ( )

Checks whether audio is actively playing, TTS or audio clips, but not counting pauses.

Member Data Documentation

string UAP_AudioQueue.m_CurrentElement = "none"

Read-only - for debugging purposes only.

float UAP_AudioQueue.m_CurrentPauseDuration = 0.0f

Read-only - for debugging purposes only.

int UAP_AudioQueue.m_CurrentQueueLength = 0

Read-only - for debugging purposes only.

bool UAP_AudioQueue.m_IsSpeaking = false

Read-only - for debugging purposes only.


The documentation for this class was generated from the following file: