Class of android.net · NetworkRequest.java · Android's reference
public class NetworkRequest implements android.os.Parcelable
What network a request wants.
public boolean hasCapability(int capability) sourcepublic boolean hasTransport(int transportType) sourcepublic int[] getCapabilities() sourcepublic int[] getTransportTypes() sourcepublic int describeContents() sourcepublic void writeToParcel(android.os.Parcel dest, int flags) empty body sourceMade from ScarletNX's Sail at 166ad3910f80. The framework is ScarletNX's (GPL-3.0-or-later); the parts that follow the Android Open Source Project's sources (Apache-2.0) say so in their files.