Wednesday, May 1, 2013

NSURLRequest NSURLNetworkServiceTypeVoIP example ios


enum
{
   NSURLNetworkServiceTypeDefault    = 0,
   NSURLNetworkServiceTypeVoIP       = 1,
   NSURLNetworkServiceTypeVideo      = 2,
   NSURLNetworkServiceTypeBackground = 3,
   NSURLNetworkServiceTypeVoice      = 4
};
typedef NSUInteger NSURLRequestNetworkServiceType;

NSURLNetworkServiceTypeVoIP
Specifies that the request is for VoIP traffic.
Example of [NSURLRequest NSURLNetworkServiceTypeVoIP]
[request setNetworkServiceType:NSURLNetworkServiceTypeVoIP];