retrieve

abstract fun retrieve(): Flow<CartographicBoundary>

Retrieves a stream (Flow) of all CartographicBoundary objects from the data source. This Flow will emit updates whenever a new cartographic boundary is created or an existing one is updated.

Return

a Flow of CartographicBoundary objects.


abstract fun retrieve(region: Region): Flow<CartographicBoundary?>

Retrieves a stream (Flow) of CartographicBoundary objects associated with a specific Region. The Flow might emit null if no cartographic boundary is found for the provided region.

Return

a Flow of CartographicBoundary objects (nullable).

Parameters

region

the Region used to filter the boundaries.