PaymentSDK
Mobile payment SDK
de.wirecard.paymentsdk.WirecardInputFormsStateManager Class Reference

Manages communication between card input forms and WirecardInputFormsStateChangedListener. More...

+ Collaboration diagram for de.wirecard.paymentsdk.WirecardInputFormsStateManager:

Public Instance Methods

 WirecardInputFormsStateManager (Context context, WirecardInputFormsStateChangedListener wirecardInputFormsStateChangedListener)
 Constructor. More...
 
void startReceivingEvents ()
 Start receiving input forms state events. More...
 
void stopReceivingEvents ()
 Stop receiving input forms state events. More...
 

Static Public Attributes

static final String E_FORM_INPUT_STATE_CHANGED = "E_FORM_INPUT_STATE_CHANGED"
 
static final int RESULT_OK = 1
 
static final int RESULT_ERROR = 0
 
static final String TAG_RESULT = "TAG_RESULT"
 
static final String TAG_RESULT_CODE = "TAG_RESULT_CODE"
 

Private Instance Methods

void handleResponse (Intent data)
 

Private Fields

WirecardInputFormsStateChangedListener mWirecardInputFormsStateChangedListener
 
Context mContext
 
BroadcastReceiver mBroadcastReceiver
 

Detailed Description

Manages communication between card input forms and WirecardInputFormsStateChangedListener.

Constructor & Destructor Documentation

de.wirecard.paymentsdk.WirecardInputFormsStateManager.WirecardInputFormsStateManager ( Context  context,
WirecardInputFormsStateChangedListener  wirecardInputFormsStateChangedListener 
)
inline

Constructor.

Parameters
context
wirecardInputFormsStateChangedListener

Method Documentation

void de.wirecard.paymentsdk.WirecardInputFormsStateManager.handleResponse ( Intent  data)
inlineprivate
void de.wirecard.paymentsdk.WirecardInputFormsStateManager.startReceivingEvents ( )
inline

Start receiving input forms state events.

void de.wirecard.paymentsdk.WirecardInputFormsStateManager.stopReceivingEvents ( )
inline

Stop receiving input forms state events.

Member Data Documentation

final String de.wirecard.paymentsdk.WirecardInputFormsStateManager.E_FORM_INPUT_STATE_CHANGED = "E_FORM_INPUT_STATE_CHANGED"
static
BroadcastReceiver de.wirecard.paymentsdk.WirecardInputFormsStateManager.mBroadcastReceiver
private
Initial value:
= new BroadcastReceiver() {
@Override
public void onReceive(Context context, Intent data) {
}
}
Context de.wirecard.paymentsdk.WirecardInputFormsStateManager.mContext
private
WirecardInputFormsStateChangedListener de.wirecard.paymentsdk.WirecardInputFormsStateManager.mWirecardInputFormsStateChangedListener
private
final int de.wirecard.paymentsdk.WirecardInputFormsStateManager.RESULT_ERROR = 0
static
final int de.wirecard.paymentsdk.WirecardInputFormsStateManager.RESULT_OK = 1
static
final String de.wirecard.paymentsdk.WirecardInputFormsStateManager.TAG_RESULT = "TAG_RESULT"
static
final String de.wirecard.paymentsdk.WirecardInputFormsStateManager.TAG_RESULT_CODE = "TAG_RESULT_CODE"
static