summaryrefslogtreecommitdiff
path: root/SmartDeviceLink/SDLStreamingMediaManager.h
diff options
context:
space:
mode:
authorMuller, Alexander (A.) <amulle19@ford.com>2017-03-16 12:04:15 -0700
committerMuller, Alexander (A.) <amulle19@ford.com>2017-03-16 12:04:15 -0700
commit8b2dc2174cc579832d32f3d28011af595adceab6 (patch)
tree1171883a2e53f3f005e5cb2e7bb1cb81be25939d /SmartDeviceLink/SDLStreamingMediaManager.h
parentb942a12abeffb8eceeb1f8f189a5d96f194efb19 (diff)
downloadsdl_ios-8b2dc2174cc579832d32f3d28011af595adceab6.tar.gz
Adding in support for a customizable screen that is presented when the application is in an unusable state (backgrounded). We are able to customize this screen via SDLLifecycleConfiguration's backgroundTitleString property.
Diffstat (limited to 'SmartDeviceLink/SDLStreamingMediaManager.h')
-rw-r--r--SmartDeviceLink/SDLStreamingMediaManager.h18
1 files changed, 9 insertions, 9 deletions
diff --git a/SmartDeviceLink/SDLStreamingMediaManager.h b/SmartDeviceLink/SDLStreamingMediaManager.h
index f52b362e5..31f32927e 100644
--- a/SmartDeviceLink/SDLStreamingMediaManager.h
+++ b/SmartDeviceLink/SDLStreamingMediaManager.h
@@ -63,6 +63,11 @@ NS_ASSUME_NONNULL_BEGIN
@property (assign, nonatomic, readonly, getter=isVideoStreamingPaused) BOOL videoStreamingPaused;
/**
+ * What to display when a streaming app is backgrounded.
+ */
+@property (copy, nonatomic, readonly) NSString *backgroundTitleString;
+
+/**
* This is the current screen size of a connected display. This will be the size the video encoder uses to encode the raw image data.
*/
@property (assign, nonatomic, readonly) CGSize screenSize;
@@ -83,20 +88,15 @@ NS_ASSUME_NONNULL_BEGIN
@property (assign, nonatomic) SDLStreamingEncryptionFlag requestedEncryptionType;
/**
- * Creates a streaming manager with a default encryption type of SDLStreamingEncryptionFlagAuthenticateAndEncrypt.
- *
- * @return An instance of SDLStreamingMediaManager
- */
-- (instancetype)init;
-
-/**
* Creates a streaming manager with a specified encryption type.
*
- * @param encryption The encryption type requested when starting to stream.
+ * @param encryption The encryption type requested when starting to stream.
+ * @param videoEncoderSettings The video encoder settings to use with SDLVideoEncoder.
+ * @param backgroundTitleString The string to use for the backgrounding frame.
*
* @return An instance of SDLStreamingMediaManager
*/
-- (instancetype)initWithEncryption:(SDLStreamingEncryptionFlag)encryption videoEncoderSettings:(nullable NSDictionary<NSString *, id> *)videoEncoderSettings NS_DESIGNATED_INITIALIZER;
+- (instancetype)initWithEncryption:(SDLStreamingEncryptionFlag)encryption videoEncoderSettings:(nullable NSDictionary<NSString *, id> *)videoEncoderSettings backgroundTitleString:(NSString *)backgroundTitleString NS_DESIGNATED_INITIALIZER;
/**
* 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`.