NetworkConnectivityConfiguration

class NetworkConnectivityConfiguration(val regionAgeForMeteredConnections: Duration)

Configuration of the network connectivity for the NdsStoreUpdaterConfiguration.

Constructors

Link copied to clipboard
constructor(isMeteredAllowed: Boolean)

Constructs a NetworkConnectivityConfiguration with the specified parameters.

constructor(regionAgeForMeteredConnections: Duration)

Types

Link copied to clipboard
@RestrictToExtendedFlavor(value = [ExternalScope.LIBRARY_GROUP])
object Companion

Properties

Link copied to clipboard
Link copied to clipboard

Specifies an age after which the region will be updated on metered connections. The age is calculated from the time the data in the update region is created. When your platform cannot distinguish between metered and unmetered connections, there is the setting NdsStoreAutomaticUpdatesConfiguration.minRegionAgeForUpdate, which can postpone updates based on region age irrespective of the connected network type (metered/unmetered).

Functions

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String