Enumeration
TrackPublishState
public enum TrackPublishState
A enum that represents the published state of a LocalTrackPublication
.
Relationships
Conforms To
Equatable
Enumeration Cases
notPublished
case notPublished(error: Error? = nil)
Not published yet, has been unpublished, or an error occured while publishing or un-publishing.
error
wil be non-nil if an error occurred while publishing.
Properties
isPublished
public var isPublished: Bool
Checks whether the state is TrackPublishState/published(_:)
regardless of the error value.
isBusy
public var isBusy: Bool
Checks whether the state is TrackPublishState/busy(isPublishing:)
regardless of the isPublishing
value.
Operators
==
public static func == (lhs: Self, rhs: Self) -> Bool