Added in API level 33

InterfaceCreationImpact

open class InterfaceCreationImpact
kotlin.Any
   ↳ android.net.wifi.WifiManager.InterfaceCreationImpact

Class describing an impact of interface creation - returned by reportCreateInterfaceImpact(int,boolean,java.util.concurrent.Executor,java.util.function.BiConsumer). Due to Wi-Fi concurrency limitations certain interfaces may have to be torn down. Each of these interfaces was requested by a set of applications who could potentially be impacted. This class contain the information for a single interface: the interface type with InterfaceCreationImpact#getInterfaceType() and the set of impacted packages with InterfaceCreationImpact#getPackages().

Summary

Public constructors
InterfaceCreationImpact(interfaceType: Int, packages: MutableSet<String!>)

Public methods
open Boolean
equals(other: Any?)

open Int

open MutableSet<String!>

open Int

Public constructors

InterfaceCreationImpact

Added in API level 33
InterfaceCreationImpact(
    interfaceType: Int,
    packages: MutableSet<String!>)
Parameters
interfaceType Int: Value is android.net.wifi.WifiManager#WIFI_INTERFACE_TYPE_STA, android.net.wifi.WifiManager#WIFI_INTERFACE_TYPE_AP, android.net.wifi.WifiManager#WIFI_INTERFACE_TYPE_AWARE, or android.net.wifi.WifiManager#WIFI_INTERFACE_TYPE_DIRECT
packages MutableSet<String!>: This value cannot be null.

Public methods

equals

Added in API level 33
open fun equals(other: Any?): Boolean
Parameters
obj the reference object with which to compare.
Return
Boolean true if this object is the same as the obj argument; false otherwise.

getPackages

Added in API level 33
open fun getPackages(): MutableSet<String!>
Return
MutableSet<String!> The list of potentially impacted packages due to tearing down the interface specified in getInterfaceType(). This value cannot be null.

hashCode

Added in API level 33
open fun hashCode(): Int
Return
Int a hash code value for this object.