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
Documentation
VideoStreamingCapability

VideoStreamingCapability Class Reference

Constructors

Instance Methods

Constructors

new VideoStreamingCapability(parameters)

Initalizes an instance of VideoStreamingCapability.

Instance Methods

videoStreamingCapability.getDiagonalScreenSize() ⇒ Number

Get the DiagonalScreenSize

Kind: Instance method of VideoStreamingCapability
Returns: Number - the KEY_DIAGONAL_SCREEN_SIZE value

videoStreamingCapability.getHapticSpatialDataSupported() ⇒ Boolean

Get the HapticSpatialDataSupported

Kind: Instance method of VideoStreamingCapability
Returns: Boolean - the KEY_HAPTIC_SPATIAL_DATA_SUPPORTED value

videoStreamingCapability.getMaxBitrate() ⇒ Number

Get the MaxBitrate

Kind: Instance method of VideoStreamingCapability
Returns: Number - the KEY_MAX_BITRATE value

videoStreamingCapability.getPixelPerInch() ⇒ Number

Get the PixelPerInch

Kind: Instance method of VideoStreamingCapability
Returns: Number - the KEY_PIXEL_PER_INCH value

videoStreamingCapability.getPreferredResolution() ⇒ ImageResolution

Get the PreferredResolution

Kind: Instance method of VideoStreamingCapability
Returns: ImageResolution - the KEY_PREFERRED_RESOLUTION value

videoStreamingCapability.getScale() ⇒ Number

Get the Scale

Kind: Instance method of VideoStreamingCapability
Returns: Number - the KEY_SCALE value

videoStreamingCapability.getSupportedFormats() ⇒ Array.<VideoStreamingFormat>

Get the SupportedFormats

Kind: Instance method of VideoStreamingCapability
Returns: Array.<VideoStreamingFormat> - the KEY_SUPPORTED_FORMATS value

videoStreamingCapability.setDiagonalScreenSize(size) ⇒ VideoStreamingCapability

Set the DiagonalScreenSize

Kind: Instance method of VideoStreamingCapability
Returns: VideoStreamingCapability - The class instance for method chaining.

ParamTypeDescription
size Number The diagonal screen size in inches. - The desired DiagonalScreenSize. {'num_min_value': 0.0}

videoStreamingCapability.setHapticSpatialDataSupported(supported) ⇒ VideoStreamingCapability

Set the HapticSpatialDataSupported

Kind: Instance method of VideoStreamingCapability
Returns: VideoStreamingCapability - The class instance for method chaining.

ParamTypeDescription
supported Boolean True if the system can utilize the haptic spatial data from the source being streamed. If not included, it can be assumed the module doesn't support haptic spatial data'. - The desired HapticSpatialDataSupported.

videoStreamingCapability.setMaxBitrate(bitrate) ⇒ VideoStreamingCapability

Set the MaxBitrate

Kind: Instance method of VideoStreamingCapability
Returns: VideoStreamingCapability - The class instance for method chaining.

ParamTypeDescription
bitrate Number The maximum bitrate of video stream that is supported, in kbps. - The desired MaxBitrate. {'num_min_value': 0, 'num_max_value': 2147483647}

videoStreamingCapability.setPixelPerInch(inch) ⇒ VideoStreamingCapability

Set the PixelPerInch

Kind: Instance method of VideoStreamingCapability
Returns: VideoStreamingCapability - The class instance for method chaining.

ParamTypeDescription
inch Number PPI is the diagonal resolution in pixels divided by the diagonal screen size in inches. - The desired PixelPerInch. {'num_min_value': 0.0}

videoStreamingCapability.setPreferredResolution(resolution) ⇒ VideoStreamingCapability

Set the PreferredResolution

Kind: Instance method of VideoStreamingCapability
Returns: VideoStreamingCapability - The class instance for method chaining.

ParamTypeDescription
resolution ImageResolution The preferred resolution of a video stream for decoding and rendering on HMI. - The desired PreferredResolution.

videoStreamingCapability.setScale(scale) ⇒ VideoStreamingCapability

Set the Scale

Kind: Instance method of VideoStreamingCapability
Returns: VideoStreamingCapability - The class instance for method chaining.

ParamTypeDescription
scale Number The scaling factor the app should use to change the size of the projecting view. - The desired Scale. {'num_min_value': 1.0, 'num_max_value': 10.0}

videoStreamingCapability.setSupportedFormats(formats) ⇒ VideoStreamingCapability

Set the SupportedFormats

Kind: Instance method of VideoStreamingCapability
Returns: VideoStreamingCapability - The class instance for method chaining.

ParamTypeDescription
formats Array.<VideoStreamingFormat> Detailed information on each format supported by this system, in its preferred order (i.e. the first element in the array is most preferable to the system). Each object will contain a VideoStreamingFormat that describes what can be expected. - The desired SupportedFormats.
View on GitHub.com
Previous Section Next Section