public class WeChatPayActionComponent
extends <any>
Modifier and Type | Field and Description |
---|---|
static <any> |
PROVIDER |
Constructor and Description |
---|
WeChatPayActionComponent(android.app.Application application,
WeChatPayActionConfiguration configuration) |
Modifier and Type | Method and Description |
---|---|
protected java.util.List<java.lang.String> |
getSupportedActionTypes() |
protected void |
handleActionInternal(android.app.Activity activity,
Action action) |
void |
handleResultIntent(android.content.Intent intent)
Pass the result Intent from the WeChatPay SDK response on
Activity.onNewIntent(Intent) . |
public WeChatPayActionComponent(android.app.Application application, WeChatPayActionConfiguration configuration)
public void handleResultIntent(android.content.Intent intent)
Activity.onNewIntent(Intent)
.
You can check if the Intent is correct by calling WeChatPayUtils.isResultIntent(Intent)
intent
- The intent result from WeChatPay SDK.protected java.util.List<java.lang.String> getSupportedActionTypes()
protected void handleActionInternal(android.app.Activity activity, Action action) throws ComponentException
ComponentException