Package apple.passkit

Class PKIdentityElement

  • All Implemented Interfaces:
    NSCopying, NSObject

    public class PKIdentityElement
    extends NSObject
    implements NSCopying
    Elements that can be requested from identity documents. Not all elements are supported by all document types. If an element is requested from a type that does not support it, the element is ignored. API-Since: 16.0
    • Constructor Detail

      • PKIdentityElement

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • addressElement

        @NotNull
        public static @NotNull PKIdentityElement addressElement()
        The address on record with the issuer.
      • ageElement

        @NotNull
        public static @NotNull PKIdentityElement ageElement()
        The user's age in years.
      • ageThresholdElementWithAge

        @NotNull
        public static @NotNull PKIdentityElement ageThresholdElementWithAge​(long age)
        Boolean indicating whether the user's age is at least the given age. For example, ageThresholdElementWithAge:21 will return true if the user is at least 21 years old. This value is only available for a given age if it was provided by the issuer. If this value is not available, it will automatically fall back to a request for age.
      • allocWithZone

        public static PKIdentityElement 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()
      • copyWithZone

        @NotNull
        public @NotNull java.lang.Object copyWithZone​(@Nullable
                                                      @Nullable org.moe.natj.general.ptr.VoidPtr zone)
        Specified by:
        copyWithZone in interface NSCopying
      • dateOfBirthElement

        @NotNull
        public static @NotNull PKIdentityElement dateOfBirthElement()
        The user's date of birth.
      • debugDescription_static

        public static java.lang.String debugDescription_static()
      • description_static

        public static java.lang.String description_static()
      • documentExpirationDateElement

        @NotNull
        public static @NotNull PKIdentityElement documentExpirationDateElement()
        The document's expiration date. This is usually the expiration date of the corresponding physical document, if applicable.
      • documentIssueDateElement

        @NotNull
        public static @NotNull PKIdentityElement documentIssueDateElement()
        The document's issue date. This is usually the issue date of the corresponding physical document, if applicable.
      • documentNumberElement

        @NotNull
        public static @NotNull PKIdentityElement documentNumberElement()
        The doument's number, as defined by the document's issuing authority.
      • drivingPrivilegesElement

        @NotNull
        public static @NotNull PKIdentityElement drivingPrivilegesElement()
        The user's driving privileges.
      • familyNameElement

        @NotNull
        public static @NotNull PKIdentityElement familyNameElement()
        The user's family name or last name.
      • givenNameElement

        @NotNull
        public static @NotNull PKIdentityElement givenNameElement()
        The user's given name or first name.
      • hash_static

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

        @NotNull
        public static @NotNull PKIdentityElement issuingAuthorityElement()
        The state or government that issued the identity document.
      • keyPathsForValuesAffectingValueForKey

        @NotNull
        public static @NotNull NSSet<java.lang.String> keyPathsForValuesAffectingValueForKey​(@NotNull
                                                                                             @NotNull java.lang.String key)
      • portraitElement

        @NotNull
        public static @NotNull PKIdentityElement portraitElement()
        The portrait of the user on record with the issuer.
      • 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()
      • documentDHSComplianceStatusElement

        @NotNull
        public static @NotNull PKIdentityElement documentDHSComplianceStatusElement()
        The document's DHS (U.S. Department of Homeland Security) compliance status. This is also known as the document's "REAL ID status". API-Since: 17.2
      • sexElement

        @NotNull
        public static @NotNull PKIdentityElement sexElement()
        The user's sex. API-Since: 17.2
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.