Method

FoundryContextnetwork_allowed

Declaration [src]

gboolean
foundry_context_network_allowed (
  FoundryContext* self
)

Description [src]

Checks if network is currently allowed.

This checks if data is allowed on metered connections and if the current network connection is metered.

Return value

Type: gboolean

TRUE if network is allowed.