Language

WifiSsid.FromBytes(Byte[]) Method

Definition

Create a WifiSsid from the raw bytes.

[Android.Runtime.Register("fromBytes", "([B)Landroid/net/wifi/WifiSsid;", "", ApiSince=33)]
public static Android.Net.Wifi.WifiSsid FromBytes(byte[]? bytes);
[<Android.Runtime.Register("fromBytes", "([B)Landroid/net/wifi/WifiSsid;", "", ApiSince=33)>]
static member FromBytes : byte[] -> Android.Net.Wifi.WifiSsid

Parameters

bytes
Byte[]

The raw SSID bytes, or null to create an SSID with no bytes.

Returns

A new SSID object containing the supplied bytes. For a null input, the object contains an empty byte sequence.

Attributes

Remarks

Create a WifiSsid from the raw bytes. If the byte array is null, return an empty WifiSsid object which will return an empty byte array and empty text.

Java documentation for android.net.wifi.WifiSsid.fromBytes(byte[]).

Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to