Constructor
new VectorSpeechEvent()
Methods
clone() → {VectorSpeechEvent}
Returns a new handle for this object to optimize memory consumption
The object will be disposed only after delete() is called for original object and for each of clones
Returns:
New handle of this object
- Type
- VectorSpeechEvent
delete()
Manually signals that the object is no more needed. Strongly recommended to call this method explicitly.
get(index) → {SpeechEvent}
Gets an element by index
Parameters:
Name | Type | Description |
---|---|---|
index |
number | Index of the element |
Returns:
SpeechEvent object at the index
- Type
- SpeechEvent
isDeleted() → {boolean}
Whether delete method was called (and the object can't be used) or not
Returns:
Whether delete method was called (and the object can't be used) or not
- Type
- boolean
size() → {number}
Returns number of elements stored in the container
Returns:
Number of elements stored in the container
- Type
- number