MBXNetworkRestriction.h 567 B

123456789101112131415
  1. // This file is generated and will be overwritten automatically.
  2. #import <Foundation/Foundation.h>
  3. /** Classify network types based on cost. */
  4. // NOLINTNEXTLINE(modernize-use-using)
  5. typedef NS_ENUM(NSInteger, MBXNetworkRestriction)
  6. {
  7. /** Allow access to all network types. */
  8. MBXNetworkRestrictionNone = 0,
  9. /** Forbid network access to expensive networks, such as cellular. */
  10. MBXNetworkRestrictionDisallowExpensive = 1,
  11. /** Forbid access to all network types. */
  12. MBXNetworkRestrictionDisallowAll = 255
  13. } NS_SWIFT_NAME(NetworkRestriction);