public class SetMediaVolumeCommandParams
extends OCastCommandParams
Represents the parameters of a volume
command.
Constructor and Description |
---|
SetMediaVolumeCommandParams(double volume)
Creates an instance of
class SetMediaVolumeCommandParams . |
Modifier and Type | Method and Description |
---|---|
double |
getVolume()
The media volume,
|
build, getName, options
public SetMediaVolumeCommandParams(double volume)
Creates an instance of class SetMediaVolumeCommandParams
.
volume
- The media volume, ranging from 0.0 to 1.0.class SetMediaVolumeCommandParams