INetworkStatusProvider

Overview

Magify SDK uses this interface to provide network reachbility status.

Default implementation: NetworkStatus.

Reachability

[NotNull]
IReactiveProperty<NetworkState> Reachability { get; }

Must return current network reachability status.

IsNetworkReachable

bool IsNetworkReachable
{
    get => Reachability.Value == NetworkState.Reachable;
}

Sugar to check whether the network is reachable.

Related articles

Unity SDK Campaigns

Advertisement

AghanimProductCounting

Android SDK Сonfiguration options

MagifyManager․Lto

Android SDK Game State Sync