Files
VR-WuKong/Packages/PICO Unity Integration SDK-3.3.2-20251111/Enterprise/Scripts/Model/WifiConfiguration.cs
2025-11-13 17:40:28 +08:00

26 lines
706 B
C#

namespace Unity.XR.PICO.TOBSupport
{
public class WifiConfiguration
{
public WifiConfiguration(string ssid, string password, bool isClient=true)
{
this.ssid = ssid;
this.password = password;
this.isClient = isClient;
}
public WifiConfiguration()
{
this.ssid = "";
this.password = "";
this.isClient = true;
}
public override string ToString()
{
return $"{nameof(ssid)}: {ssid}, {nameof(password)}: {password}, {nameof(isClient)}: {isClient}";
}
public string ssid;
public string password;
public bool isClient;
}
}