PlaybackState

public enum PlaybackState : Equatable, CustomStringConvertible

An enum that describes the playback state of the Video Player

  • The playback has failed because of the encapsulated error.

    Declaration

    Swift

    case failed(_: Richi.Error)
  • The asset is loading

    Declaration

    Swift

    case loading
  • The playback has been paused

    Declaration

    Swift

    case paused
  • The vide is currently playing

    Declaration

    Swift

    case playing
  • The playback has been stopped

    Declaration

    Swift

    case stopped
  • Declaration

    Swift

    public var description: String { get }
  • Declaration

    Swift

    public static func == (lhs: Richi.PlaybackState, rhs: Richi.PlaybackState) -> Bool