Package apple.carplay

Class CPManeuver

    • Constructor Detail

      • CPManeuver

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static CPManeuver allocWithZone​(org.moe.natj.general.ptr.VoidPtr zone)
      • attributedInstructionVariants

        @NotNull
        public @NotNull NSArray<? extends NSAttributedString> attributedInstructionVariants()
        attributedInstructionVariants is an array of @c NSAttributedString representing the instruction for this maneuver, arranged from most to least preferred. [@c] attributedInstructionVariants will be preferred over instructionVariants. You must provide at least one variant for each maneuver. Only one type of attribute is presently supported: text attachments. You may annotate a maneuver instruction with images by including one or more text attachments. The maximum text attachment image size is 64x25 points. [@warning] All attributes other than text attachment attributes will be removed from your attributed string.
      • 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()
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • 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()
      • initialTravelEstimates

        @Nullable
        public @Nullable CPTravelEstimates initialTravelEstimates()
        initialTravelEstimates represents the estimates beginning from the end of the preceding maneuver.
      • instanceMethodSignatureForSelector

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

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

        @NotNull
        public @NotNull NSArray<java.lang.String> instructionVariants()
        instructionVariants is an array of @c NSString representing the instruction for this maneuver, arranged from most to least preferred. You must provide at least one variant. The variant strings should be provided as localized, displayable content.
      • isSubclassOfClass

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

        @Nullable
        public @Nullable UIImage junctionImage()
        junctionImage is a @c UIImage used to display a junction for the maneuver. [@note] The maximum image size is 140 points by 100 points. If necessary, images will be scaled down to fit while maintaining the aspect ratio.
      • 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)
      • setAttributedInstructionVariants

        public void setAttributedInstructionVariants​(@NotNull
                                                     @NotNull NSArray<? extends NSAttributedString> value)
        attributedInstructionVariants is an array of @c NSAttributedString representing the instruction for this maneuver, arranged from most to least preferred. [@c] attributedInstructionVariants will be preferred over instructionVariants. You must provide at least one variant for each maneuver. Only one type of attribute is presently supported: text attachments. You may annotate a maneuver instruction with images by including one or more text attachments. The maximum text attachment image size is 64x25 points. [@warning] All attributes other than text attachment attributes will be removed from your attributed string.
      • setInitialTravelEstimates

        public void setInitialTravelEstimates​(@Nullable
                                              @Nullable CPTravelEstimates value)
        initialTravelEstimates represents the estimates beginning from the end of the preceding maneuver.
      • setInstructionVariants

        public void setInstructionVariants​(@NotNull
                                           @NotNull NSArray<java.lang.String> value)
        instructionVariants is an array of @c NSString representing the instruction for this maneuver, arranged from most to least preferred. You must provide at least one variant. The variant strings should be provided as localized, displayable content.
      • setJunctionImage

        public void setJunctionImage​(@Nullable
                                     @Nullable UIImage value)
        junctionImage is a @c UIImage used to display a junction for the maneuver. [@note] The maximum image size is 140 points by 100 points. If necessary, images will be scaled down to fit while maintaining the aspect ratio.
      • setSymbolImage

        public void setSymbolImage​(@Nullable
                                   @Nullable UIImage value)
        symbolImage is a @c UIImage representing the maneuver. Provide variants for UIUserInterfaceStyleLight and UIUserInterfaceStyleDark that will be used against light backgrounds and dark backgrounds.
      • setSymbolSet

        @Deprecated
        public void setSymbolSet​(@Nullable
                                 @Nullable CPImageSet value)
        Deprecated.
        symbolSet is a @c CPImageSet representing the maneuver. API-Since: 12.0 Deprecated-Since: 13.0
      • setUserInfo

        public void setUserInfo​(@Nullable
                                @Nullable java.lang.Object value)
        Any custom user info related to this maneuver.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

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

        public static boolean supportsSecureCoding()
      • _supportsSecureCoding

        public boolean _supportsSecureCoding()
        Description copied from interface: NSSecureCoding
        This property must return YES on all classes that allow secure coding. Subclasses of classes that adopt NSSecureCoding and override initWithCoder: must also override this method and return YES. The Secure Coding Guide should be consulted when writing methods that decode data.
        Specified by:
        _supportsSecureCoding in interface NSSecureCoding
      • symbolImage

        @Nullable
        public @Nullable UIImage symbolImage()
        symbolImage is a @c UIImage representing the maneuver. Provide variants for UIUserInterfaceStyleLight and UIUserInterfaceStyleDark that will be used against light backgrounds and dark backgrounds.
      • symbolSet

        @Nullable
        @Deprecated
        public @Nullable CPImageSet symbolSet()
        Deprecated.
        symbolSet is a @c CPImageSet representing the maneuver. API-Since: 12.0 Deprecated-Since: 13.0
      • userInfo

        @Nullable
        public @Nullable java.lang.Object userInfo()
        Any custom user info related to this maneuver.
      • version_static

        public static long version_static()
      • dashboardAttributedInstructionVariants

        @NotNull
        public @NotNull NSArray<? extends NSAttributedString> dashboardAttributedInstructionVariants()
        dashboardAttributedInstructionVariants is an array of @c NSAttributedString representing the instruction for this maneuver on the dashboard, arranged from most to least preferred. [@c] dashboardAttributedInstructionVariants will be preferred over dashboardInstructionVariants. If no dashboard attributed variants are provided, dashboardInstructionVariants will be used. Only one type of attribute is presently supported: text attachments. You may annotate a maneuver instruction with images by including one or more text attachments. The maximum text attachment image size is 64x25 points. [@warning] All attributes other than text attachment attributes will be removed from your attributed string.
      • dashboardInstructionVariants

        @NotNull
        public @NotNull NSArray<java.lang.String> dashboardInstructionVariants()
        dashboardInstructionVariants is an array of @c NSString representing the instruction for this maneuver on the dashboard, arranged from most to least preferred. If no dashboard variants are provided, the system will check for attributedInstructionVariants, then instructionVariants. The variant strings should be provided as localized, displayable content. API-Since: 14.0
      • dashboardJunctionImage

        @Nullable
        public @Nullable UIImage dashboardJunctionImage()
        dashboardJunctionImage is a @c UIImage used to display a junction for the maneuver on the dashboard. If no dashboard junction image is provided, junctionImage will be used. [@note] The maximum image size is 140 points by 100 points. If necessary, images will be scaled down to fit while maintaining the aspect ratio. API-Since: 14.0
      • dashboardSymbolImage

        @Nullable
        public @Nullable UIImage dashboardSymbolImage()
        dashboardSymbolImage is a @c UIImage representing the maneuver that will be used on the dashboard. Provide variants for UIUserInterfaceStyleLight and UIUserInterfaceStyleDark that will be used against light backgrounds and dark backgrounds. If no dashboard image is provided, symbolImage will be used. API-Since: 14.0
      • notificationAttributedInstructionVariants

        @NotNull
        public @NotNull NSArray<? extends NSAttributedString> notificationAttributedInstructionVariants()
        notificationAttributedInstructionVariants is an array of @c NSAttributedString representing the instruction for this maneuver in a notification banner, arranged from most to least preferred. [@c] notificationAttributedInstructionVariants will be preferred over instructionVariants. If no notification attributed variants are provided, notificationInstructionVariants will be used. Only one type of attribute is presently supported: text attachments. You may annotate a maneuver instruction with images by including one or more text attachments. The maximum text attachment image size is 64x25 points. [@warning] All attributes other than text attachment attributes will be removed from your attributed string.
      • notificationInstructionVariants

        @NotNull
        public @NotNull NSArray<java.lang.String> notificationInstructionVariants()
        notificationInstructionVariants is an array of @c NSString representing the instruction for this maneuver in a notification banner, arranged from most to least preferred. If no notification instruction variants are provided, the system will check for attributedInstructionVariants, then instructionVariants. The variant strings should be provided as localized, displayable content. API-Since: 14.0
      • notificationSymbolImage

        @Nullable
        public @Nullable UIImage notificationSymbolImage()
        notificationSymbolImage is a @c UIImage representing the maneuver that will be used in a notification banner. Provide variants for UIUserInterfaceStyleLight and UIUserInterfaceStyleDark that will be used against light backgrounds and dark backgrounds. If no notification symbol image is provided, symbolImage will be used. API-Since: 14.0
      • setDashboardAttributedInstructionVariants

        public void setDashboardAttributedInstructionVariants​(@NotNull
                                                              @NotNull NSArray<? extends NSAttributedString> value)
        dashboardAttributedInstructionVariants is an array of @c NSAttributedString representing the instruction for this maneuver on the dashboard, arranged from most to least preferred. [@c] dashboardAttributedInstructionVariants will be preferred over dashboardInstructionVariants. If no dashboard attributed variants are provided, dashboardInstructionVariants will be used. Only one type of attribute is presently supported: text attachments. You may annotate a maneuver instruction with images by including one or more text attachments. The maximum text attachment image size is 64x25 points. [@warning] All attributes other than text attachment attributes will be removed from your attributed string.
      • setDashboardInstructionVariants

        public void setDashboardInstructionVariants​(@NotNull
                                                    @NotNull NSArray<java.lang.String> value)
        dashboardInstructionVariants is an array of @c NSString representing the instruction for this maneuver on the dashboard, arranged from most to least preferred. If no dashboard variants are provided, the system will check for attributedInstructionVariants, then instructionVariants. The variant strings should be provided as localized, displayable content. API-Since: 14.0
      • setDashboardJunctionImage

        public void setDashboardJunctionImage​(@Nullable
                                              @Nullable UIImage value)
        dashboardJunctionImage is a @c UIImage used to display a junction for the maneuver on the dashboard. If no dashboard junction image is provided, junctionImage will be used. [@note] The maximum image size is 140 points by 100 points. If necessary, images will be scaled down to fit while maintaining the aspect ratio. API-Since: 14.0
      • setDashboardSymbolImage

        public void setDashboardSymbolImage​(@Nullable
                                            @Nullable UIImage value)
        dashboardSymbolImage is a @c UIImage representing the maneuver that will be used on the dashboard. Provide variants for UIUserInterfaceStyleLight and UIUserInterfaceStyleDark that will be used against light backgrounds and dark backgrounds. If no dashboard image is provided, symbolImage will be used. API-Since: 14.0
      • setNotificationAttributedInstructionVariants

        public void setNotificationAttributedInstructionVariants​(@NotNull
                                                                 @NotNull NSArray<? extends NSAttributedString> value)
        notificationAttributedInstructionVariants is an array of @c NSAttributedString representing the instruction for this maneuver in a notification banner, arranged from most to least preferred. [@c] notificationAttributedInstructionVariants will be preferred over instructionVariants. If no notification attributed variants are provided, notificationInstructionVariants will be used. Only one type of attribute is presently supported: text attachments. You may annotate a maneuver instruction with images by including one or more text attachments. The maximum text attachment image size is 64x25 points. [@warning] All attributes other than text attachment attributes will be removed from your attributed string.
      • setNotificationInstructionVariants

        public void setNotificationInstructionVariants​(@NotNull
                                                       @NotNull NSArray<java.lang.String> value)
        notificationInstructionVariants is an array of @c NSString representing the instruction for this maneuver in a notification banner, arranged from most to least preferred. If no notification instruction variants are provided, the system will check for attributedInstructionVariants, then instructionVariants. The variant strings should be provided as localized, displayable content. API-Since: 14.0
      • setNotificationSymbolImage

        public void setNotificationSymbolImage​(@Nullable
                                               @Nullable UIImage value)
        notificationSymbolImage is a @c UIImage representing the maneuver that will be used in a notification banner. Provide variants for UIUserInterfaceStyleLight and UIUserInterfaceStyleDark that will be used against light backgrounds and dark backgrounds. If no notification symbol image is provided, symbolImage will be used. API-Since: 14.0
      • cardBackgroundColor

        @Nullable
        public @Nullable UIColor cardBackgroundColor()
        Takes precedence over @c guidanceBackgroundColor set in @c CPMapTemplate. API-Since: 15.4
      • setCardBackgroundColor

        public void setCardBackgroundColor​(@Nullable
                                           @Nullable UIColor value)
        Takes precedence over @c guidanceBackgroundColor set in @c CPMapTemplate. API-Since: 15.4
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.