HKStreamReadyState

public enum HKStreamReadyState : Int, Sendable

The enumeration defines the state a HKStream client is in.

  • The stream is idling.

    Declaration

    Swift

    case idle
  • The stream has sent a request to play and is waiting for approval from the server.

    Declaration

    Swift

    case play
  • The stream is playing.

    Declaration

    Swift

    case playing
  • The streamhas sent a request to publish and is waiting for approval from the server.

    Declaration

    Swift

    case publish
  • The stream is publishing.

    Declaration

    Swift

    case publishing