NetworkObserver

class NetworkObserver(context: Context)

Allows receiving updates to the status of Wifi or Mobile Data connectivity via hasConnection

Parameters

context

is injected by Koin. trySendBlocking is not used since none of these operations are highly repetitive in a short amount of time

Constructors

Link copied to clipboard
constructor(context: Context)

Properties

Link copied to clipboard
Link copied to clipboard