Added in API level 29

TransportInfo


public interface TransportInfo

android.net.TransportInfo
WifiAwareNetworkInfo Wi-Fi Aware-specific network information. 
WifiInfo Describes the state of any Wi-Fi connection that is active or is in the process of being set up. 


A container for transport-specific capabilities which is returned by NetworkCapabilities.getTransportInfo(). Specific networks may provide concrete implementations of this interface.