network Restriction
open fun networkRestriction(networkRestriction: NetworkRestriction): TileRegionLoadOptions.Builder
Content copied to clipboard
Controls which networks may be used to load the tile. By default, all networks are allowed. However, in some situations, it's useful to limit the kind of networks that are allowed, e.g. to ensure that data is only transferred over a connection that doesn't incur cost to the user, like a WiFi connection, and prohibit data transfer over expensive connections like cellular.