Package apple.carplay

Class CPContact

    • Constructor Detail

      • CPContact

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • actions

        @Nullable
        public @Nullable NSArray<? extends CPButton> actions()
        Action buttons that will be displayed when this @c CPContact is displayed in a @c CPContactTemplate.
      • allocWithZone

        public static CPContact 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()
      • image

        @NotNull
        public @NotNull UIImage image()
        An image representing the contact.
      • informativeText

        @Nullable
        public @Nullable java.lang.String informativeText()
        Optional text that will be displayed in addition to the contact name
      • initWithNameImage

        public CPContact initWithNameImage​(@NotNull
                                           @NotNull java.lang.String name,
                                           @NotNull
                                           @NotNull UIImage image)
        Initializes a new contact to be used with @c CPContactTemplate, with a name and image [@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. UIImageAsset is used to combine multiple UIImages with different trait collections into a single UIImage. To properly size your list images, your app should consider the display scale of the car screen. See -[CPInterfaceController carTraitCollection].
        Parameters:
        name - The name to be displayed for this contact.
        image - An image for this contact. The maximum image size in points is CPButtonMaximumImageSize; larger images will be scaled down.
      • 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)
      • name

        @NotNull
        public @NotNull java.lang.String name()
        The name that will be displayed for this contact.
      • new_objc

        public static CPContact new_objc()
      • resolveClassMethod

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

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

        public void setActions​(@Nullable
                               @Nullable NSArray<? extends CPButton> value)
        Action buttons that will be displayed when this @c CPContact is displayed in a @c CPContactTemplate.
      • setImage

        public void setImage​(@NotNull
                             @NotNull UIImage value)
        An image representing the contact.
      • setInformativeText

        public void setInformativeText​(@Nullable
                                       @Nullable java.lang.String value)
        Optional text that will be displayed in addition to the contact name
      • setName

        public void setName​(@NotNull
                            @NotNull java.lang.String value)
        The name that will be displayed for this contact.
      • setSubtitle

        public void setSubtitle​(@Nullable
                                @Nullable java.lang.String value)
        Optional text that will be displayed in addition to the contact name
      • setVersion_static

        public static void setVersion_static​(long aVersion)
      • subtitle

        @Nullable
        public @Nullable java.lang.String subtitle()
        Optional text that will be displayed in addition to the contact name
      • 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()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.