ConnectivityOptions

open class ConnectivityOptions(val autoStart: Boolean = DEFAULT_AUTO_START)

The ConnectivityOptions class provides configuration options for the Connectivity instance.

Parameters

autoStart

A Boolean indicating whether the Connectivity instance should automatically start monitoring connectivity status. Defaults to DEFAULT_AUTO_START.

Constructors

Link copied to clipboard
constructor(autoStart: Boolean = DEFAULT_AUTO_START)

Creates a new ConnectivityOptions instance.

Types

Link copied to clipboard
class Builder

The Builder class provides a way to construct a ConnectivityOptions instance using a builder pattern.

Link copied to clipboard
object Companion

The companion object for the ConnectivityOptions class.

Properties

Link copied to clipboard

A Boolean indicating whether the Connectivity instance should automatically start monitoring connectivity status.