/**@class android.net.NetworkRequest implements android.os.Parcelable @extends java.lang.Object Defines a request for a network, made through {@link android.net.NetworkRequest.Builder} and used to request a network via {@link android.net.ConnectivityManager#requestNetwork} or listen for changes via {@link android.net.ConnectivityManager#registerNetworkCallback}. */ var NetworkRequest = { /** The {@link android.net.NetworkCapabilities} that define this request. @hide */ networkCapabilities : "null", /** 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. @hide */ requestId : "null", /** Set for legacy requests and the default. Set to TYPE_NONE for none. Causes CONNECTIVITY_ACTION broadcasts to be sent. @hide */ legacyType : "null", /** The type of the request. This is only used by the system and is always NONE elsewhere. @hide */ type : "null", /***/ CREATOR : "null", /** */ describeContents : function( ) {}, /** */ writeToParcel : function( ) {}, /**Returns true iff. this NetworkRequest is of type LISTEN. @hide */ isListen : function( ) {}, /**Returns true iff. the contained NetworkRequest is one that: - should be associated with at most one satisfying network at a time; - should cause a network to be kept up, but not necessarily in the foreground, if it is the best network which can satisfy the NetworkRequest. For full detail of how isRequest() is used for pairing Networks with NetworkRequests read rematchNetworkAndRequests(). @hide */ isRequest : function( ) {}, /**Returns true iff. the contained NetworkRequest is one that: - should be associated with at most one satisfying network at a time; - should cause a network to be kept up and in the foreground if it is the best network which can satisfy the NetworkRequest. For full detail of how isRequest() is used for pairing Networks with NetworkRequests read rematchNetworkAndRequests(). @hide */ isForegroundRequest : function( ) {}, /**Returns true iff. this NetworkRequest is of type BACKGROUND_REQUEST. @hide */ isBackgroundRequest : function( ) {}, /** @see Builder#addCapability(int) */ hasCapability : function( ) {}, /** @see Builder#addUnwantedCapability(int) @hide */ hasUnwantedCapability : function( ) {}, /** @see Builder#addTransportType(int) */ hasTransport : function( ) {}, /** */ toString : function( ) {}, /** @hide */ writeToProto : function( ) {}, /** */ equals : function( ) {}, /** */ hashCode : function( ) {}, };