Warning, /network/kdeconnect-ios/KDE Connect/KDE Connect/Swift Backend/SystemSound.swift is written in an unsupported language. File is not indexed.
0001 /* 0002 * SPDX-FileCopyrightText: 2022 Claudio Cambra <claudio.cambra@gmail.com> 0003 * 0004 * SPDX-License-Identifier: GPL-2.0-only OR GPL-3.0-only OR LicenseRef-KDE-Accepted-GPL 0005 */ 0006 0007 import Foundation 0008 import AVFoundation 0009 0010 // System sounds definitions, for a list of all IDs, see 0011 // https://github.com/TUNER88/iOSSystemSoundsLibrary 0012 enum SystemSound: SystemSoundID { 0013 case mailReceived = 1000 0014 case mailSent = 1001 0015 case smsReceived = 1003 0016 case calendarAlert = 1005 0017 case audioToneBusy = 1070 0018 case audioError = 1073 0019 0020 func play() { 0021 AudioServicesPlaySystemSound(self.rawValue) 0022 } 0023 }