Class NSURLRequestNetworkServiceType


  • public final class NSURLRequestNetworkServiceType
    extends java.lang.Object
    [@enum] NSURLRequestNetworkServiceType 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.
    • Field Summary

      Fields 
      Modifier and Type Field 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
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait