-
- All Implemented Interfaces:
-
java.io.Serializable
public final class SubscribeOption extends Message<SubscribeOption, Nothing>
SubscribeOption represents the configuration options for subscribing to a track.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description public classSubscribeOption.Companion
-
Field Summary
Fields Modifier and Type Field Description private final List<Codec>codecsprivate final TrackTypetrack_typeprivate final ProtoAdapter<SubscribeOption>adapterprivate final ByteStringunknownFields
-
Constructor Summary
Constructors Constructor Description SubscribeOption(TrackType track_type, List<Codec> codecs, ByteString unknownFields)
-
Method Summary
Modifier and Type Method Description final List<Codec>getCodecs()The codecs supported by the subscriber for decoding tracks. final TrackTypegetTrack_type()The type of the track being subscribed (e.g., video, screenshare). final ProtoAdapter<SubscribeOption>adapter()final ByteStringunknownFields()VoidnewBuilder()Booleanequals(Object other)IntegerhashCode()StringtoString()final SubscribeOptioncopy(TrackType track_type, List<Codec> codecs, ByteString unknownFields)-
-
Method Detail
-
getTrack_type
final TrackType getTrack_type()
The type of the track being subscribed (e.g., video, screenshare).
-
adapter
final ProtoAdapter<SubscribeOption> adapter()
-
unknownFields
final ByteString unknownFields()
-
newBuilder
@Deprecated(message = Shouldn't be used in Kotlin, level = DeprecationLevel.HIDDEN) Void newBuilder()
-
copy
final SubscribeOption copy(TrackType track_type, List<Codec> codecs, ByteString unknownFields)
-
-
-
-