listLocations

Return

A LocationListResult containing the list of locations and pagination information

Parameters

parameters

Parameters for listing locations, including pagination options

See also

Lists available locations with pagination support.

Example usage:

try {
val result = terminal.listLocations(
ListLocationsParameters.Builder()
.setLimit(10)
.build()
)
val locations = result.locations
val hasMore = result.hasMore
// Handle successful listing
} catch (e: TerminalException) {
// Handle listing failure
}

Throws

if the listing operation fails