BitmovinCastManagerOptions

@objcMembers
@objc(BMPBitmovinCastManagerOptions)
public final class BitmovinCastManagerOptions : NSObject

The options to be used for initializing BitmovinCastManager

  • ID of receiver application Using nil value will result in using the default application ID

    Declaration

    Swift

    public var applicationId: String?
  • Custom namespace Using nil value will result in using the default message namespace

    Declaration

    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 play and pause when the app is in background.

    Default is false

    Declaration

    Swift

    public var enableBackgroundSessions: Bool
  • Specifies when cast devices discovery starts.

    • Also specifies when the local network access permission prompt will be displayed.

    See

    See CastDeviceDiscoveryMode for possible values.

    Default is .castManagerInitialization

    Declaration

    Swift

    public var deviceDiscoveryMode: CastDeviceDiscoveryMode