iOS Guides | Samples

MonoTouch.NetworkExtension.NWPath Class

Contains expense and status information about a network connection path.

See Also: NWPath

Syntax

[MonoTouch.Foundation.Register("NWPath", true)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.iOS, 9, 0, MonoTouch.ObjCRuntime.PlatformArchitecture.None, null)]
[MonoTouch.ObjCRuntime.Introduced(MonoTouch.ObjCRuntime.PlatformName.MacOSX, 10, 11, MonoTouch.ObjCRuntime.PlatformArchitecture.Arch64, null)]
public class NWPath : NSObject

Related content

Requirements

Namespace: MonoTouch.NetworkExtension
Assembly: monotouch (in monotouch.dll)
Assembly Versions: 0.0.0.0

The members of MonoTouch.NetworkExtension.NWPath are listed below.

See Also: NSObject

Public Constructors

Default constructor, initializes a new instance of this class.
A constructor that initializes the object from the data stored in the unarchiver object.
Constructor to call on derived classes to skip initialization and merely allocate the object.
A constructor used when creating managed representations of unmanaged objects; Called by the runtime.

Public Properties

[read-only]
override
ClassHandleIntPtr. The handle for this class.
[read-only]
ExpensiveBoolean. Gets a Boolean value that tells whether the path uses an expensive interface, such as a cellular network.
[read-only]
StatusNWPathStatus. Gets a value that describes the status of the path, such as whether it is ready to be used or is invalid.

Public Methods

IsEqualToPath(NWPath) : Boolean
Returns true if this path represents the same path as the specified path.