Class
ObservableParticipant
@available(*, deprecated, message: "Participant is now an ObservableObject which can be observed directly.")
open class ObservableParticipant: ObservableObject
Relationships
Conforms To
Loggable
Allows to extend with custom
log
method which automatically captures current type (class name).ParticipantDelegate
Delegate methods for a participant.
Equatable
Hashable
Identifiable
ObservableObject
Initializers
init(_:)
public init(_ participant: Participant)
Properties
id
public var id: String
sid
public var sid: Sid
identity
public var identity: String
participant
public let participant: Participant
asLocal
public var asLocal: LocalParticipant?
asRemote
public var asRemote: RemoteParticipant?
isSpeaking
public var isSpeaking: Bool
joinedAt
public var joinedAt: Date?
connectionQuality
public var connectionQuality: ConnectionQuality
encryptionType
public var encryptionType: EncryptionType
Methods
participant(_:didSubscribe:track:)
public func participant(_ participant: RemoteParticipant,
didSubscribe trackPublication: RemoteTrackPublication,
track: Track)
participant(_:didUnsubscribe:track:)
public func participant(_ participant: RemoteParticipant,
didUnsubscribe trackPublication: RemoteTrackPublication,
track: Track)
participant(_:didUpdate:permission:)
public func participant(_ participant: RemoteParticipant,
didUpdate publication: RemoteTrackPublication,
permission allowed: Bool)
localParticipant(_:didPublish:)
public func localParticipant(_ participant: LocalParticipant,
didPublish trackPublication: LocalTrackPublication)
localParticipant(_:didUnpublish:)
public func localParticipant(_ participant: LocalParticipant,
didUnpublish trackPublication: LocalTrackPublication)
participant(_:didUpdate:muted:)
public func participant(_ participant: Participant,
didUpdate trackPublication: TrackPublication,
muted: Bool)
participant(_:didUpdate:)
public func participant(_ participant: Participant, didUpdate speaking: Bool)
participant(_:didUpdate:)
public func participant(_ participant: Participant, didUpdate connectionQuality: ConnectionQuality)
hash(into:)
public func hash(into hasher: inout Hasher)
Operators
==
public static func == (lhs: ObservableParticipant, rhs: ObservableParticipant) -> Bool