Search Results for

    Show / Hide Table of Contents

    Class Connectivity

    Connectivity and networking information of the device.

    Inheritance
    object
    Connectivity
    Implements
    IDisposable
    Inherited Members
    object.Equals(object)
    object.Equals(object, object)
    object.GetHashCode()
    object.GetType()
    object.MemberwiseClone()
    object.ReferenceEquals(object, object)
    object.ToString()
    Namespace: Evergine.Platform
    Assembly: Evergine.Platform.dll
    Syntax
    public class Connectivity : IDisposable
    Remarks

    Needs ACCESS_NETWORK_STATE permission set in manifest for Android.

    Constructors

    Connectivity()

    Initializes a new instance of the Connectivity class.

    Declaration
    public Connectivity()

    Properties

    ConnectionProfiles

    Gets the active connectivity types for the device.

    Declaration
    public IEnumerable<ConnectionProfiles> ConnectionProfiles { get; }
    Property Value
    Type Description
    IEnumerable<ConnectionProfiles>
    Remarks

    Needs ACCESS_NETWORK_STATE permission set in manifest for Android.

    IsSupported

    Gets a value indicating whether the connectivity tracker is supported on the current platform.

    Declaration
    public bool IsSupported { get; }
    Property Value
    Type Description
    bool

    NetworkAccess

    Gets the current state of network access. Does not guarantee full access to the internet.

    Declaration
    public NetworkAccess NetworkAccess { get; }
    Property Value
    Type Description
    NetworkAccess
    Remarks

    Needs ACCESS_NETWORK_STATE permission set in manifest for Android.

    Methods

    Dispose()

    Declaration
    public void Dispose()

    Events

    ConnectivityChanged

    Occurs when a network access or profile has changed.

    Declaration
    public event EventHandler ConnectivityChanged
    Event Type
    Type Description
    EventHandler

    Implements

    IDisposable

    Extension Methods

    ReflectionHelper.GetMemberAssembly(object)
    ReflectionHelper.GetTypeName(object)
    In This Article
    Back to top
    Generated by DocFX