Methods
(static) create(key) → {Ti.Media.Sound}
Create the `Ti.Media.Sound` and allocate for future play
Parameters:
Name | Type | Description |
---|---|---|
key |
String | The sound file to load |
Returns:
- Type
- Ti.Media.Sound
(static) pause(key)
Pause the sound
Parameters:
Name | Type | Description |
---|---|---|
key |
String | The sound file to pause |
(static) play(key)
Play the sound
Parameters:
Name | Type | Description |
---|---|---|
key |
String | The sound file to play |