LiveKit Swift Client SDK Documentation

Class Participant

@objc
public class Participant: NSObject, Loggable  
%231 Participant Participant MulticastDelegateProtocol MulticastDelegateProtocol Participant->MulticastDelegateProtocol NSObject NSObject Participant->NSObject Loggable Loggable Participant->Loggable LocalParticipant LocalParticipant LocalParticipant->Participant RemoteParticipant RemoteParticipant RemoteParticipant->Participant

Subclasses

LocalParticipant
RemoteParticipant

Conforms To

Loggable

Allows to extend with custom log method which automatically captures current type (class name).

MulticastDelegateProtocol
NSObject

Properties

description

public override var description: String  

sid

@objc
    public let sid: Sid

identity

@objc
    public var identity: String  

name

@objc
    public var name: String  

audio​Level

@objc
    public var audioLevel: Float  

is​Speaking

@objc
    public var isSpeaking: Bool  

metadata

@objc
    public var metadata: String?  

connection​Quality

@objc
    public var connectionQuality: ConnectionQuality  

permissions

@objc
    public var permissions: ParticipantPermissions  

joined​At

@objc
    public var joinedAt: Date?  

tracks

@objc
    public var tracks: [String: TrackPublication]  

audio​Tracks

@objc
    public var audioTracks: [TrackPublication]  

video​Tracks

@objc
    public var videoTracks: [TrackPublication]  

room

public let room: Room

hash

override var hash: Int  

Methods

is​Camera​Enabled()

public func isCameraEnabled() -> Bool  

is​Microphone​Enabled()

public func isMicrophoneEnabled() -> Bool  

is​Screen​Share​Enabled()

public func isScreenShareEnabled() -> Bool  

is​Equal(_:​)

override func isEqual(_ object: Any?) -> Bool  

add(delegate:​)

@objc(addDelegate:)
    public func add(delegate: ParticipantDelegate)  

remove(delegate:​)

@objc(removeDelegate:)
    public func remove(delegate: ParticipantDelegate)  

remove​All​Delegates()

@objc
    public func removeAllDelegates()