MBXNetworkRestriction
enum MBXNetworkRestriction : NSInteger {}
Classify network types based on cost.
-
Allow access to all network types.
Declaration
Objective-C
MBXNetworkRestrictionNone = 0
-
Forbid network access to expensive networks, such as cellular.
Declaration
Objective-C
MBXNetworkRestrictionDisallowExpensive = 1
-
Forbid access to all network types.
Declaration
Objective-C
MBXNetworkRestrictionDisallowAll = 255