SystemSoundID enum

Predefined iOS system sound IDs: the 1000...1351 range, plus 4095 (kSystemSoundID_Vibrate), which vibrates instead of playing audio.

Each value exposes the raw SystemSoundID.value handed to AudioServicesPlaySystemSound(_:) and the SystemSoundCategory it belongs to.

IosSystemSound().play(SystemSoundID.photoShutter);

Supported IDs differ slightly between iOS versions and devices; unavailable ones are silently ignored.

Inheritance
Available extensions

Values

newMail → const SystemSoundID

New mail received (1000).

const SystemSoundID(1000, .mail)
mailSent → const SystemSoundID

Mail sent (1001).

const SystemSoundID(1001, .mail)
voiceMailReceived → const SystemSoundID

Voicemail received (1002).

const SystemSoundID(1002, .mail)
receivedMessage → const SystemSoundID

Message received (1003).

const SystemSoundID(1003, .sms)
sentMessage → const SystemSoundID

Message sent (1004).

const SystemSoundID(1004, .sms)
alarm → const SystemSoundID

Calendar alarm (1005).

const SystemSoundID(1005, .alert)
lowPower → const SystemSoundID

Low battery warning (1006).

const SystemSoundID(1006, .power)
smsReceived1 → const SystemSoundID

SMS alert tone #1 (1007).

const SystemSoundID(1007, .sms)
smsReceived2 → const SystemSoundID

SMS alert tone #2 (1008).

const SystemSoundID(1008, .sms)
smsReceived3 → const SystemSoundID

SMS alert tone #3 (1009).

const SystemSoundID(1009, .sms)
smsReceived4 → const SystemSoundID

SMS alert tone #4 (1010).

const SystemSoundID(1010, .sms)
smsReceivedVibrate → const SystemSoundID

SMS vibration pattern (1011).

const SystemSoundID(1011, .sms)
smsReceived → const SystemSoundID

SMS alert tone #5 (1012).

const SystemSoundID(1012, .sms)
smsReceive5 → const SystemSoundID

SMS alert tone #6 (1013).

const SystemSoundID(1013, .sms)
smsReceive6 → const SystemSoundID

SMS alert tone #7 (1014).

const SystemSoundID(1014, .sms)
voicemail → const SystemSoundID

Voicemail preview (1015).

const SystemSoundID(1015, .mail)
tweetSent → const SystemSoundID

Tweet sent (1016).

const SystemSoundID(1016, .sms)
anticipate → const SystemSoundID

Alert tone (1020).

1017-1019 are not documented by Apple.

const SystemSoundID(1020, .alert)
bloom → const SystemSoundID

Alert tone (1021).

const SystemSoundID(1021, .alert)
calypso → const SystemSoundID

Alert tone (1022).

const SystemSoundID(1022, .alert)
chooChoo → const SystemSoundID

Alert tone (1023).

const SystemSoundID(1023, .alert)
descent → const SystemSoundID

Alert tone (1024).

const SystemSoundID(1024, .alert)
fanfare → const SystemSoundID

Alert tone (1025).

const SystemSoundID(1025, .alert)
ladder → const SystemSoundID

Alert tone (1026).

const SystemSoundID(1026, .alert)
minuet → const SystemSoundID

Alert tone (1027).

const SystemSoundID(1027, .alert)
newsFlash → const SystemSoundID

Alert tone (1028).

const SystemSoundID(1028, .alert)
noir → const SystemSoundID

Alert tone (1029).

const SystemSoundID(1029, .alert)
sherwoodForest → const SystemSoundID

Alert tone (1030).

const SystemSoundID(1030, .alert)
spell → const SystemSoundID

Alert tone (1031).

const SystemSoundID(1031, .alert)
suspense → const SystemSoundID

Alert tone (1032).

const SystemSoundID(1032, .alert)
telegraph → const SystemSoundID

Alert tone (1033).

const SystemSoundID(1033, .alert)
tiptoes → const SystemSoundID

Alert tone (1034).

const SystemSoundID(1034, .alert)
typewriters → const SystemSoundID

Alert tone (1035).

const SystemSoundID(1035, .alert)
update → const SystemSoundID

Alert tone (1036).

1037-1049 are unused.

