BitmovinCastManagerOptions
@objcMembers
@objc(BMPBitmovinCastManagerOptions)
public final class BitmovinCastManagerOptions : NSObject
The options to be used for initializing BitmovinCastManager
-
ID of receiver application Using
nilvalue will result in using the default application IDDeclaration
Swift
public var applicationId: String? -
Custom namespace Using
nilvalue will result in using the default message namespaceDeclaration
Swift
public var messageNamespace: String? -
Whether sessions should be suspended when the sender application goes into the background
This flag should be used in case the cast session should stay connected to the application when the application moves to background. This enables actions on the active cast session like
playandpausewhen the app is in background.Default is
falseDeclaration
Swift
public var enableBackgroundSessions: Bool -
Specifies when cast devices discovery starts.
- Also specifies when the local network access permission prompt will be displayed.
See
SeeCastDeviceDiscoveryModefor possible values.Default is
.castManagerInitializationDeclaration
Swift
public var deviceDiscoveryMode: CastDeviceDiscoveryMode
BitmovinCastManagerOptions Class Reference