toCmafWriteHLSManifest method

CmafWriteHLSManifest toCmafWriteHLSManifest()

Implementation

CmafWriteHLSManifest toCmafWriteHLSManifest() {
  switch (this) {
    case 'DISABLED':
      return CmafWriteHLSManifest.disabled;
    case 'ENABLED':
      return CmafWriteHLSManifest.enabled;
  }
  throw Exception('$this is not known in enum CmafWriteHLSManifest');
}