Added in API level 26
NetworkSpecifier
abstract class NetworkSpecifier
kotlin.Any | |
↳ | android.net.NetworkSpecifier |
Describes specific properties of a requested network for use in a NetworkRequest
. This as an abstract class. Applications shouldn't instantiate this class by themselves, but can obtain instances of subclasses of this class via other APIs.
Summary
Public constructors | |
---|---|
Create a placeholder object. |
Public constructors
NetworkSpecifier
Added in API level 29
NetworkSpecifier()
Create a placeholder object. Please use subclasses of this class in a NetworkRequest
to request a network.