THEOliveConfiguration
public struct THEOliveConfiguration
Configuration for THEOlive
-
An id used to report usage analytics. If not explicitly given, a random UUID is used.
Declaration
Swift
public let externalSessionId: String? -
A discovery URL that is tried before the built-in discovery URLs. Takes precedence over
discoveryUrls.The API version is derived from the URL: a URL that contains
/v3/is V3, a URL that contains/v2/distributions/is V2, and any other URL is V1.Declaration
Swift
public let discoveryUrl: String? -
A list of discovery URLs that are tried in order, after
discoveryUrland before the built-in discovery URLs.Declaration
Swift
public let discoveryUrls: [String] -
Create a new instance of THEOliveConfiguration that can be used with THEOliveIntegrationFactory.create()
Declaration
Swift
public init(externalSessionId: String?, discoveryUrl: String? = nil, discoveryUrls: [String] = [])Parameters
externalSessionIdAn id used to report usage analytics. If not explicitly given, a random UUID is used.
discoveryUrlAn optional custom discovery endpoint URL for THEOlive, defaults to nil. Takes precedence over
discoveryUrlsif defined.discoveryUrlsAn optional custom discovery endpoint URL list for THEOlive, defaults to [].