public static interface LocalParticipant.Listener
LocalParticipant
events.Modifier and Type | Method and Description |
---|---|
void |
onAudioTrackPublicationFailed(LocalParticipant localParticipant,
LocalAudioTrack localAudioTrack,
TwilioException twilioException)
This method notifies the listener that the
LocalParticipant failed to publish
a LocalAudioTrack to a Room . |
void |
onAudioTrackPublished(LocalParticipant localParticipant,
LocalAudioTrackPublication localAudioTrackPublication)
This method notifies the listener that a
LocalAudioTrack has been shared to a
Room . |
void |
onDataTrackPublicationFailed(LocalParticipant localParticipant,
LocalDataTrack localDataTrack,
TwilioException twilioException)
This method notifies the listener that the
LocalParticipant failed to publish
a LocalDataTrack to a Room . |
void |
onDataTrackPublished(LocalParticipant localParticipant,
LocalDataTrackPublication localDataTrackPublication)
This method notifies the listener that a
LocalDataTrack has been shared to a
Room . |
void |
onVideoTrackPublicationFailed(LocalParticipant localParticipant,
LocalVideoTrack localVideoTrack,
TwilioException twilioException)
This method notifies the listener that the
LocalParticipant failed to publish
a LocalVideoTrack to a Room . |
void |
onVideoTrackPublished(LocalParticipant localParticipant,
LocalVideoTrackPublication localVideoTrackPublication)
This method notifies the listener that a
LocalVideoTrack has been shared to a
Room . |
void onAudioTrackPublished(LocalParticipant localParticipant, LocalAudioTrackPublication localAudioTrackPublication)
LocalAudioTrack
has been shared to a
Room
.localParticipant
- The local participant that published the audio track.localAudioTrackPublication
- The published local audio track.void onAudioTrackPublicationFailed(LocalParticipant localParticipant, LocalAudioTrack localAudioTrack, TwilioException twilioException)
LocalParticipant
failed to publish
a LocalAudioTrack
to a Room
.localParticipant
- The local participant that failed to publish the audio track.localAudioTrack
- The local audio track that could not be published.twilioException
- An exception explaining why the local participant failed to
publish the local audio track.void onVideoTrackPublished(LocalParticipant localParticipant, LocalVideoTrackPublication localVideoTrackPublication)
LocalVideoTrack
has been shared to a
Room
.localParticipant
- The local participant that published the video track.localVideoTrackPublication
- The published local video track.void onVideoTrackPublicationFailed(LocalParticipant localParticipant, LocalVideoTrack localVideoTrack, TwilioException twilioException)
LocalParticipant
failed to publish
a LocalVideoTrack
to a Room
.localParticipant
- The local participant that failed to publish the video track.localVideoTrack
- The local video track that could not be published.twilioException
- An exception explaining why the local participant failed to
publish the local video track.void onDataTrackPublished(LocalParticipant localParticipant, LocalDataTrackPublication localDataTrackPublication)
LocalDataTrack
has been shared to a
Room
.localParticipant
- The local participant that published the data track.localDataTrackPublication
- The published local data track.void onDataTrackPublicationFailed(LocalParticipant localParticipant, LocalDataTrack localDataTrack, TwilioException twilioException)
LocalParticipant
failed to publish
a LocalDataTrack
to a Room
.localParticipant
- The local participant that failed to publish the data track.localDataTrack
- The local data track that could not be published.twilioException
- An exception explaining why the local participant failed to
publish the local data track.