Package apple.carplay

Class CPPointOfInterestTemplate

    • Constructor Detail

      • CPPointOfInterestTemplate

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • 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()
      • initWithTitlePointsOfInterestSelectedIndex

        public CPPointOfInterestTemplate initWithTitlePointsOfInterestSelectedIndex​(@NotNull
                                                                                    @NotNull java.lang.String title,
                                                                                    @NotNull
                                                                                    @NotNull NSArray<? extends CPPointOfInterest> pointsOfInterest,
                                                                                    long selectedIndex)
        CPPointOfInterestTemplate displays a map view with selectable points of interest. [@note] the maximum number of POIs is 12. If you provide more than 12, only the first 12 will be used.
        Parameters:
        title - Template title
        pointsOfInterest - Points of interest to be presented in the map.
        selectedIndex - Index of selected point of interest instance referenced in the pointsOfInterest array. Use NSNotFound to indicate no selection.
      • 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)
      • pointOfInterestDelegate

        @Nullable
        public @Nullable CPPointOfInterestTemplateDelegate pointOfInterestDelegate()
        The Point of Interest template's delegate is informed of user events.
      • resolveClassMethod

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

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

        public long selectedIndex()
        Designate an instance in the pointsOfInterest array to highlight. Use NSNotFound to indicate no selection.
      • setPointOfInterestDelegate_unsafe

        public void setPointOfInterestDelegate_unsafe​(@Nullable
                                                      @Nullable CPPointOfInterestTemplateDelegate value)
        The Point of Interest template's delegate is informed of user events.
      • setPointOfInterestDelegate

        public void setPointOfInterestDelegate​(@Nullable
                                               @Nullable CPPointOfInterestTemplateDelegate value)
        The Point of Interest template's delegate is informed of user events.
      • setPointsOfInterestSelectedIndex

        public void setPointsOfInterestSelectedIndex​(@NotNull
                                                     @NotNull NSArray<? extends CPPointOfInterest> pointsOfInterest,
                                                     long selectedIndex)
        Update the template with a list of points of interests to dispay [@note] the maximum number of POIs is 12. If you provide more than 12, only the first 12 will be used.
        Parameters:
        pointsOfInterest - Points of interest to be presented in the map.
        selectedIndex - Index of selected point of interest instance referenced in the pointsOfInterest array. Use NSNotFound to indicate no selection.
      • setSelectedIndex

        public void setSelectedIndex​(long value)
        Designate an instance in the pointsOfInterest array to highlight. Use NSNotFound to indicate no selection.
      • setTitle

        public void setTitle​(@NotNull
                             @NotNull java.lang.String value)
        Template title appears on the template point of interest picker
      • 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
        Overrides:
        _supportsSecureCoding in class CPTemplate
      • title

        @NotNull
        public @NotNull java.lang.String title()
        Template title appears on the template point of interest picker
      • version_static

        public static long version_static()
      • leadingNavigationBarButtons

        @NotNull
        public @NotNull NSArray<? extends CPBarButton> leadingNavigationBarButtons()
        Description copied from interface: CPBarButtonProviding
        An array of bar buttons to be displayed on the leading side of the navigation bar. [@note] The navigation bar may display a maximum of 2 buttons in the leading space. Setting more than 2 buttons to this property will only display the first 2 buttons.
        Specified by:
        leadingNavigationBarButtons in interface CPBarButtonProviding
      • setLeadingNavigationBarButtons

        public void setLeadingNavigationBarButtons​(@NotNull
                                                   @NotNull NSArray<? extends CPBarButton> value)
        Description copied from interface: CPBarButtonProviding
        An array of bar buttons to be displayed on the leading side of the navigation bar. [@note] The navigation bar may display a maximum of 2 buttons in the leading space. Setting more than 2 buttons to this property will only display the first 2 buttons.
        Specified by:
        setLeadingNavigationBarButtons in interface CPBarButtonProviding
      • setTrailingNavigationBarButtons

        public void setTrailingNavigationBarButtons​(@NotNull
                                                    @NotNull NSArray<? extends CPBarButton> value)
        Description copied from interface: CPBarButtonProviding
        An array of bar buttons to be displayed on the trailing side of the navigation bar. [@note] The navigation bar may display a maximum of 2 buttons in the trailing space. Setting more than 2 buttons to this property will only display the first 2 buttons.
        Specified by:
        setTrailingNavigationBarButtons in interface CPBarButtonProviding
      • trailingNavigationBarButtons

        @NotNull
        public @NotNull NSArray<? extends CPBarButton> trailingNavigationBarButtons()
        Description copied from interface: CPBarButtonProviding
        An array of bar buttons to be displayed on the trailing side of the navigation bar. [@note] The navigation bar may display a maximum of 2 buttons in the trailing space. Setting more than 2 buttons to this property will only display the first 2 buttons.
        Specified by:
        trailingNavigationBarButtons in interface CPBarButtonProviding
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.