public void checkSignIn(final SignInHandler handler){
        HMSAgentLog.i("checkSignIn:handler=" + StrUtils.objDesc(handler));

        if (this.handler != null) {
            HMSAgentLog.e("has already a signIn to dispose");
            new Handler(Looper.getMainLooper()).post(new CallbackResultRunnable<SignInHuaweiId>(handler, HMSAgent.AgentResultCode.REQUEST_REPEATED, null));
            return;
        }

        this.handler = handler;
        retryTimes = MAX_RETRY_TIMES;
        connect();
    }
public void checkSignIn ( final SignInHandler handler ) { HMSAgentLog . i ( "checkSignIn:handler=" + StrUtils . objDesc ( handler ) ) ; if ( this . handler != null ) { HMSAgentLog . e ( "has already a signIn to dispose" ) ; new Handler ( Looper . getMainLooper ( ) ) . post ( new CallbackResultRunnable < SignInHuaweiId > ( handler , HMSAgent . AgentResultCode . REQUEST_REPEATED , null ) ) ; return ; } this . handler = handler ; retryTimes = MAX_RETRY_TIMES ; connect ( ) ; }
帐号登录请求,非强制登录
@param handler 登录结果回调