Package apple.foundation.enums
Class NSNetServicesError
- java.lang.Object
-
- apple.foundation.enums.NSNetServicesError
-
public final class NSNetServicesError extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static longActivityInProgressA publication or resolution request was sent to an NSNetService instance which was already published or a search request was made of an NSNetServiceBrowser instance which was already searching.static longBadArgumentErrorAn required argument was not provided when initializing the NSNetService instance.static longCancelledErrorThe operation being performed by the NSNetService or NSNetServiceBrowser instance was cancelled.static longCollisionErrorAn NSNetService with the same domain, type and name was already present when the publication request was made.static longInvalidErrorAn invalid argument was provided when initializing the NSNetService instance or starting a search with an NSNetServiceBrowser instance.static longMissingRequiredConfigurationErrorMissing required configuration for local network access.static longNotFoundErrorThe NSNetService was not found when a resolution request was made.static longTimeoutErrorResolution of an NSNetService instance failed because the timeout was reached.static longUnknownErrorAn unknown error occured during resolution or publication.
-
-
-
Field Detail
-
UnknownError
public static final long UnknownError
An unknown error occured during resolution or publication.- See Also:
- Constant Field Values
-
CollisionError
public static final long CollisionError
An NSNetService with the same domain, type and name was already present when the publication request was made.- See Also:
- Constant Field Values
-
NotFoundError
public static final long NotFoundError
The NSNetService was not found when a resolution request was made.- See Also:
- Constant Field Values
-
ActivityInProgress
public static final long ActivityInProgress
A publication or resolution request was sent to an NSNetService instance which was already published or a search request was made of an NSNetServiceBrowser instance which was already searching.- See Also:
- Constant Field Values
-
BadArgumentError
public static final long BadArgumentError
An required argument was not provided when initializing the NSNetService instance.- See Also:
- Constant Field Values
-
CancelledError
public static final long CancelledError
The operation being performed by the NSNetService or NSNetServiceBrowser instance was cancelled.- See Also:
- Constant Field Values
-
InvalidError
public static final long InvalidError
An invalid argument was provided when initializing the NSNetService instance or starting a search with an NSNetServiceBrowser instance.- See Also:
- Constant Field Values
-
TimeoutError
public static final long TimeoutError
Resolution of an NSNetService instance failed because the timeout was reached.- See Also:
- Constant Field Values
-
MissingRequiredConfigurationError
public static final long MissingRequiredConfigurationError
Missing required configuration for local network access. NSBonjourServices and NSLocalNetworkUsageDescription are required in Info.plist- See Also:
- Constant Field Values
-
-