public class

WalletAction

extends OpenExternalUrlAction
java.lang.Object
   ↳ com.urbanairship.actions.Action
     ↳ com.urbanairship.actions.OpenExternalUrlAction
       ↳ com.urbanairship.actions.WalletAction

Class Overview

Action for opening Android Pay deep links.

Accepted situations: SITUATION_PUSH_OPENED, SITUATION_WEB_VIEW_INVOCATION, SITUATION_MANUAL_INVOCATION, SITUATION_AUTOMATION, and SITUATION_FOREGROUND_NOTIFICATION_ACTION_BUTTON.

Accepted argument value types: URL as string

Result value: The URI that was opened.

Default Registration Names: ^w, wallet_action

Default Registration Predicate: none

Summary

Constants
String DEFAULT_REGISTRY_NAME Default registry name
String DEFAULT_REGISTRY_SHORT_NAME Default registry short name
[Expand]
Inherited Constants
From class com.urbanairship.actions.OpenExternalUrlAction
From class com.urbanairship.actions.Action
Public Constructors
WalletAction()
Default constructor.
Public Methods
boolean acceptsArguments(ActionArguments arguments)
The open external URL action accepts Strings that can be parsed as URL argument value types.
ActionResult perform(ActionArguments arguments)
Performs the action.
[Expand]
Inherited Methods
From class com.urbanairship.actions.OpenExternalUrlAction
From class com.urbanairship.actions.Action
From class java.lang.Object

Constants

public static final String DEFAULT_REGISTRY_NAME

Default registry name

Constant Value: "wallet_action"

public static final String DEFAULT_REGISTRY_SHORT_NAME

Default registry short name

Constant Value: "^w"

Public Constructors

public WalletAction ()

Default constructor.

Public Methods

public boolean acceptsArguments (ActionArguments arguments)

The open external URL action accepts Strings that can be parsed as URL argument value types.

Parameters
arguments The action arguments.
Returns
  • true if the action can perform with the arguments, otherwise false.

public ActionResult perform (ActionArguments arguments)

Performs the action.

Parameters
arguments The action arguments.
Returns
  • The result of the action.