State

struct State

Audio player’s state type

  • An audio player sound identifier used to play sound by identifier

    Declaration

    Swift

    let sound: SoundIdentifier?
  • Audio player’s current status

    Declaration

    Swift

    let status: Status
  • Puts the audio player on idle status

    Declaration

    Swift

    static func idle() -> State

    Return Value

    self