TelephonyNetworkSpecifier


public final class TelephonyNetworkSpecifier
extends NetworkSpecifier implements Parcelable

java.lang.Object
   ↳ android.net.NetworkSpecifier
     ↳ android.net.TelephonyNetworkSpecifier


NetworkSpecifier object for cellular network request. Apps should use the TelephonyNetworkSpecifier.Builder class to create an instance.

Summary

Nested classes

class TelephonyNetworkSpecifier.Builder

Builder to create TelephonyNetworkSpecifier object. 

Inherited constants

Fields

public static final Creator<TelephonyNetworkSpecifier> CREATOR

Public methods

int describeContents()

Describe the kinds of special objects contained in this Parcelable instance's marshaled representation.

boolean equals(Object obj)

Indicates whether some other object is "equal to" this one.

int getSubscriptionId()

Return the subscription Id of current TelephonyNetworkSpecifier object.

int hashCode()

Returns a hash code value for the object.

String toString()

Returns a string representation of the object.

void writeToParcel(Parcel dest, int flags)

Flatten this object in to a Parcel.