Fix bssid might be null

This commit is contained in:
Mygod
2021-07-24 22:50:01 -04:00
parent c7d53db7e3
commit 9652804f9a
2 changed files with 10 additions and 6 deletions

View File

@@ -30,7 +30,7 @@ value class SoftApInfo(val inner: Parcelable) {
val frequency get() = getFrequency(inner) as Int
val bandwidth get() = getBandwidth(inner) as Int
@get:RequiresApi(31)
val bssid get() = getBssid(inner) as MacAddress
val bssid get() = getBssid(inner) as MacAddress?
@get:RequiresApi(31)
val wifiStandard get() = getWifiStandard(inner) as Int
@get:RequiresApi(31)