public final class NSURLRequestNetworkServiceType
extends java.lang.Object
The NSURLRequestNetworkServiceType enum defines constants that can be used to specify the service type to associate with this request. The service type is used to provide the networking layers a hint of the purpose of the request.
[@constant] NSURLNetworkServiceTypeDefault Is the default value for an NSURLRequest when created. This value should be left unchanged for the vast majority of requests.
[@constant] NSURLNetworkServiceTypeVoIP Specifies that the request is for voice over IP control traffic.
[@constant] NSURLNetworkServiceTypeVideo Specifies that the request is for video traffic.
[@constant] NSURLNetworkServiceTypeBackground Specifies that the request is for background traffic (such as a file download).
[@constant] NSURLNetworkServiceTypeVoice Specifies that the request is for voice data.
[@constant] NSURLNetworkServiceTypeResponsiveData Specifies that the request is for responsive (time sensitive) data.
[@constant] NSURLNetworkServiceTypeAVStreaming Specifies that the request is streaming audio/video data.
[@constant] NSURLNetworkServiceTypeResponsiveAV Specifies that the request is for responsive (time sensitive) audio/video data.
[@constant] NSURLNetworkServiceTypeCallSignaling Specifies that the request is for call signaling.
| Modifier and Type | Field and Description |
|---|---|
static long |
AVStreaming
Multimedia Audio/Video Streaming
|
static long |
Background
Background traffic
|
static long |
CallSignaling
Call Signaling
|
static long |
Default
Standard internet traffic
|
static long |
ResponsiveAV
Responsive Multimedia Audio/Video
|
static long |
ResponsiveData
Responsive data
|
static long |
Video
Video traffic
|
static long |
Voice
Voice data
|
static long |
VoIP
Voice over IP control traffic
|
public static final long Default
public static final long VoIP
public static final long Video
public static final long Background
public static final long Voice
public static final long CallSignaling
public static final long ResponsiveData
public static final long AVStreaming
public static final long ResponsiveAV