Hierarchy

  • SourcesService

Index

Accessors

sourceAdded

sourceRemoved

sourceUpdated

Methods

addFile

  • addFile(path: string): Source
  • creates a source from a file source type depends on the file extension

    Parameters

    • path: string

    Returns Source

createSource

getAvailableSourcesTypesList

  • getAvailableSourcesTypesList(): IObsListOption<TSourceType>[]

getSource

  • getSource(sourceId: string): Source

getSources

getSourcesByName

  • getSourcesByName(name: string): Source[]

removeSource

  • removeSource(id: string): void

showAddSource

  • showAddSource(sourceType: TSourceType): void

showShowcase

  • showShowcase(): void

showSourceProperties

  • showSourceProperties(sourceId: string): void