Package apple.passkit

Class PKShareablePassMetadata

  • All Implemented Interfaces:
    NSObject

    public class PKShareablePassMetadata
    extends NSObject
    API-Since: 14.0
    • Constructor Detail

      • PKShareablePassMetadata

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

      • accessInstanceVariablesDirectly

        public static boolean accessInstanceVariablesDirectly()
      • 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)
      • cardConfigurationIdentifier

        @NotNull
        public @NotNull java.lang.String cardConfigurationIdentifier()
      • classFallbacksForKeyedArchiver

        @NotNull
        public static @NotNull NSArray<java.lang.String> classFallbacksForKeyedArchiver()
      • classForKeyedUnarchiver

        @NotNull
        public static @NotNull org.moe.natj.objc.Class classForKeyedUnarchiver()
      • credentialIdentifier

        @NotNull
        public @NotNull java.lang.String credentialIdentifier()
        A unique identifier for provisioning credential data.
      • 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()
      • initWithProvisioningCredentialIdentifierCardConfigurationIdentifierSharingInstanceIdentifierPassThumbnailImageOwnerDisplayNameLocalizedDescription

        @Deprecated
        public PKShareablePassMetadata initWithProvisioningCredentialIdentifierCardConfigurationIdentifierSharingInstanceIdentifierPassThumbnailImageOwnerDisplayNameLocalizedDescription​(@NotNull
                                                                                                                                                                                          @NotNull java.lang.String credentialIdentifier,
                                                                                                                                                                                          @NotNull
                                                                                                                                                                                          @NotNull java.lang.String cardConfigurationIdentifier,
                                                                                                                                                                                          @NotNull
                                                                                                                                                                                          @NotNull java.lang.String sharingInstanceIdentifier,
                                                                                                                                                                                          @NotNull
                                                                                                                                                                                          @NotNull CGImageRef passThumbnailImage,
                                                                                                                                                                                          @NotNull
                                                                                                                                                                                          @NotNull java.lang.String ownerDisplayName,
                                                                                                                                                                                          @NotNull
                                                                                                                                                                                          @NotNull java.lang.String localizedDescription)
        Deprecated.
        API-Since: 14.0 Deprecated-Since: 16.0 Deprecated-Message: Use initWithProvisioningCredentialIdentifier:sharingInstanceIdentifier:cardConfigurationIdentifier:passPreviewMetadata:
      • 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)
      • localizedDescription

        @NotNull
        @Deprecated
        public @NotNull java.lang.String localizedDescription()
        Deprecated.
        API-Since: 14.0 Deprecated-Since: 16.0
      • ownerDisplayName

        @NotNull
        @Deprecated
        public @NotNull java.lang.String ownerDisplayName()
        Deprecated.
        API-Since: 14.0 Deprecated-Since: 16.0
      • passThumbnailImage

        @NotNull
        @Deprecated
        public @NotNull CGImageRef passThumbnailImage()
        Deprecated.
        API-Since: 14.0 Deprecated-Since: 16.0
      • 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)
      • sharingInstanceIdentifier

        @NotNull
        public @NotNull java.lang.String sharingInstanceIdentifier()
        A unique identifier that refers to an instance of sharing of credentials to a user's device initiated from another user, device, or web.
      • superclass_static

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

        public static long version_static()
      • accountHash

        @NotNull
        public @NotNull java.lang.String accountHash()
        An identifier representing an entity that uses a FIDO protocol to directly authenticate users. API-Since: 15.0
      • initWithProvisioningCredentialIdentifierSharingInstanceIdentifierPassThumbnailImageOwnerDisplayNameLocalizedDescriptionAccountHashTemplateIdentifierRelyingPartyIdentifierRequiresUnifiedAccessCapableDevice

        @Deprecated
        public PKShareablePassMetadata initWithProvisioningCredentialIdentifierSharingInstanceIdentifierPassThumbnailImageOwnerDisplayNameLocalizedDescriptionAccountHashTemplateIdentifierRelyingPartyIdentifierRequiresUnifiedAccessCapableDevice​(@NotNull
                                                                                                                                                                                                                                                    @NotNull java.lang.String credentialIdentifier,
                                                                                                                                                                                                                                                    @NotNull
                                                                                                                                                                                                                                                    @NotNull java.lang.String sharingInstanceIdentifier,
                                                                                                                                                                                                                                                    @NotNull
                                                                                                                                                                                                                                                    @NotNull CGImageRef passThumbnailImage,
                                                                                                                                                                                                                                                    @NotNull
                                                                                                                                                                                                                                                    @NotNull java.lang.String ownerDisplayName,
                                                                                                                                                                                                                                                    @NotNull
                                                                                                                                                                                                                                                    @NotNull java.lang.String localizedDescription,
                                                                                                                                                                                                                                                    @NotNull
                                                                                                                                                                                                                                                    @NotNull java.lang.String accountHash,
                                                                                                                                                                                                                                                    @NotNull
                                                                                                                                                                                                                                                    @NotNull java.lang.String templateIdentifier,
                                                                                                                                                                                                                                                    @NotNull
                                                                                                                                                                                                                                                    @NotNull java.lang.String relyingPartyIdentifier,
                                                                                                                                                                                                                                                    boolean requiresUnifiedAccessCapableDevice)
        Deprecated.
        API-Since: 15.0 Deprecated-Since: 16.0 Deprecated-Message: Use initWithProvisioningCredentialIdentifier:sharingInstanceIdentifier:cardTemplateIdentifier:passPreviewMetadata:
      • relyingPartyIdentifier

        @NotNull
        public @NotNull java.lang.String relyingPartyIdentifier()
        Unique accountHash representing the external account in partner's system. This value needs to be the same for all the provisionings pointing to the same user account. API-Since: 15.0
      • requiresUnifiedAccessCapableDevice

        public boolean requiresUnifiedAccessCapableDevice()
        Specify that the passes to provision require a unified access capable device. This is primarily used when provisioning a pass that uses an ISO18013-5 payload. API-Since: 15.0
      • templateIdentifier

        @NotNull
        @Deprecated
        public @NotNull java.lang.String templateIdentifier()
        Deprecated.
        Identifier referencing a card template registered in portal - identifies a combination of cardProfileIdentifier, cardConfigurationIdentifier, and cardArtBundleName. API-Since: 15.0 Deprecated-Since: 16.0
      • cardTemplateIdentifier

        @NotNull
        public @NotNull java.lang.String cardTemplateIdentifier()
        Identifier referencing a card template registered in portal - identifies a combination of cardProfileIdentifier, cardConfigurationIdentifier, and cardArtBundleName. API-Since: 16.0
      • initWithProvisioningCredentialIdentifierSharingInstanceIdentifierCardConfigurationIdentifierPreview

        public PKShareablePassMetadata initWithProvisioningCredentialIdentifierSharingInstanceIdentifierCardConfigurationIdentifierPreview​(@NotNull
                                                                                                                                           @NotNull java.lang.String credentialIdentifier,
                                                                                                                                           @NotNull
                                                                                                                                           @NotNull java.lang.String sharingInstanceIdentifier,
                                                                                                                                           @NotNull
                                                                                                                                           @NotNull java.lang.String templateIdentifier,
                                                                                                                                           @NotNull
                                                                                                                                           @NotNull PKShareablePassMetadataPreview preview)
        API-Since: 16.0
      • initWithProvisioningCredentialIdentifierSharingInstanceIdentifierCardTemplateIdentifierPreview

        public PKShareablePassMetadata initWithProvisioningCredentialIdentifierSharingInstanceIdentifierCardTemplateIdentifierPreview​(@NotNull
                                                                                                                                      @NotNull java.lang.String credentialIdentifier,
                                                                                                                                      @NotNull
                                                                                                                                      @NotNull java.lang.String sharingInstanceIdentifier,
                                                                                                                                      @NotNull
                                                                                                                                      @NotNull java.lang.String templateIdentifier,
                                                                                                                                      @NotNull
                                                                                                                                      @NotNull PKShareablePassMetadataPreview preview)
        API-Since: 16.0
      • serverEnvironmentIdentifier

        @NotNull
        public @NotNull java.lang.String serverEnvironmentIdentifier()
        Identifer referencing the target server environment Apple Pay servers should reach out to to provision this pass. API-Since: 16.0
      • setAccountHash

        public void setAccountHash​(@NotNull
                                   @NotNull java.lang.String value)
        An identifier representing an entity that uses a FIDO protocol to directly authenticate users. API-Since: 15.0
      • setRelyingPartyIdentifier

        public void setRelyingPartyIdentifier​(@NotNull
                                              @NotNull java.lang.String value)
        Unique accountHash representing the external account in partner's system. This value needs to be the same for all the provisionings pointing to the same user account. API-Since: 15.0
      • setRequiresUnifiedAccessCapableDevice

        public void setRequiresUnifiedAccessCapableDevice​(boolean value)
        Specify that the passes to provision require a unified access capable device. This is primarily used when provisioning a pass that uses an ISO18013-5 payload. API-Since: 15.0
      • setServerEnvironmentIdentifier

        public void setServerEnvironmentIdentifier​(@NotNull
                                                   @NotNull java.lang.String value)
        Identifer referencing the target server environment Apple Pay servers should reach out to to provision this pass. API-Since: 16.0
      • useStoredAccessor

        @Deprecated
        public static boolean useStoredAccessor()
        Deprecated.