public static PaymentSession.PaymentSessionListener
Represents a listener for PaymentSession actions, used to update the host activity when necessary.
void onCommunicatingStateChanged(boolean isCommunicating)
Notification method called when network communication is beginning or ending.
trueif communication is starting,
falseif it is stopping.
void onError(int errorCode, @NotNull java.lang.String errorMessage)
Notification method called when an error has occurred.
errorCode- a network code associated with the error
errorMessage- a message associated with the error