Package org.robovm.apple.network
Class NWPath
- java.lang.Object
-
- org.robovm.rt.bro.NativeObject
-
- org.robovm.objc.ObjCObject
-
- org.robovm.apple.foundation.NSObject
-
- org.robovm.apple.network.NWPath
-
- All Implemented Interfaces:
NSObjectProtocol
,org.robovm.objc.ObjCProtocol
public final class NWPath extends NSObject implements NSObjectProtocol
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
NWPath.NWPathPtr
-
Nested classes/interfaces inherited from class org.robovm.apple.foundation.NSObject
NSObject.Handle, NSObject.Marshaler, NSObject.NoRetainMarshaler, NSObject.NSKeyValueObserver, NSObject.NSObjectPtr, NSObject.SkipInit
-
-
Field Summary
-
Fields inherited from class org.robovm.apple.foundation.NSObject
FLAG_NO_RETAIN
-
-
Constructor Summary
Constructors Constructor Description NWPath()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description NWEndpoint
copyEffectiveLocalEndpoint()
NWEndpoint
copyEffectiveRemoteEndpoint()
void
enumerateInterfaces(org.robovm.objc.block.Block1<NWInterface,java.lang.Boolean> enumerate_block)
NWPathStatus
getStatus()
boolean
hasDns()
boolean
hasIpv4()
boolean
hasIpv6()
boolean
isEqual(NWPath other_path)
boolean
isExpensive()
void
nwArcRelease()
void
nwArcRetain()
boolean
usesInterfaceType(NWInterfaceType interface_type)
-
Methods inherited from class org.robovm.apple.foundation.NSObject
addKeyValueObserver, addKeyValueObserver, afterMarshaled, alloc, autorelease, autorelease, awakeFromNib, conformsToProtocol, copy, description, didChangeValue, didChangeValue, didChangeValues, doDispose, equals, forceSkipInit, getAutoContentAccessingProxy, getClassForCoder, getClassForKeyedArchiver, getKeyValueCoder, getObservationInfo, hash, hashCode, init, isEqual, isKindOfClass, isMemberOfClass, mutableCopy, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelector, performSelectorInBackground, performSelectorOnMainThread, performSelectorOnMainThread, performSelectorV, performSelectorV, performSelectorV, release, release, removeKeyValueObserver, removeKeyValueObservers, respondsToSelector, retain, retain, retainCount, setObservationInfo, toString, willChangeValue, willChangeValue, willChangeValues
-
-
-
-
Method Detail
-
getStatus
public NWPathStatus getStatus()
- Since:
- Available in iOS 12.0 and later.
-
enumerateInterfaces
public void enumerateInterfaces(org.robovm.objc.block.Block1<NWInterface,java.lang.Boolean> enumerate_block)
- Since:
- Available in iOS 12.0 and later.
-
isEqual
public boolean isEqual(NWPath other_path)
- Since:
- Available in iOS 12.0 and later.
-
isExpensive
public boolean isExpensive()
- Since:
- Available in iOS 12.0 and later.
-
hasIpv4
public boolean hasIpv4()
- Since:
- Available in iOS 12.0 and later.
-
hasIpv6
public boolean hasIpv6()
- Since:
- Available in iOS 12.0 and later.
-
hasDns
public boolean hasDns()
- Since:
- Available in iOS 12.0 and later.
-
usesInterfaceType
public boolean usesInterfaceType(NWInterfaceType interface_type)
- Since:
- Available in iOS 12.0 and later.
-
copyEffectiveLocalEndpoint
public NWEndpoint copyEffectiveLocalEndpoint()
- Since:
- Available in iOS 12.0 and later.
-
copyEffectiveRemoteEndpoint
public NWEndpoint copyEffectiveRemoteEndpoint()
- Since:
- Available in iOS 12.0 and later.
-
nwArcRetain
public void nwArcRetain()
-
nwArcRelease
public void nwArcRelease()
-
-