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 API-Since: 7.0
      static long Background
      Background traffic
      static long CallSignaling
      Call Signaling API-Since: 10.0
      static long Default
      Standard internet traffic
      static long ResponsiveAV
      Responsive Multimedia Audio/Video API-Since: 7.0
      static long ResponsiveData
      Responsive data
      static long Video
      Video traffic
      static long Voice
      Voice data
      static long VoIP
      Deprecated.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • VoIP

        @Deprecated
        public static final long VoIP
        Deprecated.
        Voice over IP control traffic API-Since: 4.0 Deprecated-Since: 13.0 Deprecated-Message: Use PushKit for VoIP control purposes
        See Also:
        Constant Field Values
      • CallSignaling

        public static final long CallSignaling
        Call Signaling API-Since: 10.0
        See Also:
        Constant Field Values
      • ResponsiveData

        public static final long ResponsiveData
        Responsive data
        See Also:
        Constant Field Values
      • AVStreaming

        public static final long AVStreaming
        Multimedia Audio/Video Streaming API-Since: 7.0
        See Also:
        Constant Field Values
      • ResponsiveAV

        public static final long ResponsiveAV
        Responsive Multimedia Audio/Video API-Since: 7.0
        See Also:
        Constant Field Values