toHlsDirectoryStructure method

HlsDirectoryStructure toHlsDirectoryStructure()

Implementation

HlsDirectoryStructure toHlsDirectoryStructure() {
  switch (this) {
    case 'SINGLE_DIRECTORY':
      return HlsDirectoryStructure.singleDirectory;
    case 'SUBDIRECTORY_PER_STREAM':
      return HlsDirectoryStructure.subdirectoryPerStream;
  }
  throw Exception('$this is not known in enum HlsDirectoryStructure');
}