getMacAddress

@RequiresPermission(allOf = ["android.permission.ACCESS_WIFI_STATE", "android.permission.INTERNET"])
fun getMacAddress(context: Context): String
@RequiresPermission(allOf = ["android.permission.ACCESS_WIFI_STATE", "android.permission.INTERNET"])
fun getMacAddress(context: Context, vararg excepts: String): String

Return the MAC address.

Must hold <uses-permission android:name="android.permission.ACCESS_WIFI_STATE" />, <uses-permission android:name="android.permission.INTERNET" />

Return

the MAC address