Skip to main content
API Reference SwiftyNsdk NsdkVpsCoverageSession

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

Summary

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 LocalizationTargetResult containing target details.
- Throws:
- CancellationError if the Task running this function was cancelled.
- TimeoutError if the function timed out before it could complete execution.
- VpsCoverageResult.Error if there was an error specific to the VPS Coverage
query.


ON THIS PAGE