Package apple.carplay

Class CPListImageRowItem

    • Constructor Detail

      • CPListImageRowItem

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static CPListImageRowItem 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()
      • gridImages

        @NotNull
        public @NotNull NSArray<? extends UIImage> gridImages()
        Read-only access to the grid images shown in a row in the cell. [@note] The maximum number of images shown is @c CPMaximumNumberOfGridImages. If you supply more images, only the first @c CPMaximumNumberOfGridImages will be used.
      • hash_static

        public static long hash_static()
      • initWithTextImages

        public CPListImageRowItem initWithTextImages​(@NotNull
                                                     @NotNull java.lang.String text,
                                                     @NotNull
                                                     @NotNull NSArray<? extends UIImage> images)
        Initialize a list image row item with a text string and an array of @c UIImage for the grid of images. 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. UIImageAsset is used to combine multiple UIImages with different trait collections into a single UIImage. [@note] The expected image size is given by +[CPListImageRowItem maximumImageSize]. Images provided will be resized to this size if necessary. To properly size your images, your app should size them to the display scale of the car screen. See -[CPInterfaceController carTraitCollection].
      • 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)
      • maximumImageSize

        public static CGSize maximumImageSize()
        The expected image size for the grid images in your @c CPListImageRowItem. Images provided will be resized to this size. To properly size your images, your app should size them to the display scale of the car screen. See -[CPInterfaceController carTraitCollection].
      • resolveClassMethod

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

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

        public void setText​(@Nullable
                            @Nullable java.lang.String value)
        The primary text shown in a cell displaying this list item.
      • setUserInfo

        public void setUserInfo​(@Nullable
                                @Nullable java.lang.Object value)
        Description copied from interface: CPListTemplateItem
        Any custom user info related to this item.
        Specified by:
        setUserInfo in interface CPListTemplateItem
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • superclass_static

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

        @Nullable
        public @Nullable java.lang.String text()
        Description copied from interface: CPListTemplateItem
        The primary text shown in a cell displaying this list item.
        Specified by:
        text in interface CPListTemplateItem
      • updateImages

        public void updateImages​(@NotNull
                                 @NotNull NSArray<? extends UIImage> gridImages)
        Update the images displayed in this image row item. If this image row item is already displayed in a list template, this image row item will be automatically reloaded. 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. UIImageAsset is used to combine multiple UIImages with different trait collections into a single UIImage.
        See Also:
        update/reload the title of the image row item, assign to the @c text property of the image row item.
      • userInfo

        @Nullable
        public @Nullable java.lang.Object userInfo()
        Description copied from interface: CPListTemplateItem
        Any custom user info related to this item.
        Specified by:
        userInfo in interface CPListTemplateItem
      • version_static

        public static long version_static()
      • isEnabled

        public boolean isEnabled()
        Description copied from interface: CPListTemplateItem
        A Boolean value indicating whether the button is enabled. Set the value of this property to @c YES to enable the button or @c NO to disable it. The default value of this property is @c YES. API-Since: 15.0
        Specified by:
        isEnabled in interface CPListTemplateItem
      • setEnabled

        public void setEnabled​(boolean value)
        Description copied from interface: CPListTemplateItem
        A Boolean value indicating whether the button is enabled. Set the value of this property to @c YES to enable the button or @c NO to disable it. The default value of this property is @c YES. API-Since: 15.0
        Specified by:
        setEnabled in interface CPListTemplateItem
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.