public interface DataTrackPublication extends TrackPublication
Room
.Modifier and Type | Method and Description |
---|---|
DataTrack |
getDataTrack()
LocalDataTrackPublication and RemoteDataTrackPublication extend DataTrackPublication and each interface implements getDataTrack with different nullability
behavior. |
getTrackName, getTrackSid, isTrackEnabled
@Nullable DataTrack getDataTrack()
LocalDataTrackPublication
and RemoteDataTrackPublication
extend DataTrackPublication
and each interface implements getDataTrack with different nullability
behavior. LocalDataTrackPublication.getDataTrack()
is annotated as @NonNull and RemoteDataTrackPublication.getDataTrack()
is annotated as @Nullable.
This method is marked as @Nullable because at least one of the subclasses returns null.
LocalDataTrackPublication
,
RemoteDataTrackPublication
6.0.0