const SystemSoundID(1036, .alert)
ussd → const SystemSoundID

USSD alert (1050).

const SystemSoundID(1050, .network)
simToolkitCallDropped → const SystemSoundID

SIM Toolkit call dropped (1051).

const SystemSoundID(1051, .simToolkit)
simToolkitGeneralBeep → const SystemSoundID

SIM Toolkit general beep (1052).

const SystemSoundID(1052, .simToolkit)
simToolkitNegativeACK → const SystemSoundID

SIM Toolkit negative acknowledgement (1053).

const SystemSoundID(1053, .simToolkit)
simToolkitPositiveACK → const SystemSoundID

SIM Toolkit positive acknowledgement (1054).

const SystemSoundID(1054, .simToolkit)
simToolkitSMS → const SystemSoundID

SIM Toolkit SMS (1055).

1056 is unused.

const SystemSoundID(1055, .simToolkit)
tink → const SystemSoundID

Keypad / PIN key pressed (1057).

1058 and 1059 are unused.

const SystemSoundID(1057, .keyPress)
webcamStart → const SystemSoundID

Webcam start (1060). Undocumented by Apple, availability not guaranteed.

const SystemSoundID(1060, .unknown)
ctBusy → const SystemSoundID

Line busy (1070).

const SystemSoundID(1070, .callTone)
ctCongestion → const SystemSoundID

Network congestion (1071).

const SystemSoundID(1071, .callTone)
ctPathAck → const SystemSoundID

Path acknowledge (1072).

const SystemSoundID(1072, .callTone)
ctError → const SystemSoundID

Call error (1073).

const SystemSoundID(1073, .callTone)
ctCallWaiting → const SystemSoundID

Call waiting (1074).

const SystemSoundID(1074, .callTone)
ctKeytone2 → const SystemSoundID

Second keypad tone (1075).

1076-1099 are unused.

const SystemSoundID(1075, .keyPress)
lock → const SystemSoundID

Screen locked (1100).

const SystemSoundID(1100, .device)
unlock → const SystemSoundID

Screen unlocked (1101).

const SystemSoundID(1101, .device)
failedUnlock → const SystemSoundID

Screen unlock failed (1102).

const SystemSoundID(1102, .device)
tinkKeyPressed → const SystemSoundID

Key pressed (1103).

const SystemSoundID(1103, .keyPress)
tock → const SystemSoundID

Key pressed (1104).

const SystemSoundID(1104, .keyPress)
tock2 → const SystemSoundID

Alternate key pressed (1105).

const SystemSoundID(1105, .keyPress)
connectedToPower → const SystemSoundID

Connected to power (1106).

const SystemSoundID(1106, .power)
ringerChanged → const SystemSoundID

Ringer switch toggled (1107).

const SystemSoundID(1107, .device)
photoShutter → const SystemSoundID

Camera shutter (1108).

const SystemSoundID(1108, .camera)
shake → const SystemSoundID

Shake to shuffle (1109).

const SystemSoundID(1109, .device)
jblBegin → const SystemSoundID

Voice control ready (1110).

const SystemSoundID(1110, .voiceChat)
jblConfirm → const SystemSoundID

Voice control confirmation (1111).

const SystemSoundID(1111, .voiceChat)
jblCancel → const SystemSoundID

Voice control cancelled (1112).

const SystemSoundID(1112, .voiceChat)
beginRecord → const SystemSoundID

Audio recording started (1113).

const SystemSoundID(1113, .recording)
endRecord → const SystemSoundID

Audio recording stopped (1114).

const SystemSoundID(1114, .recording)
jblAmbiguous → const SystemSoundID

Voice control ambiguous (1115).

const SystemSoundID(1115, .voiceChat)
jblNoMatch → const SystemSoundID

Voice control no match (1116).

const SystemSoundID(1116, .voiceChat)
beginVideoRecord → const SystemSoundID

Video recording started (1117).

const SystemSoundID(1117, .recording)
endVideoRecord → const SystemSoundID

Video recording stopped (1118).

1119-1149 are undocumented by Apple.

const SystemSoundID(1118, .recording)
vcInvitationAccepted → const SystemSoundID

Invitation accepted (1150).

