Package apple.carplay

Class CPPointOfInterest

    • Constructor Detail

      • CPPointOfInterest

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static CPPointOfInterest 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()
      • detailSubtitle

        @Nullable
        public @Nullable java.lang.String detailSubtitle()
        Subtitle to be used when POI detail card is visible. [@note] If not provided, the point of interest will fall back to displaying @c subtitle.
      • detailSummary

        @Nullable
        public @Nullable java.lang.String detailSummary()
        Summary text to be used when POI detail card is visible. [@note] If not provided, the point of interest will fall back to displaying @c summary.
      • detailTitle

        @Nullable
        public @Nullable java.lang.String detailTitle()
        Title to be used when POI detail card is visible. [@note] If not provided, the point of interest will fall back to displaying @c title.
      • hash_static

        public static long hash_static()
      • initWithLocationTitleSubtitleSummaryDetailTitleDetailSubtitleDetailSummaryPinImage

        public CPPointOfInterest initWithLocationTitleSubtitleSummaryDetailTitleDetailSubtitleDetailSummaryPinImage​(@NotNull
                                                                                                                    @NotNull MKMapItem location,
                                                                                                                    @NotNull
                                                                                                                    @NotNull java.lang.String title,
                                                                                                                    @Nullable
                                                                                                                    @Nullable java.lang.String subtitle,
                                                                                                                    @Nullable
                                                                                                                    @Nullable java.lang.String summary,
                                                                                                                    @Nullable
                                                                                                                    @Nullable java.lang.String detailTitle,
                                                                                                                    @Nullable
                                                                                                                    @Nullable java.lang.String detailSubtitle,
                                                                                                                    @Nullable
                                                                                                                    @Nullable java.lang.String detailSummary,
                                                                                                                    @Nullable
                                                                                                                    @Nullable UIImage pinImage)
        Initializes a point of interest to be used with @c CPPointOfInterestTemplate. [@note] When providing an image, your app should provide a @c UIImage that is display-ready. If necessary for the image, provide light and dark styles by using an asset from your asset catalog, prepared with light and dark styles or by using @c UIImageAsset to combine two @c UIImage instances into a single image with both styles. CPPointOfInterest instances appear on the Point of Interest map view as both selectable items in the table view overlay and as map annotations. To properly size your pin images, your app should size them to the display scale of the car screen. See -[CPInterfaceController carTraitCollection].
        Parameters:
        location - Location indicator use by map annotations.
        title - Primary title for this point of interest.
        subtitle - Optional: Secondary title for this point of interest.
        summary - Optional: Summary text for this point of interest.
        detailTitle - Optional: Title to be used when POI detail card is visible.
        detailSubtitle - Optional: Subtitle to be used when POI detail card is visible.
        detailSummary - Optional: Summary text to be used when POI detail card is visible.
        pinImage - Optional: a custom map annotation image.
      • 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)
      • location

        @NotNull
        public @NotNull MKMapItem location()
        Location associated with this point of interest.
      • pinImage

        @Nullable
        public @Nullable UIImage pinImage()
        Image used for map view unselected annotations. To properly size your pin image, your app should size them to the display scale of the car screen. See -[CPInterfaceController carTraitCollection].
      • primaryButton

        @Nullable
        public @Nullable CPTextButton primaryButton()
        Point of Interest detail card buttons.
      • resolveClassMethod

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

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

        @Nullable
        public @Nullable CPTextButton secondaryButton()
      • setDetailSubtitle

        public void setDetailSubtitle​(@Nullable
                                      @Nullable java.lang.String value)
        Subtitle to be used when POI detail card is visible. [@note] If not provided, the point of interest will fall back to displaying @c subtitle.
      • setDetailSummary

        public void setDetailSummary​(@Nullable
                                     @Nullable java.lang.String value)
        Summary text to be used when POI detail card is visible. [@note] If not provided, the point of interest will fall back to displaying @c summary.
      • setDetailTitle

        public void setDetailTitle​(@Nullable
                                   @Nullable java.lang.String value)
        Title to be used when POI detail card is visible. [@note] If not provided, the point of interest will fall back to displaying @c title.
      • setLocation

        public void setLocation​(@NotNull
                                @NotNull MKMapItem value)
        Location associated with this point of interest.
      • setPinImage

        public void setPinImage​(@Nullable
                                @Nullable UIImage value)
        Image used for map view unselected annotations. To properly size your pin image, your app should size them to the display scale of the car screen. See -[CPInterfaceController carTraitCollection].
      • setPrimaryButton

        public void setPrimaryButton​(@Nullable
                                     @Nullable CPTextButton value)
        Point of Interest detail card buttons.
      • setSecondaryButton

        public void setSecondaryButton​(@Nullable
                                       @Nullable CPTextButton value)
      • setSubtitle

        public void setSubtitle​(@Nullable
                                @Nullable java.lang.String value)
        Subtitle for this point of interest.
      • setSummary

        public void setSummary​(@Nullable
                               @Nullable java.lang.String value)
        Summary text for this point of interest.
      • setTitle

        public void setTitle​(@NotNull
                             @NotNull java.lang.String value)
        Primary title for this point of interest.
      • setUserInfo

        public void setUserInfo​(@Nullable
                                @Nullable java.lang.Object value)
        Any custom data or an object associated with this Point of Interest.
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • subtitle

        @Nullable
        public @Nullable java.lang.String subtitle()
        Subtitle for this point of interest.
      • summary

        @Nullable
        public @Nullable java.lang.String summary()
        Summary text for this point of interest.
      • 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
      • title

        @NotNull
        public @NotNull java.lang.String title()
        Primary title for this point of interest.
      • userInfo

        @Nullable
        public @Nullable java.lang.Object userInfo()
        Any custom data or an object associated with this Point of Interest.
      • version_static

        public static long version_static()
      • initWithLocationTitleSubtitleSummaryDetailTitleDetailSubtitleDetailSummaryPinImageSelectedPinImage

        public CPPointOfInterest initWithLocationTitleSubtitleSummaryDetailTitleDetailSubtitleDetailSummaryPinImageSelectedPinImage​(@NotNull
                                                                                                                                    @NotNull MKMapItem location,
                                                                                                                                    @NotNull
                                                                                                                                    @NotNull java.lang.String title,
                                                                                                                                    @Nullable
                                                                                                                                    @Nullable java.lang.String subtitle,
                                                                                                                                    @Nullable
                                                                                                                                    @Nullable java.lang.String summary,
                                                                                                                                    @Nullable
                                                                                                                                    @Nullable java.lang.String detailTitle,
                                                                                                                                    @Nullable
                                                                                                                                    @Nullable java.lang.String detailSubtitle,
                                                                                                                                    @Nullable
                                                                                                                                    @Nullable java.lang.String detailSummary,
                                                                                                                                    @Nullable
                                                                                                                                    @Nullable UIImage pinImage,
                                                                                                                                    @Nullable
                                                                                                                                    @Nullable UIImage selectedPinImage)
        Initializes a point of interest to be used with @c CPPointOfInterestTemplate . [@note] When providing an image, your app should provide a @c UIImage that is display-ready. If necessary for the image, provide light and dark styles by using an asset from your asset catalog, prepared with light and dark styles or by using @c UIImageAsset to combine two @c UIImage instances into a single image with both styles. CPPointOfInterest instances appear on the Point of Interest map view as both selectable items in the table view overlay and as map annotations. To properly size your pin images, your app should size them to the display scale of the car screen. See -[CPInterfaceController carTraitCollection]. API-Since: 16.0
        Parameters:
        location - Location indicator use by map annotations.
        title - Primary title for this point of interest.
        subtitle - Optional: Secondary title for this point of interest.
        summary - Optional: Summary text for this point of interest.
        detailTitle - Optional: Title to be used when POI detail card is visible.
        detailSubtitle - Optional: Subtitle to be used when POI detail card is visible.
        detailSummary - Optional: Summary text to be used when POI detail card is visible.
        pinImage - Optional: a custom unselected map annotation image.
        selectedPinImage - Optional: a custom selected map annotation image.
      • pinImageSize

        public static CGSize pinImageSize()
        If you provide a custom image for this point of interest, the unselected image must be this size. Any image larger than this size will be resized. API-Since: 16.0
      • selectedPinImage

        @Nullable
        public @Nullable UIImage selectedPinImage()
        Image used for map view selected annotation. To properly size your pin image, your app should size them to the display scale of the car screen. See -[CPInterfaceController carTraitCollection]. API-Since: 16.0
      • selectedPinImageSize

        public static CGSize selectedPinImageSize()
        If you provide a custom image for this point of interest, the selected image must be this size. Any image larger than this size will be resized. API-Since: 16.0
      • setSelectedPinImage

        public void setSelectedPinImage​(@Nullable
                                        @Nullable UIImage value)
        Image used for map view selected annotation. To properly size your pin image, your app should size them to the display scale of the car screen. See -[CPInterfaceController carTraitCollection]. API-Since: 16.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.