Package apple.carplay

Class CPListSection

    • Constructor Detail

      • CPListSection

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static CPListSection 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()
      • hash_static

        public static long hash_static()
      • header

        @Nullable
        public @Nullable java.lang.String header()
        Optional string to use for a simple header in this section.
      • initWithItemsHeaderSectionIndexTitle

        public CPListSection initWithItemsHeaderSectionIndexTitle​(@NotNull
                                                                  @NotNull NSArray<?> items,
                                                                  @Nullable
                                                                  @Nullable java.lang.String header,
                                                                  @Nullable
                                                                  @Nullable java.lang.String sectionIndexTitle)
      • 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)
      • items

        @NotNull
        public @NotNull NSArray<?> items()
        Items appearing in this section.
      • 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)
      • sectionIndexTitle

        @Nullable
        public @Nullable java.lang.String sectionIndexTitle()
        An optional section index title to use in a table displaying this section. The system will enforce a maximum length of 1 for each section index title - in other words, you must choose single-character section index titles.
      • 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
      • version_static

        public static long version_static()
      • indexOfItem

        public long indexOfItem​(@NotNull
                                @NotNull CPListTemplateItem item)
        Search for an item in this section, returning its index or @c NSNotFound if not found.
      • itemAtIndex

        @NotNull
        public @NotNull CPListTemplateItem itemAtIndex​(long index)
        Convenience access to the item in this section at the specified index.
      • headerButton

        @Nullable
        public @Nullable CPButton headerButton()
        API-Since: 15.0
      • headerImage

        @Nullable
        public @Nullable UIImage headerImage()
        API-Since: 15.0
      • headerSubtitle

        @Nullable
        public @Nullable java.lang.String headerSubtitle()
        Optional section header elements used by the enhanced header in this section. API-Since: 15.0
      • initWithItemsHeaderHeaderSubtitleHeaderImageHeaderButtonSectionIndexTitle

        public CPListSection initWithItemsHeaderHeaderSubtitleHeaderImageHeaderButtonSectionIndexTitle​(@NotNull
                                                                                                       @NotNull NSArray<?> items,
                                                                                                       @NotNull
                                                                                                       @NotNull java.lang.String header,
                                                                                                       @Nullable
                                                                                                       @Nullable java.lang.String headerSubtitle,
                                                                                                       @Nullable
                                                                                                       @Nullable UIImage headerImage,
                                                                                                       @Nullable
                                                                                                       @Nullable CPButton headerButton,
                                                                                                       @Nullable
                                                                                                       @Nullable java.lang.String sectionIndexTitle)
        Create a section with a list of items and an optional header containing labels, an image, and a button. [@note] The maximum size of the section header image is given by CPMaximumListSectionImageSize. When providing an image, your app may 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. To properly size your header image, your app should consider the display scale of the car screen. See -[CPInterfaceController carTraitCollection]. API-Since: 15.0
      • setHeaderImage

        public void setHeaderImage​(@Nullable
                                   @Nullable UIImage value)
        API-Since: 15.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.