public class CardEntryActivityResult
Represents the result of a CardEntryManager.startCardEntryActivity request. The result will
be an instance of class CardEntryActivityResult.Success if the request is successful, or class CardEntryActivityResult.Canceled if the user canceled
the request.
| Modifier and Type | Class and Description |
|---|---|
static class |
CardEntryActivityResult.Canceled
The result when the user canceled the Square card entry activity before a card was successfully
entered.
|
static class |
CardEntryActivityResult.Success
Represents the result of a successful
CardEntryManager.startCardEntryActivity request. |
| Modifier and Type | Method and Description |
|---|---|
CardEntryActivityResult.Success |
getSuccessValue() |
boolean |
isCanceled() |
boolean |
isSuccess() |
public boolean isSuccess()
CardEntryManager.startCardEntryActivity request was successful.
See CardEntryActivityResult.getSuccessValue for the result.public CardEntryActivityResult.Success getSuccessValue()
CardEntryManager.startCardEntryActivity request.CardEntryActivityResult.isSuccess is false.public boolean isCanceled()