Skip to content

Play Beep

Play the iOS device's system beep sound.

Interface Description

Interface Type

execShortcut

Parameters

ParameterTypeRequiredDescription
deviceIdstringDevice ID
directivestringFixed value 'playBeep'

Return Value

javascript
true  // Returns true on successful playback

Basic Usage

javascript
// Play beep sound
await apiInvoke('execShortcut', {
    deviceId: 'P72578581E07',
    directive: 'playBeep'
});

Cooperation: try.catch@foxmail.com