SwiftfuncAccessibilitySharedSupportAccessibilitySharedSupport.AXSoundPlayer
play
AccessibilitySharedSupport.AXSoundPlayer.play(sound: AccessibilitySharedSupport.AXSoundPlayer.Sound, options: [AccessibilitySharedSupport.AXSoundPlayer.PlaybackOptions], volume: Float, playbackEventHandler: (@Sendable (Result<AccessibilitySharedSupport.AXSoundPlayer.PlaybackEvent, Error>) -> ())?) -> ()
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
param{}
- 0sound:
- 1options:
- 2volume:structSwift.Float
- 3playbackEventHandler:enumSwift.Optional
- argfunction
@Sendable (Result<AccessibilitySharedSupport.AXSoundPlayer.PlaybackEvent, Error>) -> ()sendableescaping- argexistential
Error
- returnstuple
()