public class SetMediaTrackCommandParams
extends OCastCommandParams
Represents the parameters of a track
command.
Constructor and Description |
---|
SetMediaTrackCommandParams(SetMediaTrackCommandParams.Type type,
java.lang.String trackID,
boolean isEnabled)
Creates an instance of
class SetMediaTrackCommandParams . |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getTrackID()
The track identifier.
|
SetMediaTrackCommandParams.Type |
getType()
The track type.
|
boolean |
isEnabled()
Indicates if the track is enabled or not.
|
build, getName, options
public SetMediaTrackCommandParams(@NotNull SetMediaTrackCommandParams.Type type, @NotNull java.lang.String trackID, boolean isEnabled)
Creates an instance of class SetMediaTrackCommandParams
.
type
- The track type.trackID
- The track identifier.isEnabled
- Indicates if the track is enabled or not.class SetMediaTrackCommandParams
@NotNull public SetMediaTrackCommandParams.Type getType()
The track type.
@NotNull public java.lang.String getTrackID()
The track identifier.
public boolean isEnabled()
Indicates if the track is enabled or not.