mirror of
https://github.com/HaishinKit/HaishinKit.swift.git
synced 2026-05-07 20:12:28 +00:00
16 lines
491 B
Swift
16 lines
491 B
Swift
import Foundation
|
|
|
|
/// The enumeration defines the state a HKStream client is in.
|
|
public enum StreamReadyState: Int, Sendable {
|
|
/// The stream is idling.
|
|
case idle
|
|
/// The stream has sent a request to play and is waiting for approval from the server.
|
|
case play
|
|
/// The stream is playing.
|
|
case playing
|
|
/// The streamhas sent a request to publish and is waiting for approval from the server.
|
|
case publish
|
|
/// The stream is publishing.
|
|
case publishing
|
|
}
|