Instance Method

setName(_:)

No overview available.

Declaration

func setName(_ string: NSSound.Name?) -> Bool

See Also

Configuring Sounds

var name: NSSound.Name?

The name assigned to the sound.

var volume: Float

The volume of the sound.

var currentTime: TimeInterval

The sound’s playback progress, in seconds.

var loops: Bool

A Boolean that indicates whether the sound restarts playback when it reaches the end of its content.