Jverify class
Methods
-
addAuthPageEventListener(JVAuthPageEventListener callback)
→ dynamic
-
授权页的点击事件, @since v2.4.0
-
addClikWidgetEventListener(String eventId, JVClickWidgetEventListener callback)
→ dynamic
-
自定义控件的点击事件
-
addLoginAuthCallBackListener(JVLoginAuthCallBackListener callback)
→ dynamic
-
loginAuth 接口回调的监听 (旧,用于配合旧版loginAuthSyncApi使用)
-
addSDKSetupCallBackListener(JVSDKSetupCallBackListener? callback)
→ dynamic
-
SDK 初始化回调监听
-
checkVerifyEnable()
→ Future<Map>
-
-
clearPreLoginCache()
→ void
-
-
dismissLoginAuthView()
→ void
-
-
getSMSCode({String? phoneNum, String? signId, String? tempId})
→ Future<Map>
-
-
getToken({String? timeOut})
→ Future<Map>
-
-
isInitSuccess()
→ Future<Map>
-
-
isRepeatRequest({required String method})
→ Map?
-
-
loginAuth(bool autoDismiss, {int timeout = 10000})
→ Future<Map>
-
-
loginAuthSyncApi({bool autoDismiss = false, int timeout = 10000})
→ void
-
-
loginAuthSyncApi2({required bool autoDismiss, int timeout = 10000, bool enableSms = false, JVLoginAuthCallBackListener? loginAuthcallback, JVAuthPageEventListener? pageEventCallback})
→ void
-
-
noSuchMethod(Invocation invocation)
→ dynamic
-
Invoked when a nonexistent method or property is accessed.
inherited
-
preLogin({int timeOut = 10000})
→ Future<Map>
-
-
setCollectionAuth(bool auth)
→ void
-
合规采集开关
-
setCustomAuthorizationView(bool isAutorotate, JVUIConfig portraitConfig, {JVUIConfig? landscapeConfig, List<JVCustomWidget>? widgets})
→ void
-
-
setCustomAuthViewAllWidgets(JVUIConfig uiConfig, {List<JVCustomWidget>? widgets})
→ void
-
(不建议使用,建议使用 setAuthorizationView 接口)自定义授权页面,界面原始控件、新增自定义控件
-
setDebugMode(bool debug)
→ void
-
设置 debug 模式
-
setGetCodeInternal(int intervalTime)
→ void
-
设置前后两次获取验证码的时间间隔,默认 30000ms,有效范围(0,300000)
-
setup({String? appKey, String? channel, bool? useIDFA, int timeout = 10000, bool setControlWifiSwitch = true})
→ void
-
初始化, timeout单位毫秒,合法范围是(0,30000],推荐设置为5000-10000,默认值为10000
-
smsAuth({required bool autoDismiss, int timeout = 5000, JVSMSListener? smsCallback})
→ void
-
-
toString()
→ String
-
A string representation of this object.
inherited
-
verifyNumber(String phone, {String? token})
→ Future<Map>
-