requestLocalizationTargets
Requests detailed information about specific localization targets....
Declaration
func requestLocalizationTargets(identifiers targetIdentifiers: [String], timeout: TimeInterval = 60.0, pollingInterval: TimeInterval = 0.5) async throws -> LocalizationTargetResult
Requests detailed information about specific localization targets.
Starts a network request for the given target identifiers and suspends
until the request completes successfully, fails, or times out.
- Parameters:
- targetIdentifiers: A list of localization target identifiers to query.
- timeout: Maximum time to wait for completion. Default is 60 seconds.
- pollingInterval: Interval between completion checks. Default is 0.5 seconds.
- Returns: A
LocalizationTargetResultcontaining target details.- Throws:
-
CancellationErrorif the Task running this function was cancelled.-
TimeoutErrorif the function timed out before it could complete execution.-
VpsCoverageResult.Errorif there was an error specific to the VPS Coveragequery.