Class NSNetServicesError


  • public final class NSNetServicesError
    extends java.lang.Object
    • Field Summary

      Fields 
      Modifier and Type Field Description
      static 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.
      static long BadArgumentError
      An required argument was not provided when initializing the NSNetService instance.
      static long CancelledError
      The operation being performed by the NSNetService or NSNetServiceBrowser instance was cancelled.
      static long CollisionError
      An NSNetService with the same domain, type and name was already present when the publication request was made.
      static long InvalidError
      An invalid argument was provided when initializing the NSNetService instance or starting a search with an NSNetServiceBrowser instance.
      static long MissingRequiredConfigurationError
      Missing required configuration for local network access.
      static long NotFoundError
      The NSNetService was not found when a resolution request was made.
      static long TimeoutError
      Resolution of an NSNetService instance failed because the timeout was reached.
      static long UnknownError
      An unknown error occured during resolution or publication.
    • Method Summary

      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • 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