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
iOS Documentation
SDLVideoStreamingFormat

SDLVideoStreamingFormat Class Reference

Section Contents

Overview

An available format for video streaming in projection applications

protocol

Protocol type, see VideoStreamingProtocol

Required

Objective-C

@property (nonatomic, strong) SDLVideoStreamingProtocol _Nonnull protocol;

Swift

var `protocol`: SDLVideoStreamingProtocol { get set }

codec

Codec type, see VideoStreamingCodec

Required

Objective-C

@property (nonatomic, strong) SDLVideoStreamingCodec _Nonnull codec;

Swift

var codec: SDLVideoStreamingCodec { get set }

-initWithCodec:protocol:

Convenience init

Objective-C

- (nonnull instancetype)initWithCodec:(nonnull SDLVideoStreamingCodec)codec
                             protocol:
                                 (nonnull SDLVideoStreamingProtocol)protocol;

Swift

init(codec: SDLVideoStreamingCodec, protocol: SDLVideoStreamingProtocol)

Parameters

codec

Codec type, see VideoStreamingCodec

protocol

Protocol type, see VideoStreamingProtocol

Return Value

An SDLVideoStreamingFormat object

View on GitHub.com
Previous Section Next Section