Class AVCustomRoutingController

  • All Implemented Interfaces:
    NSObject

    public class AVCustomRoutingController
    extends NSObject
    An object that manages the connection from a device to a destination. A routing controller also informs its ``AVCustomRoutingController/delegate`` object about which routes the user previously authorized, so it can reconnect, if appropriate. API-Since: 16.0
    • Constructor Detail

      • AVCustomRoutingController

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • authorizedRoutes

        @NotNull
        public @NotNull NSArray<? extends AVCustomDeviceRoute> authorizedRoutes()
        A list of authorized routes. After a user activates a route, it remains authorized for a certain amount of time even if the connection to the route is temporarily unavailable. Your app may reactivate any one of these routes when appropriate, but it needs to inform the system by calling ``AVCustomRoutingController/setActive:forRoute:``. API-Since: 16.0
      • 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()
      • customActionItems

        @NotNull
        public @NotNull NSArray<? extends AVCustomRoutingActionItem> customActionItems()
        An array of custom action items to add to a route picker. API-Since: 16.0
      • 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)
      • invalidateAuthorizationForRoute

        public void invalidateAuthorizationForRoute​(@NotNull
                                                    @NotNull AVCustomDeviceRoute route)
        Revokes an app’s authorization to connect to a route. The route only becomes authorized again if the user selects it using the route picker. - Parameters: - route: The route to invalidate authorization for.
      • isRouteActive

        public boolean isRouteActive​(@NotNull
                                     @NotNull AVCustomDeviceRoute route)
        Returns a Boolean value that indicates whether a route is active. - Parameters: - route: A route for determining its active state. - Returns: if the route is in an active state; otherwise, .
      • 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)
      • knownRouteIPs

        @NotNull
        public @NotNull NSArray<? extends AVCustomRoutingPartialIP> knownRouteIPs()
        An array of route addresses known to be on the local network. API-Since: 16.1
      • resolveClassMethod

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

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

        public void setActiveForRoute​(boolean active,
                                      @NotNull
                                      @NotNull AVCustomDeviceRoute route)
        Sets the active state of a route. Set the value to if the connection to the route becomes unavailable, and set it to after you reestablish the connection. - Parameters: - active: A Boolean value that indicates whether the route is active. - route: A route to change the active state for.
      • setCustomActionItems

        public void setCustomActionItems​(@NotNull
                                         @NotNull NSArray<? extends AVCustomRoutingActionItem> value)
        An array of custom action items to add to a route picker. API-Since: 16.0
      • setDelegate_unsafe

        public void setDelegate_unsafe​(@Nullable
                                       @Nullable AVCustomRoutingControllerDelegate value)
        A delegate object for a routing controller. API-Since: 16.0
      • setKnownRouteIPs

        public void setKnownRouteIPs​(@NotNull
                                     @NotNull NSArray<? extends AVCustomRoutingPartialIP> value)
        An array of route addresses known to be on the local network. API-Since: 16.1
      • 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()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.