THEOplayerConfig constructor

THEOplayerConfig({
  1. String? license,
  2. String? licenseUrl,
  3. AndroidConfig? androidConfiguration,
  4. FullscreenConfig? fullscreenConfiguration,
  5. TheoLiveConfiguration? theolive,
  6. WebConfig? webConfiguration,
  7. bool? hlsDateRange,
})

Implementation

THEOplayerConfig(
    {String? license,
    String? licenseUrl,
    AndroidConfig? androidConfiguration,
    FullscreenConfig? fullscreenConfiguration,
    TheoLiveConfiguration? theolive,
    WebConfig? webConfiguration,
    bool? hlsDateRange}) {
  _license = license;
  _licenseUrl = licenseUrl;
  _hlsDateRange = hlsDateRange;
  if (androidConfiguration != null) {
    _androidConfig = androidConfiguration;
  }
  if (fullscreenConfiguration != null) {
    _fullscreenConfig = fullscreenConfiguration;
  }
  if (theolive != null) {
    _theoLive = theolive;
  }

  if (webConfiguration != null) {
    _webConfig = webConfiguration;
  }
}