const SystemSoundID(1150, .voiceChat)
vcRinging → const SystemSoundID

Incoming call ringing (1151).

const SystemSoundID(1151, .voiceChat)
vcEnded → const SystemSoundID

Call ended (1152).

const SystemSoundID(1152, .voiceChat)
ctCallWaiting2 → const SystemSoundID

Call waiting during call (1153).

const SystemSoundID(1153, .callTone)
vcRinging2 → const SystemSoundID

Call upgrade ringing (1154).

1155-1199 are undocumented by Apple.

const SystemSoundID(1154, .voiceChat)
dtmf0 → const SystemSoundID

DTMF tone 0 (1200).

const SystemSoundID(1200, .touchTone)
dtmf1 → const SystemSoundID

DTMF tone 1 (1201).

const SystemSoundID(1201, .touchTone)
dtmf2 → const SystemSoundID

DTMF tone 2 (1202).

const SystemSoundID(1202, .touchTone)
dtmf3 → const SystemSoundID

DTMF tone 3 (1203).

const SystemSoundID(1203, .touchTone)
dtmf4 → const SystemSoundID

DTMF tone 4 (1204).

const SystemSoundID(1204, .touchTone)
dtmf5 → const SystemSoundID

DTMF tone 5 (1205).

const SystemSoundID(1205, .touchTone)
dtmf6 → const SystemSoundID

DTMF tone 6 (1206).

const SystemSoundID(1206, .touchTone)
dtmf7 → const SystemSoundID

DTMF tone 7 (1207).

const SystemSoundID(1207, .touchTone)
dtmf8 → const SystemSoundID

DTMF tone 8 (1208).

const SystemSoundID(1208, .touchTone)
dtmf9 → const SystemSoundID

DTMF tone 9 (1209).

const SystemSoundID(1209, .touchTone)
dtmfStar → const SystemSoundID

DTMF tone * (1210).

const SystemSoundID(1210, .touchTone)
dtmfPound → const SystemSoundID

DTMF tone # (1211).

1212-1253 are unused or undocumented by Apple.

const SystemSoundID(1211, .touchTone)
longLowShortHigh → const SystemSoundID

Headset start call (1254).

const SystemSoundID(1254, .headset)
shortDoubleHigh → const SystemSoundID

Headset redial (1255).

const SystemSoundID(1255, .headset)
shortLowHigh → const SystemSoundID

Headset answer call (1256).

const SystemSoundID(1256, .headset)
shortDoubleLow → const SystemSoundID

Headset end call (1257).

const SystemSoundID(1257, .headset)
shortDoubleLow2 → const SystemSoundID

Headset call waiting action (1258).

const SystemSoundID(1258, .headset)
middle9ShortDoubleLow → const SystemSoundID

Headset transition end (1259).

1260-1299 are undocumented by Apple.

const SystemSoundID(1259, .headset)
voicemail2 → const SystemSoundID

Voicemail (preview) (1300).

const SystemSoundID(1300, .preview)
receivedMessage2 → const SystemSoundID

Message received (preview) (1301).

const SystemSoundID(1301, .preview)
newMail2 → const SystemSoundID

New mail received (preview) (1302).

const SystemSoundID(1302, .preview)
mailSent2 → const SystemSoundID

Mail sent (preview) (1303).

const SystemSoundID(1303, .preview)
alarm2 → const SystemSoundID

Calendar alarm (preview) (1304).

const SystemSoundID(1304, .preview)
lock2 → const SystemSoundID

Screen locked (preview) (1305).

const SystemSoundID(1305, .preview)
tock3 → const SystemSoundID

Key press click (preview) (1306).

const SystemSoundID(1306, .preview)
smsReceivedSelection1 → const SystemSoundID

SMS tone #1 (picker) (1307).

const SystemSoundID(1307, .preview)
smsReceivedSelection2 → const SystemSoundID

SMS tone #2 (picker) (1308).

const SystemSoundID(1308, .preview)
smsReceivedSelection3 → const SystemSoundID

SMS tone #3 (picker) (1309).

const SystemSoundID(1309, .preview)
smsReceivedSelection4 → const SystemSoundID

SMS tone #4 (picker) (1310).

const SystemSoundID(1310, .preview)
smsReceivedSelectionVibrate → const SystemSoundID

