MediaSource constructor

MediaSource(
  1. {required String uniqueKey,
  2. required String sourceName,
  3. required String description,
  4. required MediaType mediaType,
  5. required IconData icon,
  6. required bool implementsSearch,
  7. required bool implementsHistory,
  8. bool overridesAutoImage = false,
  9. bool overridesAutoAudio = false}
)

Initialise a media source.

Implementation

MediaSource({
  required this.uniqueKey,
  required this.sourceName,
  required this.description,
  required this.mediaType,
  required this.icon,
  required this.implementsSearch,
  required this.implementsHistory,
  this.overridesAutoImage = false,
  this.overridesAutoAudio = false,
});