WXPay

open class WXPay(context: Context)

微信支付

Author

Jenly

Follow me

Constructors

Link copied to clipboard
constructor(context: Context, appId: String)

构造

constructor(context: Context)

Types

Link copied to clipboard
interface OnPayListener

微信支付监听

Functions

Link copied to clipboard
fun sendReq(req: WXPayReq)
fun sendReq(req: PayReq)
fun sendReq(req: WXPayReq, listener: WXPay.OnPayListener)
fun sendReq(req: PayReq, listener: WXPay.OnPayListener)

发送支付请求;SDK拉起微信支付

Link copied to clipboard

设置支付监听