One Logo Pool Ball
WiFiAware · IOS API REFERENCE

WAPerformanceForecast

struct · iOS 27.0+ · SDK 27.1

struct WAPerformanceForecast

The performance forecast for a connection setup to the remote device.

Members (8)

get · iOS 27.0+

localTimestamp

TypeScript
get localTimestamp(): SDKHandle
Swift declaration
let localTimestamp: ContinuousClock.Instant

The time the forecast was generated, using a local monotonically increasing clock.

get · iOS 27.0+

signalStrength

TypeScript
get signalStrength(): (number) | null
Swift declaration
let signalStrength: Double?

The estimated signal strength of the remote device. The resulting value can be between `0.0` (weakest) and `1.0` (strongest), or it can be `nil` if the system can't measure the value.

get · iOS 27.0+

localThroughputCeiling

TypeScript
get localThroughputCeiling(): (number) | null
Swift declaration
let localThroughputCeiling: Double?

The highest throughput a connection from the local device to the remote device is capable of under ideal conditions, given the hardware capabilities of the local device. The actual throughput achieved can be lower in the presence of other active connections. The result is in `Mbps` and can be `nil` if the system can't calculate it.

get · iOS 27.0+

localThroughputCapacity

TypeScript
get localThroughputCapacity(): (number) | null
Swift declaration
let localThroughputCapacity: Double?

The estimated average throughput capacity of the local device for a connection setup to the remote device. The result is in `Mbps` and can be `nil` if the system can't calculate the capacity.

get · iOS 27.0+

localThroughputCapacityRatio

TypeScript
get localThroughputCapacityRatio(): (number) | null
Swift declaration
let localThroughputCapacityRatio: Double?

The estimated normalized ratio of the local throughput capacity and the local throughput ceiling. This ratio reflects the estimated throughput capability for a connection setup to the remote device as a value between `0.0` and `1.0`.

get · iOS 27.0+

unavailabilityLatencyCeiling

TypeScript
get unavailabilityLatencyCeiling(): (SDKHandle) | null
Swift declaration
let unavailabilityLatencyCeiling: Duration?

The highest forecasted packet latency due to this device's unavailability. This only considers the latency caused by time periods where this local device is not able to communicate to the other device via Wi-Fi Aware. Additional latency can be caused by channel or RF conditions.

get · iOS 27.0+

localInfrastructureThroughputCapacityRatio

TypeScript
get localInfrastructureThroughputCapacityRatio(): (number) | null
Swift declaration
let localInfrastructureThroughputCapacityRatio: Double?

The estimated normalized ratio of the local Wi-Fi Infrastructure throughput capacity and the local Wi-Fi Infrastructure throughput ceiling, if a Wi-Fi Aware connection is setup to the remote device. This ratio reflects the estimated throughput capability for a connection setup to the remote device as a value between `0.0` and `1.0`.

get · iOS 27.0+

timestamp

TypeScript
get timestamp(): globalThis.Date
Swift declaration
let timestamp: Date

The time the forecast was generated.

Skipped declarations

No declarations were skipped in this snapshot.

All WiFiAware types →