Package apple.carplay

Class CPNavigationSession

  • All Implemented Interfaces:
    NSObject

    public class CPNavigationSession
    extends NSObject
    [@c] CPNavigationSession represents the active navigation session. A @c CPNavigationSession will be created for you when calling startNavigationSessionForTrip: on @c CYMapTemplate
    • Constructor Detail

      • CPNavigationSession

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

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

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

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

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

        public void cancelTrip()
        Cancel the trip.
      • classFallbacksForKeyedArchiver

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

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

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

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

        public void finishTrip()
        Finish the trip.
      • 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

        public static NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(java.lang.String key)
      • new_objc

        public static java.lang.Object new_objc()
      • pauseTripForReasonDescription

        public void pauseTripForReasonDescription​(long reason,
                                                  java.lang.String description)
        Pause the current trip.
        Parameters:
        reason - The reason navigation was paused.
        description - An optional description of the pause reason. If @c nil, a system-provided string will be used.
      • resolveClassMethod

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

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

        public void setUpcomingManeuvers​(NSArray<? extends CPManeuver> value)
        The next maneuvers that should be performed to follow the current route. Multiple maneuvers are displayed simultaneously, however the system may limit the number of maneuvers shown at the same time.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

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

        public CPTrip trip()
        The trip associated with this navigation session.
      • upcomingManeuvers

        public NSArray<? extends CPManeuver> upcomingManeuvers()
        The next maneuvers that should be performed to follow the current route. Multiple maneuvers are displayed simultaneously, however the system may limit the number of maneuvers shown at the same time.
      • updateTravelEstimatesForManeuver

        public void updateTravelEstimatesForManeuver​(CPTravelEstimates estimates,
                                                     CPManeuver maneuver)
        Update the travel estimates for the active navigation session and maneuver.
        Parameters:
        estimates - The updated travel estimates.
        maneuver - The maneuver pertaining to this update.
      • version_static

        public static long version_static()