Package apple.carplay

Class CPContactMessageButton

  • All Implemented Interfaces:
    NSObject

    public class CPContactMessageButton
    extends CPButton
    API-Since: 14.0
    • Constructor Detail

      • CPContactMessageButton

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • allocWithZone

        public static CPContactMessageButton 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()
      • initWithImageHandler

        public CPContactMessageButton initWithImageHandler​(@NotNull
                                                           @NotNull UIImage image,
                                                           @Nullable
                                                           CPButton.Block_initWithImageHandler handler)
        Description copied from class: CPButton
        Initialize a button for the Contact, POI, or Information templates with a custom image and a handler, called when the user taps this button. [@note] This class is only available in templates that support buttons with custom images, like the Contact template. 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.
        Overrides:
        initWithImageHandler in class CPButton
        Parameters:
        image - An image to be displayed in this button. The maximum image size is given by @c CPButtonMaximumImageSize.
        handler - A block that will be called when the user taps this button.
      • initWithPhoneOrEmail

        public CPContactMessageButton initWithPhoneOrEmail​(@NotNull
                                                           @NotNull java.lang.String phoneOrEmail)
        Create a contact button that, when tapped, launches to Siri to compose a message to this entity. When tapped, this button does NOT call a handler in your app. Instead, it will launch to Siri. To compose a message, you must provide a phone OR email for this contact.
        Parameters:
        phoneOrEmail - A phone or email address for this contact. This will not be displayed in the button, but it is necessary for Siri to compose a message to this contact entity.
      • 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)
      • phoneOrEmail

        @NotNull
        public @NotNull java.lang.String phoneOrEmail()
      • resolveClassMethod

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

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

        public static void setVersion_static​(long aVersion)
      • superclass_static

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

        public static long version_static()
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.