Package com.twilio.video
Interface AudioTrackPublication
- All Superinterfaces:
TrackPublication
- All Known Implementing Classes:
LocalAudioTrackPublication
,RemoteAudioTrackPublication
A published audio track represents an audio track that has been shared with a
Room
.-
Method Summary
Modifier and TypeMethodDescriptionLocalAudioTrackPublication
andRemoteAudioTrackPublication
extendAudioTrackPublication
and each interface implements getAudioTrack with different nullability behavior.Methods inherited from interface com.twilio.video.TrackPublication
getTrackName, getTrackSid, isTrackEnabled
-
Method Details
-
getAudioTrack
LocalAudioTrackPublication
andRemoteAudioTrackPublication
extendAudioTrackPublication
and each interface implements getAudioTrack with different nullability behavior.LocalAudioTrackPublication.getAudioTrack()
is annotated as @NonNull andRemoteAudioTrackPublication.getAudioTrack()
is annotated as @Nullable.This method is marked as @Nullable because at least one of the subclasses returns null.
- Returns:
- the published audio track.
- See Also:
-