Package android.net

Class NetworkRequest

    • Field Detail

      • requestId

        public final int requestId
        Identifies the request. NetworkRequests should only be constructed by the Framework and given out to applications as tokens to be used to identify the request.
      • legacyType

        public final int legacyType
        Set for legacy requests and the default. Set to TYPE_NONE for none. Causes CONNECTIVITY_ACTION broadcasts to be sent.
    • Method Detail

      • equals

        public boolean equals​(@Nullable
                              java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object