diff options
author | NicoleYarroch <nicole@livio.io> | 2018-11-28 10:07:02 -0500 |
---|---|---|
committer | NicoleYarroch <nicole@livio.io> | 2018-11-28 10:07:02 -0500 |
commit | be4f8508731ab6451183a85f723ae17db4b479b0 (patch) | |
tree | 9518f5427fa205de4c4e837c5fd743123a06e346 /SmartDeviceLink/SDLStreamingMediaManager.h | |
parent | 2636082b76bd08d15d39633863881b4443242722 (diff) | |
download | sdl_ios-be4f8508731ab6451183a85f723ae17db4b479b0.tar.gz |
Updated the streaming media manager inits
Diffstat (limited to 'SmartDeviceLink/SDLStreamingMediaManager.h')
-rw-r--r-- | SmartDeviceLink/SDLStreamingMediaManager.h | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/SmartDeviceLink/SDLStreamingMediaManager.h b/SmartDeviceLink/SDLStreamingMediaManager.h index b11755863..d27791090 100644 --- a/SmartDeviceLink/SDLStreamingMediaManager.h +++ b/SmartDeviceLink/SDLStreamingMediaManager.h @@ -13,7 +13,7 @@ #import "SDLStreamingMediaManagerConstants.h" @class SDLAudioStreamManager; -@class SDLLifecycleConfiguration; +@class SDLConfiguration; @class SDLProtocol; @class SDLStreamingMediaConfiguration; @class SDLTouchManager; @@ -119,17 +119,16 @@ NS_ASSUME_NONNULL_BEGIN @param configuration The configuration of this streaming media session @return A new streaming manager */ -- (instancetype)initWithConnectionManager:(id<SDLConnectionManagerType>)connectionManager configuration:(SDLStreamingMediaConfiguration *)configuration __deprecated_msg("Use initWithConnectionManager:streamingMediaConfiguration:lifecycleConfiguration: instead"); +- (instancetype)initWithConnectionManager:(id<SDLConnectionManagerType>)connectionManager configuration:(SDLStreamingMediaConfiguration *)configuration __deprecated_msg("Use initWithConnectionManager:config: instead"); /** Create a new streaming media manager for navigation and VPM apps with a specified configuration @param connectionManager The pass-through for RPCs - @param streamingMediaConfiguration The configuration of this streaming media session - @param lifecycleConfiguration The lifecycle configuration of the app + @param configuration This session's configuration @return A new streaming manager */ -- (instancetype)initWithConnectionManager:(id<SDLConnectionManagerType>)connectionManager streamingMediaConfiguration:(SDLStreamingMediaConfiguration *)streamingMediaConfiguration lifecycleConfiguration:(SDLLifecycleConfiguration *)lifecycleConfiguration NS_DESIGNATED_INITIALIZER; +- (instancetype)initWithConnectionManager:(id<SDLConnectionManagerType>)connectionManager config:(SDLConfiguration *)configuration; /** * Start the manager with a completion block that will be called when startup completes. This is used internally. To use an SDLStreamingMediaManager, you should use the manager found on `SDLManager`. |