public class PlayMediaCommandParams
extends OCastCommandParams
Represents the parameters of a play command.
| Constructor and Description |
|---|
PlayMediaCommandParams(double position)
Creates an instance of
class PlayMediaCommandParams. |
PlayMediaCommandParams()
Creates an instance of
class PlayMediaCommandParams. |
| Modifier and Type | Method and Description |
|---|---|
double |
getPosition()
The starting position of the media,
|
build, getName, optionspublic PlayMediaCommandParams(double position)
Creates an instance of class PlayMediaCommandParams.
position - The starting position of the media, in seconds.class PlayMediaCommandParamspublic PlayMediaCommandParams()
Creates an instance of class PlayMediaCommandParams.
class PlayMediaCommandParams