Package apple.mapkit

Class MKDirectionsRequest

  • All Implemented Interfaces:
    NSObject

    public class MKDirectionsRequest
    extends NSObject
    • Constructor Detail

      • MKDirectionsRequest

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static MKDirectionsRequest 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)
      • isDirectionsRequestURL

        public static boolean isDirectionsRequestURL​(@NotNull
                                                     @NotNull NSURL url)
        API-Since: 6.0
      • 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()
      • arrivalDate

        @Nullable
        public @Nullable NSDate arrivalDate()
        API-Since: 7.0
      • departureDate

        @Nullable
        public @Nullable NSDate departureDate()
        Set either departure or arrival date to hint to the route server when the trip will take place. API-Since: 7.0
      • destination

        @Nullable
        public @Nullable MKMapItem destination()
      • initWithContentsOfURL

        public MKDirectionsRequest initWithContentsOfURL​(@NotNull
                                                         @NotNull NSURL url)
        API-Since: 6.0
      • requestsAlternateRoutes

        public boolean requestsAlternateRoutes()
        if YES and there is more than one reasonable way to route from source to destination, allow the route server to return multiple routes. Default is NO. API-Since: 7.0
      • setArrivalDate

        public void setArrivalDate​(@Nullable
                                   @Nullable NSDate value)
        API-Since: 7.0
      • setDepartureDate

        public void setDepartureDate​(@Nullable
                                     @Nullable NSDate value)
        Set either departure or arrival date to hint to the route server when the trip will take place. API-Since: 7.0
      • setDestination

        public void setDestination​(@Nullable
                                   @Nullable MKMapItem destination)
        API-Since: 7.0
      • setRequestsAlternateRoutes

        public void setRequestsAlternateRoutes​(boolean value)
        if YES and there is more than one reasonable way to route from source to destination, allow the route server to return multiple routes. Default is NO. API-Since: 7.0
      • setSource

        public void setSource​(@Nullable
                              @Nullable MKMapItem source)
        API-Since: 7.0
      • setTransportType

        public void setTransportType​(long value)
        Default is MKDirectionsTransportTypeAny API-Since: 7.0
      • source

        @Nullable
        public @Nullable MKMapItem source()
      • transportType

        public long transportType()
        Default is MKDirectionsTransportTypeAny API-Since: 7.0
      • highwayPreference

        public long highwayPreference()
        Default is MKDirectionsRoutePreferenceAny API-Since: 16.0
      • setHighwayPreference

        public void setHighwayPreference​(long value)
        Default is MKDirectionsRoutePreferenceAny API-Since: 16.0
      • setTollPreference

        public void setTollPreference​(long value)
        Default is MKDirectionsRoutePreferenceAny API-Since: 16.0
      • tollPreference

        public long tollPreference()
        Default is MKDirectionsRoutePreferenceAny API-Since: 16.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.