Play Beep
Play the iOS device's system beep sound.
Interface Description
Interface Type
execShortcutParameters
| Parameter | Type | Required | Description |
|---|---|---|---|
deviceId | string | ✅ | Device ID |
directive | string | ✅ | Fixed value 'playBeep' |
Return Value
javascript
true // Returns true on successful playbackBasic Usage
javascript
// Play beep sound
await apiInvoke('execShortcut', {
deviceId: 'P72578581E07',
directive: 'playBeep'
});