Xamarin.NetworkManager.Droid 1.0.0

A Xamarin.Droid wrapper binding for NetworkManager

Install-Package Xamarin.NetworkManager.Droid -Version 1.0.0
dotnet add package Xamarin.NetworkManager.Droid --version 1.0.0
<PackageReference Include="Xamarin.NetworkManager.Droid" Version="1.0.0" />
For projects that support PackageReference, copy this XML node into the project file to reference the package.
paket add Xamarin.NetworkManager.Droid --version 1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.
#r "nuget: Xamarin.NetworkManager.Droid, 1.0.0"
#r directive can be used in F# Interactive, C# scripting and .NET Interactive. Copy this into the interactive tool or source code of the script to reference the package.
// Install Xamarin.NetworkManager.Droid as a Cake Addin
#addin nuget:?package=Xamarin.NetworkManager.Droid&version=1.0.0

// Install Xamarin.NetworkManager.Droid as a Cake Tool
#tool nuget:?package=Xamarin.NetworkManager.Droid&version=1.0.0
The NuGet Team does not provide support for this client. Please contact its maintainers for support.

NetworkManagerDroid

A Xamarin.Droid wrapper binding for NetworkManager

Usage:

using Subsystems.NetworkManagerDroid.External;
... ...

Initialize

_networkManagerProxy = new CMPNetworkManagerProxy(<url>);

NetworkProxyStatusChanged

event EventHandler<CMPNetworkEventArgs> NetworkProxyStatusChanged - 
_networkManagerProxy.NetworkProxyStatusChanged += (object sender, CMPNetworkEventArgs e) => 
{

    Console.WriteLine(e.NetworkState);
};

IsNetworkReachable

_networkManagerProxy.IsNetworkReachable();

StartMonitoring

_networkManagerProxy.StartMonitoring();

NetworkManagerDroid

A Xamarin.Droid wrapper binding for NetworkManager

Usage:

using Subsystems.NetworkManagerDroid.External;
... ...

Initialize

_networkManagerProxy = new CMPNetworkManagerProxy(<url>);

NetworkProxyStatusChanged

event EventHandler<CMPNetworkEventArgs> NetworkProxyStatusChanged - 
_networkManagerProxy.NetworkProxyStatusChanged += (object sender, CMPNetworkEventArgs e) => 
{

    Console.WriteLine(e.NetworkState);
};

IsNetworkReachable

_networkManagerProxy.IsNetworkReachable();

StartMonitoring

_networkManagerProxy.StartMonitoring();

Release Notes

1. Initial version for NetworkMananger component for Droid
2. Wraps Reachability framework
3. Supports only Wifi and Cellular types

  • MonoAndroid 9.0

    • No dependencies.

NuGet packages

This package is not used by any NuGet packages.

GitHub repositories

This package is not used by any popular GitHub repositories.

Version History

Version Downloads Last updated
1.0.0 456 10/18/2018