URLSessionTaskPriority

public enum URLSessionTaskPriority : Float

An enum that encapsulates the values considered significant by URLSession for defining task priority.

  • low

    low priority (0.1) as defined in URLSessionTask

    Declaration

    Swift

    case low = 0.1
  • normal priority (0.5) as defined in URLSessionTask

    Declaration

    Swift

    case normal = 0.5
  • high priority (1.0) as defined in URLSessionTask

    Declaration

    Swift

    case high = 1.0