ObserveStreetNameUseCase

class ObserveStreetNameUseCase(locationRepository: LocationRepository)

Use Case that observes LocationMatcherResults and extracts Road information. It returns StreetName.Available with a Road object that contains at least one RoadComponent. Otherwise, it returns StreetName.None.

Constructors

Link copied to clipboard
constructor(locationRepository: LocationRepository)

Types

Link copied to clipboard
object Companion

Functions

Link copied to clipboard
operator fun invoke(): Flow<StreetName>