device.device.play_sound
Declaration
lua
device.play_sound(soundID)
Description
Play system sound by ID via
AudioServicesPlaySystemSound.Parameters
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
soundID | integer | Required | — | System sound ID (e.g. 1007 for SMS tone) |
Return Values
No return value
Example
lua
device.play_sound(1007)