Instance Property

status

The status of the player.

Declaration

var status: WKAudioFilePlayerStatus { get }

Discussion

When the value of this property is WKAudioFilePlayerStatus.failed, the error property contains the reason for the failure.

See Also

Getting Information About the Player

var currentItem: WKAudioFilePlayerItem?

The player’s current item.

Deprecated
var error: Error?

An error that describes the cause of a failure.

Deprecated