DefaultWeChatPayReflectionHelper

Constructors

Link copied to clipboard
constructor()

Functions

Link copied to clipboard
open override fun createIWXAPIEventHandler(handler: InvocationHandler): Any

Creates a proxy object for "com.tencent.mm.opensdk.openapi.IWXAPIEventHandler".

Link copied to clipboard
open override fun createPayReq(weChat: WeChat): Any

Creates "com.tencent.mm.opensdk.modelpay.PayReq" with a WeChat object and have "PayReq.Options.callbackClassName" set as WeChatPayAuthActivity's name

Link copied to clipboard
open override fun createWXAPI(context: Context): Any

Calls "WXAPIFactory.createWXAPI(Context var0, String var1): IWXAPI"

Link copied to clipboard
open override fun getRespErrorCode(payResp: Any): Int

Calls "com.tencent.mm.opensdk.modelpay.PayResp.PayResp#errorCode"

Link copied to clipboard
open override fun handleIntent(weChatApi: Any, intent: Intent?, iWXAPIEventHandler: Any): Boolean

Calls "IWXAPI.handleIntent(Intent var1, IWXAPIEventHandler var2): Boolean"

Link copied to clipboard
open override fun isWeChatPayAvailable(): Boolean

Checks if WECHAT_PAY_GRADLE_DEP dependency available.

Link copied to clipboard
open override fun registerApp(iWxApi: Any, appId: String?): Boolean

Calls "IWXAPI.registerApp(String var1): Boolean"

Link copied to clipboard
open override fun sendReq(iWxApi: Any, baseReq: Any): Boolean

Calls "IWXAPI.sendReq(BaseReq var1): Boolean"