mirror of
https://github.com/jellyfin/jellyfin-sdk-swift.git
synced 2024-11-30 09:50:25 +00:00
23 lines
644 B
Swift
23 lines
644 B
Swift
//
|
|
// jellyfin-sdk-swift is subject to the terms of the Mozilla Public
|
|
// License, v2.0. If a copy of the MPL was not distributed with this
|
|
// file, you can obtain one at https://mozilla.org/MPL/2.0/.
|
|
//
|
|
// Copyright (c) 2022 Jellyfin & Jellyfin Contributors
|
|
//
|
|
|
|
import Foundation
|
|
|
|
/// Enum PlaystateCommand.
|
|
public enum PlaystateCommand: String, Codable, CaseIterable {
|
|
case stop = "Stop"
|
|
case pause = "Pause"
|
|
case unpause = "Unpause"
|
|
case nextTrack = "NextTrack"
|
|
case previousTrack = "PreviousTrack"
|
|
case seek = "Seek"
|
|
case rewind = "Rewind"
|
|
case fastForward = "FastForward"
|
|
case playPause = "PlayPause"
|
|
}
|