DefaultNetworkPolicy

public enum DefaultNetworkPolicy

DefaultNetworkPolicy of the operation

  • offline operations do not make network calls.

    Specificy offline if you only want to leverage CoreML local procession.

    Important

    Some functionality isn’t available in CoreML. Invoking offline in these cases will result in an error.

    Declaration

    Swift

    case offline
  • online operations only invoke network requests to the applicable services.

    Declaration

    Swift

    case online
  • auto operations make use of online and offline calls.

    Declaration

    Swift

    case auto