Resolve candidates and persist only explicitly confirmed destinations.
More...
Resolve candidates and persist only explicitly confirmed destinations.
◆ current()
| SavedDestination | None ui.navigation.destination_setup_request_handler_if.DestinationSetupRequestHandlerIf.current |
( |
| self, |
|
|
str | key ) |
Read a configured destination.
- Parameters
-
- Returns
- Existing destination, or None.
◆ save()
| None ui.navigation.destination_setup_request_handler_if.DestinationSetupRequestHandlerIf.save |
( |
| self, |
|
|
SavedDestination | destination ) |
Persist a destination after user confirmation.
- Parameters
-
| destination | Confirmed address and normalized position. |
◆ search()
| tuple[SavedDestination, ...] ui.navigation.destination_setup_request_handler_if.DestinationSetupRequestHandlerIf.search |
( |
| self, |
|
|
str | key, |
|
|
str | address ) |
Resolve an address using local data without changing configuration.
- Parameters
-
| key | Home or work. |
| address | Address entered by the user. |
- Returns
- Immutable candidates, or an empty tuple.
◆ search_online()
| tuple[SavedDestination, ...] ui.navigation.destination_setup_request_handler_if.DestinationSetupRequestHandlerIf.search_online |
( |
| self, |
|
|
str | key, |
|
|
str | address ) |
Resolve a US address online without saving it.
- Parameters
-
| key | Home or work. |
| address | Address explicitly submitted for setup. |
- Returns
- Candidates requiring map confirmation, or an empty tuple.
The documentation for this class was generated from the following file:
- ui/navigation/destination_setup_request_handler_if.py