NetworkRestriction

Classify network types based on cost.

Entries

Link copied to clipboard

Allow access to all network types.

Link copied to clipboard

Forbid network access to expensive networks, such as cellular.

Link copied to clipboard

Forbid access to all network types.

Functions

Link copied to clipboard
Returns the enum constant of this type with the specified name.
Link copied to clipboard
Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val value: Int