Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Internet Explorer alert
This browser is not recommended for use with smartdevicelink.com, and may not function properly. Upgrade to a different browser to guarantee support of all features.
close alert
To Top Created with Sketch. To Top
To Bottom Created with Sketch. To Bottom
Android Documentation
VideoStreamingParameters

Class VideoStreamingParameters

Hierarchy

java.lang.Object

Package
com.smartdevicelink.streaming.video

Constructors

VideoStreamingParameters()

public VideoStreamingParameters()

VideoStreamingParameters( int displayDensity, int frameRate, int bitrate, int interval, ImageResolution resolution, VideoStreamingFormat format )

deprecated constructor of VideoStreamingParameters. This constructor will be removed in the future version.

public VideoStreamingParameters(int displayDensity,int frameRate,int bitrate,int interval,ImageResolution resolution,VideoStreamingFormat format)

Constructor Parameters

displayDensity
frameRate
bitrate
interval
resolution
format

VideoStreamingParameters( int displayDensity, int frameRate, int bitrate, int interval, ImageResolution resolution, VideoStreamingFormat format, boolean stableFrameRate )

new constructor of VideoStreamingParameters, which now has stableFrameRate param.

public VideoStreamingParameters(int displayDensity,int frameRate,int bitrate,int interval,ImageResolution resolution,VideoStreamingFormat format,boolean stableFrameRate)

Constructor Parameters

displayDensity
frameRate
bitrate
interval
resolution
format
stableFrameRate

VideoStreamingParameters( VideoStreamingParameters params )

Will only copy values that are not null or are greater than 0

public VideoStreamingParameters(VideoStreamingParameters params)

Constructor Parameters

params
VideoStreamingParameters that should be copied into this new instants

Methods

update( VideoStreamingParameters params )

Will only copy values that are not null or are greater than 0

public void update(VideoStreamingParameters params)

Method Parameters

params
VideoStreamingParameters that should be copied into this new instants

update( VideoStreamingCapability capability, String vehicleMake )

Update the values contained in the capability that should have been returned through the SystemCapabilityManager. This update will use the most preferred streaming format from the module.

public void update(VideoStreamingCapability capability,String vehicleMake)

Method Parameters

capability
the video streaming capability returned from the SystemCapabilityManager
vehicleMake
the vehicle make from the RegisterAppInterfaceResponse

setDisplayDensity( int displayDensity )

public void setDisplayDensity(int displayDensity)

Method Parameters

displayDensity

getDisplayDensity()

public int getDisplayDensity()

setFrameRate( int frameRate )

public void setFrameRate(int frameRate)

Method Parameters

frameRate

getFrameRate()

public int getFrameRate()

setBitrate( int bitrate )

public void setBitrate(int bitrate)

Method Parameters

bitrate

getBitrate()

public int getBitrate()

setInterval( int interval )

public void setInterval(int interval)

Method Parameters

interval

getInterval()

public int getInterval()

setFormat( VideoStreamingFormat format )

public void setFormat(VideoStreamingFormat format)

Method Parameters

format

getFormat()

public com.smartdevicelink.proxy.rpc.VideoStreamingFormat getFormat()

setResolution( ImageResolution resolution )

public void setResolution(ImageResolution resolution)

Method Parameters

resolution

getResolution()

public com.smartdevicelink.proxy.rpc.ImageResolution getResolution()

isStableFrameRate()

public boolean isStableFrameRate()

setStableFrameRate( boolean isStable )

public void setStableFrameRate(boolean isStable)

Method Parameters

isStable

getScale()

public double getScale()

getPreferredDiagonal()

public double getPreferredDiagonal()

toString()

public java.lang.String toString()

Inherited Methods

From Class Methods
java.lang.Object getClass, hashCode, equals, clone, toString, notify, notifyAll, wait, wait, wait, finalize
View on GitHub.com
Previous Section Next Section