stop()
Creates an action that tells an audio node to stop playback.
Declaration
class func stop() -> SKActionReturn Value
A new action object.
Discussion
This action may only be executed on an SKAudioNode object. The audio is stopped, and if restarted, begins at the beginning.
This action is not reversible.
See Also
Controlling the Audio of a Node
playSoundFileNamed(_:waitForCompletion:)play()pause()changePlaybackRate(to:duration:)changePlaybackRate(by:duration:)changeVolume(to:duration:)changeVolume(by:duration:)changeObstruction(to:duration:)changeObstruction(by:duration:)changeOcclusion(to:duration:)changeOcclusion(by:duration:)changeReverb(to:duration:)changeReverb(by:duration:)stereoPan(to:duration:)stereoPan(by:duration:)