Files
velody/packages/apple/VelodyPlayback/Sources/VelodyPlayback/PlaybackRepeatMode.swift
T
2026-06-16 02:11:24 +02:00

19 lines
337 B
Swift

import Foundation
public enum PlaybackRepeatMode: String, Codable, CaseIterable, Hashable, Sendable {
case off
case all
case one
public var nextMode: PlaybackRepeatMode {
switch self {
case .off:
.one
case .one:
.all
case .all:
.off
}
}
}