TechnologiesNetworking & Connectivity

WirelessInsights

iOSmacOStvOSwatchOSvisionOS

WirelessInsights delivers predictions of anticipated cellular network availability, letting your app act ahead of changes in connectivity. Use ServicePredictionProvider to request forecasts and receive ServicePrediction values that describe expected service conditions, handling failures through ServicePredictionError. With these predictions, you can defer or prefetch network work before connectivity degrades on iOS, tvOS, watchOS, and visionOS.

Requesting Predictions 1

Request forecasts of upcoming cellular network availability for your app.

  • Cl
    ServicePredictionProvider
    A class that provices cellular service predictions about upcoming events and anomalies.

Prediction Results 1

Inspect the forecasted service conditions returned by a provider.

  • St
    ServicePrediction
    An individual prediction of anticipated cellular network availability.

Handling Errors 1

Respond to failures that occur while requesting predictions.

  • En
    ServicePredictionError
    A type that represents errors encountered while using the WirelessInsights framework.
← Networking & Connectivity