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, options
public PlayMediaCommandParams(double position)
Creates an instance of class PlayMediaCommandParams
.
position
- The starting position of the media, in seconds.class PlayMediaCommandParams
public PlayMediaCommandParams()
Creates an instance of class PlayMediaCommandParams
.
class PlayMediaCommandParams