Class NEHotspotHelperCommand

  • All Implemented Interfaces:
    NSObject

    public class NEHotspotHelperCommand
    extends NSObject
    [@interface] NEHotspotHelperCommand An NEHotspotHelperCommand object is provided to the helper's command handler block. The HotspotHelper processes the command instantiates an NEHotspotHelperResponse object, sets the annotated network or networkList (Evaluate/FilterScanList only), then delivers it. API-Since: 9.0
    • Constructor Detail

      • NEHotspotHelperCommand

        protected NEHotspotHelperCommand​(org.moe.natj.general.Pointer peer)
    • Method Detail

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static NEHotspotHelperCommand allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • automaticallyNotifiesObserversForKey

        public static boolean automaticallyNotifiesObserversForKey​(@NotNull
                                                                   @NotNull java.lang.String key)
      • cancelPreviousPerformRequestsWithTarget

        public static void cancelPreviousPerformRequestsWithTarget​(@NotNull
                                                                   @NotNull java.lang.Object aTarget)
      • cancelPreviousPerformRequestsWithTargetSelectorObject

        public static void cancelPreviousPerformRequestsWithTargetSelectorObject​(@NotNull
                                                                                 @NotNull java.lang.Object aTarget,
                                                                                 @NotNull
                                                                                 @NotNull org.moe.natj.objc.SEL aSelector,
                                                                                 @Nullable
                                                                                 @Nullable java.lang.Object anArgument)
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • hash_static

        public static long hash_static()
      • instanceMethodSignatureForSelector

        public static NSMethodSignature instanceMethodSignatureForSelector​(org.moe.natj.objc.SEL aSelector)
      • instancesRespondToSelector

        public static boolean instancesRespondToSelector​(org.moe.natj.objc.SEL aSelector)
      • isSubclassOfClass

        public static boolean isSubclassOfClass​(org.moe.natj.objc.Class aClass)
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • resolveClassMethod

        public static boolean resolveClassMethod​(org.moe.natj.objc.SEL sel)
      • resolveInstanceMethod

        public static boolean resolveInstanceMethod​(org.moe.natj.objc.SEL sel)
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

        public static org.moe.natj.objc.Class superclass_static()
      • version_static

        public static long version_static()
      • commandType

        public long commandType()
        [@property] commandType The type of the command. API-Since: 9.0
      • createResponse

        @NotNull
        public @NotNull NEHotspotHelperResponse createResponse​(long result)
        createResponse: Create a response to the command. Instantiate an NEHotspotHelperResponse for the command.
        Returns:
        NEHotspotHelperResponse with the specified result. API-Since: 9.0
      • createTCPConnection

        @NotNull
        public @NotNull NWTCPConnection createTCPConnection​(@NotNull
                                                            @NotNull NWEndpoint endpoint)
        createTCPConnection Create a new TCP connection over the interface associated with the command. Instantiate an NWTCPConnection to the specified endpoint bound to the network interface associated with the command.
        Returns:
        non-nil NWTCPConnection object if successful, nil otherwise API-Since: 9.0
      • createUDPSession

        @NotNull
        public @NotNull NWUDPSession createUDPSession​(@NotNull
                                                      @NotNull NWEndpoint endpoint)
        createUDPSession Create a new UDP session over the interface associated with the command. Instantiate an NWUDPSession to the specified endpoint bound to the network interface associated with the command.
        Returns:
        non-nil NWUDPSession object if successful, nil otherwise API-Since: 9.0
      • network

        @Nullable
        public @Nullable NEHotspotNetwork network()
        [@property] network The network associated with the command. May be nil. API-Since: 9.0
      • networkList

        @Nullable
        public @Nullable NSArray<? extends NEHotspotNetwork> networkList()
        [@property] networkList The list of networks associated with a command. Will be nil unless the command type is kNEHotspotHelperCommandTypeFilterScanList. This property returns an NSArray of NEHotspotNetwork. API-Since: 9.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.