Package apple.passkit.protocol
Interface PKShareSecureElementPassViewControllerDelegate
-
public interface PKShareSecureElementPassViewControllerDelegateAPI-Since: 16.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Default Methods Modifier and Type Method Description default voidshareSecureElementPassViewControllerDidCreateShareURLActivationCode(@NotNull PKShareSecureElementPassViewController controller, @Nullable NSURL universalShareURL, @Nullable java.lang.String activationCode)This is called when using the `PKShareSecureElementPassViewControllerFlowDoNotPromptToShareURL` flow.voidshareSecureElementPassViewControllerDidFinishWithResult(@NotNull PKShareSecureElementPassViewController controller, long result)Called once the share pass flow finishes.
-
-
-
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.
-
-