criticalSoundNamed
TypeScriptstatic criticalSoundNamed(name: UNNotificationSoundName): UNNotificationSoundSwift declarationclass func criticalSoundNamed(_ name: UNNotificationSoundName) -> Selfclass · iOS 10.0+ · SDK 27.1
class UNNotificationSoundstatic criticalSoundNamed(name: UNNotificationSoundName): UNNotificationSoundSwift declarationclass func criticalSoundNamed(_ name: UNNotificationSoundName) -> Selfstatic criticalSoundNamedWithAudioVolume(name: UNNotificationSoundName, volume: number): UNNotificationSoundSwift declarationclass func criticalSoundNamed(_ name: UNNotificationSoundName, withAudioVolume volume: Float) -> Selfstatic defaultCriticalSound(volume: number): UNNotificationSoundSwift declarationclass func defaultCriticalSound(withAudioVolume volume: Float) -> Selfstatic ringtoneSoundNamed(name: UNNotificationSoundName): UNNotificationSoundSwift declarationclass func ringtoneSoundNamed(_ name: UNNotificationSoundName) -> Selfstatic init(name: UNNotificationSoundName): UNNotificationSoundSwift declarationconvenience init(named name: UNNotificationSoundName)static get defaultCritical(): UNNotificationSoundSwift declaration@NSCopying class var defaultCritical: UNNotificationSound { get }static get defaultRingtone(): UNNotificationSoundSwift declaration@NSCopying class var defaultRingtone: UNNotificationSound { get }static get default(): UNNotificationSoundSwift declaration@NSCopying class var `default`: UNNotificationSound { get }1 declarations were excluded from these bindings. Each reason comes from the generator or the iOS SDK compiler.
UNNotificationSound.init()
inherited init: cannot prove legal (class declares 1 custom initializer)