Interface PKShareSecureElementPassViewControllerDelegate


  • public interface PKShareSecureElementPassViewControllerDelegate
    API-Since: 16.0
    • Method Detail

      • shareSecureElementPassViewControllerDidCreateShareURLActivationCode

        default void shareSecureElementPassViewControllerDidCreateShareURLActivationCode​(@NotNull
                                                                                         @NotNull PKShareSecureElementPassViewController controller,
                                                                                         @Nullable
                                                                                         @Nullable NSURL universalShareURL,
                                                                                         @Nullable
                                                                                         @Nullable java.lang.String activationCode)
        This is called when using the `PKShareSecureElementPassViewControllerFlowDoNotPromptToShareURL` flow. Upon a successful share the share URL will be returned to be sent over an internal messaging channel. In an activation code was attached to the share it will also be returned. It it is up to the delegate to show the user the activationCode so that the recipient can successfully redeem the share.
      • shareSecureElementPassViewControllerDidFinishWithResult

        void shareSecureElementPassViewControllerDidFinishWithResult​(@NotNull
                                                                     @NotNull PKShareSecureElementPassViewController controller,
                                                                     long result)
        Called once the share pass flow finishes. The delegate is responsible for dismissing the view controller in this method.