NetworkStatusUpdaterFactory

@MapboxExperimental
open class NetworkStatusUpdaterFactory

A factory class used to allow customers to manually update network reachability status. If you do this the SDK will use the provided statuses instead of detecting it automatically meaning you are fully responsible for ensuring the status is correct. OfflineSwitch is still respected. Initially the status is set to NotReachable.

Functions

Link copied to clipboard
@MapboxExperimental
open fun getInstance(): NetworkStatusUpdater
A method used to get the singleton instance of NetworkStatusUpdater.