TVIParticipant Class Reference

Inherits from NSObject
Declared in TVIParticipant.h

Overview

TVIParticipant represents a remote Participant in a Room which you are connected to.

  connected

Indicates if the Participant is connected to the Room.

@property (nonatomic, assign, readonly, getter=isConnected) BOOL connected

Declared In

TVIParticipant.h

  delegate

The Participant’s delegate. Set this property to be notified about Participant events such as tracks being added or removed.

@property (atomic, weak, nullable) id<TVIParticipantDelegate> delegate

Declared In

TVIParticipant.h

  identity

The Participant’s identity.

@property (nonatomic, readonly, copy, nonnull) NSString *identity

Declared In

TVIParticipant.h

  sid

@sid The Participant’s server identifier. This value uniquely identifies the Participant in a Room and is often useful for debugging purposes.

@property (nonatomic, readonly, copy, nullable) NSString *sid

Discussion

@sid The Participant’s server identifier. This value uniquely identifies the Participant in a Room and is often useful for debugging purposes.

Declared In

TVIParticipant.h

  audioTracks

A collection of shared audio tracks.

@property (nonatomic, copy, readonly, nonnull) NSArray<TVIAudioTrack*> *audioTracks

Declared In

TVIParticipant.h

  videoTracks

A collection of shared video tracks.

@property (nonatomic, copy, readonly, nonnull) NSArray<TVIVideoTrack*> *videoTracks

Declared In

TVIParticipant.h

– init

Developers shouldn’t initialize this class directly.

- (null_unspecified instancetype)init

Discussion

Use TwilioVideo connectWith* methods to join a TVIRoom with TVIParticipant instances.

Declared In

TVIParticipant.h