SMS vibration pattern (picker, 1311).

const SystemSoundID(1311, .preview)
smsReceivedSelection5 → const SystemSoundID

SMS tone #5 (picker) (1312).

const SystemSoundID(1312, .preview)
smsReceivedSelection6 → const SystemSoundID

SMS tone #6 (picker) (1313).

const SystemSoundID(1313, .preview)
smsReceivedSelection7 → const SystemSoundID

SMS tone #7 (picker) (1314).

const SystemSoundID(1314, .preview)
voicemailSelection → const SystemSoundID

Voicemail (picker) (1315).

const SystemSoundID(1315, .preview)
anticipateSelection → const SystemSoundID

Alert tone (picker) (1320).

const SystemSoundID(1320, .preview)
bloomSelection → const SystemSoundID

Alert tone (picker) (1321).

const SystemSoundID(1321, .preview)
calypsoSelection → const SystemSoundID

Alert tone (picker) (1322).

const SystemSoundID(1322, .preview)
chooChooSelection → const SystemSoundID

Alert tone (picker) (1323).

const SystemSoundID(1323, .preview)
descentSelection → const SystemSoundID

Alert tone (picker) (1324).

const SystemSoundID(1324, .preview)
fanfareSelection → const SystemSoundID

Alert tone (picker) (1325).

const SystemSoundID(1325, .preview)
ladderSelection → const SystemSoundID

Alert tone (picker) (1326).

const SystemSoundID(1326, .preview)
minuetSelection → const SystemSoundID

Alert tone (picker) (1327).

const SystemSoundID(1327, .preview)
newsFlashSelection → const SystemSoundID

Alert tone (picker) (1328).

const SystemSoundID(1328, .preview)
noirSelection → const SystemSoundID

Alert tone (picker) (1329).

const SystemSoundID(1329, .preview)
sherwoodForestSelection → const SystemSoundID

Alert tone (picker) (1330).

const SystemSoundID(1330, .preview)
spellSelection → const SystemSoundID

Alert tone (picker) (1331).

const SystemSoundID(1331, .preview)
suspenseSelection → const SystemSoundID

Alert tone (picker) (1332).

const SystemSoundID(1332, .preview)
telegraphSelection → const SystemSoundID

Alert tone (picker) (1333).

const SystemSoundID(1333, .preview)
tiptoesSelection → const SystemSoundID

Alert tone (picker) (1334).

const SystemSoundID(1334, .preview)
typewritersSelection → const SystemSoundID

Alert tone (picker) (1335).

const SystemSoundID(1335, .preview)
updateSelection → const SystemSoundID

Alert tone (picker) (1336).

const SystemSoundID(1336, .preview)
ringerVibeChanged → const SystemSoundID

Ringer / vibration setting changed (1350). Vibrates when the device is in silent mode.

const SystemSoundID(1350, .vibration)
silentVibeChanged → const SystemSoundID

Silent / vibration setting changed (1351). Vibrates when the device is in silent mode.

const SystemSoundID(1351, .vibration)
vibrate → const SystemSoundID

Vibration feedback (kSystemSoundID_Vibrate, 4095). Plays no sound.

const SystemSoundID(4095, .vibration)

Properties

category → SystemSoundCategory
The SystemSoundCategory this sound belongs to.
final
hashCode → int
The hash code for this object.
no setterinherited
index → int
A numeric identifier for the enumerated value.
no setterinherited
name → String

Available on Enum, provided by the EnumName extension

The name of the enum value.
no setter
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
value → int
The raw SystemSoundID handed to AudioServicesPlaySystemSound(_:).
final

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
toString() → String
A string representation of this object.
inherited

Operators

operator ==(Object other) → bool
The equality operator.
inherited

Static Properties

byCategory → Map<SystemSoundCategory, List<SystemSoundID>>
All sounds grouped by category.
no setter

Static Methods

fromValue(int value) → SystemSoundID
Looks up a sound by its raw SystemSoundID.value.
tryFromValue(int value) → SystemSoundID?
Looks up a sound by its raw SystemSoundID.value, or null when unknown.

Constants

values → const List<SystemSoundID>
A constant List of the values in this enum, in order of their declaration.