TrackImportUseCase

class TrackImportUseCase @Inject constructor(repository: TrackImportRepository)

Use case responsible for importing a track from a given file Uri.

Constructors

Link copied to clipboard
@Inject
constructor(repository: TrackImportRepository)

Functions

Link copied to clipboard
operator fun invoke(file: Uri): Flow<DataStreamProgress>

Invokes the use case to import a track.