TVILocalParticipant Class Reference
| Inherits from | NSObject |
|---|---|
| Declared in | TVILocalParticipant.h |
identity
The identity of the TVILocalParticipant.
@property (nonatomic, readonly, copy, nonnull) NSString *identityDeclared In
TVILocalParticipant.h
sid
The LocalParticipant’s server identifier. This value uniquely identifies your Client in a Room and is often useful for debugging purposes.
@property (nonatomic, readonly, copy, nonnull) NSString *sidDeclared In
TVILocalParticipant.h
– init
Developers shouldn’t initialize this class directly.
- (null_unspecified instancetype)initDiscussion
Use TwilioVideo connectWith* methods to join a TVIRoom and query its localParticipant property.
Declared In
TVILocalParticipant.h
audioTracks
The collection of local audio tracks being shared in the Room.
@property (nonatomic, copy, readonly, nonnull) NSArray<TVILocalAudioTrack*> *audioTracksDeclared In
TVILocalParticipant.h
videoTracks
The collection of local video tracks being shared in the Room.
@property (nonatomic, copy, readonly, nonnull) NSArray<TVILocalVideoTrack*> *videoTracksDeclared In
TVILocalParticipant.h
– addAudioTrack:
Adds a Track to the LocalParticipant, sharing it in the Room.
- (BOOL)addAudioTrack:(nonnull TVILocalAudioTrack *)trackParameters
track |
The |
|---|
Return Value
YES if the track was added successfully, NO otherwise.
Declared In
TVILocalParticipant.h
– addVideoTrack:
Adds a Track to the LocalParticipant, sharing it in the Room.
- (BOOL)addVideoTrack:(nonnull TVILocalVideoTrack *)trackParameters
track |
The |
|---|
Return Value
YES if the track was added successfully, NO otherwise.
Declared In
TVILocalParticipant.h
– removeAudioTrack:
Removes a Track from the LocalParticipant, un-sharing it from the Room.
- (BOOL)removeAudioTrack:(nonnull TVILocalAudioTrack *)trackParameters
track |
The |
|---|
Return Value
YES if the track was removed successfully, NO otherwise.
Declared In
TVILocalParticipant.h
– removeVideoTrack:
Removes a Track from the LocalParticipant, un-sharing it from the Room.
- (BOOL)removeVideoTrack:(nonnull TVILocalVideoTrack *)trackParameters
track |
The |
|---|
Return Value
YES if the track was removed successfully, NO otherwise.
Declared In
TVILocalParticipant.h