Contents

init(_:)

Creates an SSID from raw binary data.

Declaration

init?(_ ssid: Data)

Parameters

  • ssid:

    The raw binary data representing the SSID, between 1 and 32 bytes in length.

Return Value

A new SSID, or nilif the data length is invalid.

Discussion

Use this initializer when working with SSID data received from Wi-Fi enabled accessories. Valid SSIDs conform to Wi-Fi standard length requirements.

See Also

Working with raw SSID data