Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
Sidebar

SDLVideoStreamingCapability Class Reference

Section Contents

Overview

Contains information about this system’s video streaming capabilities

-initWithPreferredResolution:maxBitrate:supportedFormats:hapticDataSupported:

Undocumented

Objective-C

- (instancetype)initWithPreferredResolution:(nullable SDLImageResolution *)preferredResolution maxBitrate:(int32_t)maxBitrate supportedFormats:(nullable NSArray<SDLVideoStreamingFormat *> *)supportedFormats hapticDataSupported:(BOOL)hapticDataSupported;

Swift

init(preferredResolution: SDLImageResolution?, maxBitrate: Int32, supportedFormats: [SDLVideoStreamingFormat]?, hapticDataSupported: Bool)

preferredResolution

The preferred resolution of a video stream for decoding and rendering on HMI

Optional

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    SDLImageResolution *preferredResolution;

Swift

var preferredResolution: SDLImageResolution? { get set }

maxBitrate

The maximum bitrate of video stream that is supported, in kbps, optional

Optional, minvalue= 0, maxvalue= 2147483647

Objective-C

@property (readwrite, strong, nonatomic, nullable) NSNumber<SDLInt> *maxBitrate;

Swift

var maxBitrate: (NSNumber & SDLInt)? { get set }

supportedFormats

Detailed information on each format supported by this system, in its preferred order

Optional

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSArray<SDLVideoStreamingFormat *> *supportedFormats;

Swift

var supportedFormats: [SDLVideoStreamingFormat]? { get set }

hapticSpatialDataSupported

True if the system can utilize the haptic spatial data from the source being streamed.

Optional

Objective-C

@property (readwrite, strong, nonatomic, nullable)
    NSNumber<SDLBool> *hapticSpatialDataSupported;

Swift

var hapticSpatialDataSupported: (NSNumber & SDLBool)? { get set }
View on GitHub.com
Previous Section Next Section