-
public final class AuthBuildForWX extends AbsAuthBuildForWX
-
-
Constructor Summary
Constructors Constructor Description AuthBuildForWX()
-
Method Summary
Modifier and Type Method Description final StringgetWith()UnitregisterCallback(Function2<AuthResult, Activity, Unit> callback)AuthResultcheckAppInstalled()AuthResultlaunchMiniProgram(String id, String path, Integer type)<ERROR CLASS>login()<ERROR CLASS>shareLink(String url, String title, String des, ByteArray thumb, WXShareScene shareScene)<ERROR CLASS>shareImage(Bitmap bitmap, String title, String des, ByteArray thumb, WXShareScene shareScene)<ERROR CLASS>pay(String partnerId, String prepayId, String nonceStr, String timeStamp, String sign, String packageValue)<ERROR CLASS>payTreaty(String data, Boolean useOld)-
-
Method Detail
-
registerCallback
Unit registerCallback(Function2<AuthResult, Activity, Unit> callback)
-
checkAppInstalled
AuthResult checkAppInstalled()
-
launchMiniProgram
AuthResult launchMiniProgram(String id, String path, Integer type)
-
login
<ERROR CLASS> login()
-
shareLink
<ERROR CLASS> shareLink(String url, String title, String des, ByteArray thumb, WXShareScene shareScene)
-
shareImage
<ERROR CLASS> shareImage(Bitmap bitmap, String title, String des, ByteArray thumb, WXShareScene shareScene)
-
pay
<ERROR CLASS> pay(String partnerId, String prepayId, String nonceStr, String timeStamp, String sign, String packageValue)
-
-
-
-