Package-level declarations

Functions

Link copied to clipboard
expect fun Connectivity(options: ConnectivityOptions = ConnectivityOptions(), scope: CoroutineScope = CoroutineScope(Dispatchers.Default)): Connectivity

Creates a Connectivity instance for device platforms.

fun Connectivity(scope: CoroutineScope = CoroutineScope(Dispatchers.Default), options: ConnectivityOptions.Builder.() -> Unit): Connectivity

Creates a Connectivity instance for device platforms using a builder pattern for the ConnectivityOptions.