public class VideoStreamingParameters extends Object
| Constructor and Description |
|---|
VideoStreamingParameters() |
VideoStreamingParameters(int displayDensity,
int frameRate,
int bitrate,
int interval,
ImageResolution resolution,
VideoStreamingFormat format)
Deprecated.
|
VideoStreamingParameters(int displayDensity,
int frameRate,
int bitrate,
int interval,
ImageResolution resolution,
VideoStreamingFormat format,
boolean stableFrameRate)
new constructor of VideoStreamingParameters, which now has stableFrameRate param.
|
VideoStreamingParameters(VideoStreamingParameters params)
Will only copy values that are not null or are greater than 0
|
| Modifier and Type | Method and Description |
|---|---|
int |
getBitrate() |
int |
getDisplayDensity() |
VideoStreamingFormat |
getFormat() |
int |
getFrameRate() |
int |
getInterval() |
double |
getPreferredDiagonal() |
ImageResolution |
getResolution() |
double |
getScale() |
boolean |
isStableFrameRate() |
void |
setBitrate(int bitrate) |
void |
setDisplayDensity(int displayDensity) |
void |
setFormat(VideoStreamingFormat format) |
void |
setFrameRate(int frameRate) |
void |
setInterval(int interval) |
void |
setResolution(ImageResolution resolution) |
void |
setStableFrameRate(boolean isStable) |
String |
toString() |
void |
update(VideoStreamingCapability capability,
String vehicleMake)
Update the values contained in the capability that should have been returned through the SystemCapabilityManager.
|
void |
update(VideoStreamingParameters params)
Will only copy values that are not null or are greater than 0
|
public VideoStreamingParameters()
@Deprecated public VideoStreamingParameters(int displayDensity, int frameRate, int bitrate, int interval, ImageResolution resolution, VideoStreamingFormat format)
displayDensity - frameRate - bitrate - interval - resolution - format - public VideoStreamingParameters(int displayDensity,
int frameRate,
int bitrate,
int interval,
ImageResolution resolution,
VideoStreamingFormat format,
boolean stableFrameRate)
displayDensity - frameRate - bitrate - interval - resolution - format - stableFrameRate - public VideoStreamingParameters(VideoStreamingParameters params)
params - VideoStreamingParameters that should be copied into this new instantspublic void update(VideoStreamingParameters params)
params - VideoStreamingParameters that should be copied into this new instantspublic void update(VideoStreamingCapability capability, String vehicleMake)
capability - the video streaming capability returned from the SystemCapabilityManagervehicleMake - the vehicle make from the RegisterAppInterfaceResponseSystemCapabilityManager,
VideoStreamingCapabilitypublic void setDisplayDensity(int displayDensity)
public int getDisplayDensity()
public void setFrameRate(int frameRate)
public int getFrameRate()
public void setBitrate(int bitrate)
public int getBitrate()
public void setInterval(int interval)
public int getInterval()
public void setFormat(VideoStreamingFormat format)
public VideoStreamingFormat getFormat()
public void setResolution(ImageResolution resolution)
public ImageResolution getResolution()
public boolean isStableFrameRate()
public void setStableFrameRate(boolean isStable)
public double getScale()
public double getPreferredDiagonal()