Package 

Interface IThingUser


  • 
    public interface IThingUser
    
                        

    To manage user related operations, including but not limited to user registration, login, anonymous login, etc

    • Method Summary

      Modifier and Type Method Description
      abstract void loginWithPhone(String countryCode, String phone, String code, ILoginCallback callback) Mobile Verification Code Login.
      abstract void loginWithEmail(String countryCode, String email, String passwd, ILoginCallback callback) Login with Email.
      abstract void loginWithPhonePassword(String countryCode, String phone, String passwd, ILoginCallback callback) Phone Password Login.
      abstract void getEmailValidateCode(String countryCode, String email, IValidateCallback callback) Get Verification code by email.
      abstract void registerAccountWithEmail(String countryCode, String email, String passwd, IRegisterCallback callback) Email Registration.
      abstract void registerAccountWithPhone(String countryCode, String phone, String passwd, String code, IRegisterCallback callback) Phone Password Registration.
      abstract void resetEmailPassword(String countryCode, String email, String emailCode, String passwd, IResetPasswordCallback callback) User Email Reset Password.
      abstract void resetPhonePassword(String countryCode, String phone, String code, String newPasswd, IResetPasswordCallback callback) Phone Reset Password.
      abstract void logout(ILogoutCallback callback) Logout.
      abstract void getValidateCode(String countryCode, String phoneNumber, IValidateCallback callback) Get phone verification code.
      abstract void getRegisterEmailValidateCode(String countryCode, String email, IResultCallback callback) Email registration to get verification code.
      abstract void registerAccountWithEmail(String countryCode, String email, String passwd, String code, IRegisterCallback callback) Email Registration.
      abstract void reRickName(String name, IReNickNameCallback callback) Modify the nickname.
      abstract void updateNickName(String name, IReNickNameCallback callback) Modify the nickname.
      abstract void loginByTwitter(String countryCode, String key, String secret, ILoginCallback callback) Login by Twitter.
      abstract void loginByQQ(String countryCode, String userId, String accessToken, ILoginCallback callback) Login by QQ.
      abstract void loginByWechat(String countryCode, String code, ILoginCallback callback) Login by WeChat.
      abstract void loginByFacebook(String countryCode, String token, ILoginCallback callback) Login by Facebook.
      abstract void checkPhoneCode(String countryCode, String phoneNumber, String code, ICheckAccountCallback callback) Check the verification code.
      abstract void checkEmailPassword(String pwd, ICheckAccountCallback callback) Check the password of email.
      abstract void loginWithUid(String countryCode, String uid, String passwd, ILoginCallback callback) Login by uid.
      abstract void loginOrRegisterWithUid(String countryCode, String uid, String passwd, ILoginCallback callback) User Uid Registration and Login.
      abstract void loginOrRegisterWithUid(String countryCode, String uid, String passwd, boolean isCreateHome, IUidLoginCallback callback) User Uid Registration and Login.
      abstract void registerAccountWithUid(String countryCode, String uid, String passwd, IRegisterCallback callback) User Uid Registration.
      abstract void sendBindVerifyCode(String countryCode, String phoneNumber, IResultCallback callback) Send Verification code to bind mobile.
      abstract void sendBindVerifyCodeByTicket(String countryCode, String phoneNumber, Map<String, String> ticket, IResultCallback callback) Send Verification code to bind mobile.
      abstract void sendBindVerifyCodeWithEmail(String countryCode, String email, IResultCallback callback) Send Verification code to bind email.
      abstract void sendBindVerifyCodeWithEmailByTicket(String countryCode, String email, Map<String, String> ticket, IResultCallback callback) Send Verification code to bind email.
      abstract void bindEmail(String countryCode, String email, String code, String sId, IResultCallback callback) Bind Email
      abstract void setTempUnit(TempUnitEnum unit, IResultCallback callback) Set Temperature unit.
      abstract void uploadUserAvatar(File file, IBooleanCallback callback) Update avatar of user.
      abstract void updateAvatarWithImageUrl(String url, IBooleanCallback callback)
      abstract boolean checkVersionUpgrade() Check whether to upgrade user information.
      abstract void upgradeVersion(IResultCallback callback) Upgrade user information.
      abstract void cancelAccount(IResultCallback callback) Disable Account
      abstract void onDestroy() Destroy service.
      abstract void switchUserRegion(String region, ILoginCallback callback) Switch the region of logged in user.
      abstract void sendVerifyCodeWithUserName(String userName, String region, String countryCode, int type, IResultCallback callback) Send verification code, used for register, login, reset password, etc.
      abstract void sendVerifyCodeWithUserNameByTicket(String userName, String region, String countryCode, int type, Map<String, String> ticket, IResultCallback callback) Send verification code, used for register, login, reset password, etc.
      abstract void bindMobileSendCodeForVas(String countryCode, String mobile, IResultCallback callback) Value-added service binding mobile phone number verification code sent.
      abstract void bindMobileSendCodeForVasByTicket(String countryCode, String mobile, Map<String, String> ticket, IResultCallback callback) Value-added service binding mobile phone number verification code sent.
      abstract void checkCodeWithUserName(String userName, String region, String countryCode, String code, int type, IResultCallback callback) Check verification code, used for register/login/reset password.
      abstract void registerWithUserName(String userName, String region, String countryCode, String code, String password, IRegisterCallback callback) Mobile phone or Email register.
      abstract void thirdLogin(String countryCode, String accessToken, String type, ILoginCallback callback) Login by Auth2
      abstract void thirdLogin(String countryCode, String accessToken, String type, String extraInfo, ILoginCallback callback) Login by Auth2
      abstract void bindThirdPlatform(String countryCode, String type, String accessToken, String extraInfo, String options, IThirdBindCallback callback) bind third platform
      abstract void loginSuccess(User user) Init for login succeed.
      abstract void updateUserInfo(IResultCallback callback) Sync user information.
      abstract void getQRCodeToken(String countryCode, IGetQRCodeTokenCallback callback) Get token for QR code login.
      abstract void QRCodeLogin(String countryCode, String token, ILoginCallback callback) QR code login
      abstract void QRcodeAuth(String countryCode, long homeId, String token, IBooleanCallback callback) QR code authorization login.
      abstract void getQRDeviceAppInfo(String countryCode, String token, IGetQRDeviceInfoCallBack callBack) Get information of device by QR code.
      abstract void touristRegisterAndLogin(String countryCode, String nickName, IRegisterCallback callback) Tourist login registration.
      abstract void touristRegisterAndLogin(String countryCode, IRegisterCallback callback) Tourist login registration.
      abstract void touristLogOut(ILogoutCallback callback) Tourist logout.
      abstract void touristBindWithUserName(String countryCode, String userName, String verifyCode, String password, IBooleanCallback callback) Tourist accounts are bound by username.
      abstract void getWhiteListWhoCanSendMobileCodeSuccess(IWhiteListCallback callback) Gets white list who can send mobile verification code success.
      abstract void ticketGetUserInfo(String ticket, ILoginCallback callback) Login by ticket.
      abstract void loginWithTicket(String ticket, ILoginCallback callback) Login by ticket.
      abstract void changeUserName(String countryCode, String code, String sId, String userName, IResultCallback callback) change bind username
      abstract void loginWithEmailCode(String countryCode, String email, String code, ILoginCallback callback) email code login
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • loginWithPhone

         abstract void loginWithPhone(String countryCode, String phone, String code, ILoginCallback callback)

        Mobile Verification Code Login.

        Parameters:
        countryCode - Mobile Area Code: Such as "86".
        phone - Mobile number.
        code - Verification code.
        callback - Callback com.thingclips.smart.android.user.api.
      • loginWithEmail

         abstract void loginWithEmail(String countryCode, String email, String passwd, ILoginCallback callback)

        Login with Email.

        Parameters:
        countryCode - Country code, for example: 86.
        email - Email.
        passwd - Login password.
        callback - Callback com.thingclips.smart.android.user.api.
      • loginWithPhonePassword

         abstract void loginWithPhonePassword(String countryCode, String phone, String passwd, ILoginCallback callback)

        Phone Password Login.

        Parameters:
        countryCode - Mobile Area Code: Such as "86".
        phone - Mobile number.
        passwd - Login password.
        callback - Callback com.thingclips.smart.android.user.api.
      • getEmailValidateCode

        @Deprecated() abstract void getEmailValidateCode(String countryCode, String email, IValidateCallback callback)

        Get Verification code by email.The interface has been deprecated, please use the new interface sendVerifyCodeWithUserName.

        Parameters:
        countryCode - Country code, for example: 86.
        email - Email.
        callback - Callback com.thingclips.smart.android.user.api.
      • registerAccountWithEmail

        @Deprecated() abstract void registerAccountWithEmail(String countryCode, String email, String passwd, IRegisterCallback callback)

        Email Registration.

        Parameters:
        countryCode - Country code, for example: 86.
        email - Email.
        passwd - Login password.
        callback - Callback com.thingclips.smart.android.user.api.
      • registerAccountWithPhone

         abstract void registerAccountWithPhone(String countryCode, String phone, String passwd, String code, IRegisterCallback callback)

        Phone Password Registration.

        Parameters:
        countryCode - Mobile Area Code: Such as "86".
        phone - Mobile number.
        passwd - Login password.
        code - Verification code.
        callback - Callback com.thingclips.smart.android.user.api.
      • resetEmailPassword

         abstract void resetEmailPassword(String countryCode, String email, String emailCode, String passwd, IResetPasswordCallback callback)

        User Email Reset Password.

        Parameters:
        countryCode - Country code, for example: 86.
        email - Email.
        emailCode - Verification code.
        passwd - Login password.
        callback - Callback com.thingclips.smart.android.user.api.
      • resetPhonePassword

         abstract void resetPhonePassword(String countryCode, String phone, String code, String newPasswd, IResetPasswordCallback callback)

        Phone Reset Password.

        Parameters:
        countryCode - Mobile Area Code: Such as "86".
        phone - Mobile number.
        code - Verification code.
        newPasswd - Login password.
        callback - Callback com.thingclips.smart.android.user.api.
      • logout

         abstract void logout(ILogoutCallback callback)

        Logout.

        Parameters:
        callback - Callback com.thingclips.smart.android.user.api.
      • getValidateCode

        @Deprecated() abstract void getValidateCode(String countryCode, String phoneNumber, IValidateCallback callback)

        Get phone verification code.The interface has been deprecated, please use the new interface sendVerifyCodeWithUserName.

        Parameters:
        countryCode - Mobile Area Code: Such as "86".
        phoneNumber - Mobile number.
        callback - Callback IValidateCallback.
      • getRegisterEmailValidateCode

        @Deprecated() abstract void getRegisterEmailValidateCode(String countryCode, String email, IResultCallback callback)

        Email registration to get verification code.The interface has been deprecated, please use the new interface sendVerifyCodeWithUserName.

        Parameters:
        countryCode - Country code, for example: 86.
        email - Email.
        callback - Callback com.thingclips.smart.sdk.api.
      • registerAccountWithEmail

         abstract void registerAccountWithEmail(String countryCode, String email, String passwd, String code, IRegisterCallback callback)

        Email Registration.

        Parameters:
        countryCode - Country code, for example: 86.
        email - Email.
        passwd - Login password.
        code - Verification code.
        callback - Callback com.thingclips.smart.android.user.api.
      • reRickName

        @Deprecated() abstract void reRickName(String name, IReNickNameCallback callback)

        Modify the nickname.

        Parameters:
        name - Nickname.
        callback - Callback com.thingclips.smart.android.user.api.
      • updateNickName

         abstract void updateNickName(String name, IReNickNameCallback callback)

        Modify the nickname.

        Parameters:
        name - Nickname.
        callback - Callback com.thingclips.smart.android.user.api.
      • loginByTwitter

         abstract void loginByTwitter(String countryCode, String key, String secret, ILoginCallback callback)

        Login by Twitter.

        Parameters:
        countryCode - Country code, for example: 86.
        key - Token from Twitter developer platform.
        secret - Token Secret from Twitter developer platform.
        callback - Callback com.thingclips.smart.android.user.api.
      • loginByQQ

         abstract void loginByQQ(String countryCode, String userId, String accessToken, ILoginCallback callback)

        Login by QQ.

        Parameters:
        countryCode - Country code, for example: 86.
        userId - OpenId from QQ developer platform.
        accessToken - AccessToken from QQ developer platform.
        callback - Callback com.thingclips.smart.android.user.api.
      • loginByWechat

         abstract void loginByWechat(String countryCode, String code, ILoginCallback callback)

        Login by WeChat.

        Parameters:
        countryCode - Country code, for example: 86.
        code - Authorization code from WeChat developer platform.
        callback - Callback com.thingclips.smart.android.user.api.
      • loginByFacebook

         abstract void loginByFacebook(String countryCode, String token, ILoginCallback callback)

        Login by Facebook.

        Parameters:
        countryCode - Country code, for example: 86.
        token - AccessToken from Facebook developer platform.
        callback - Callback com.thingclips.smart.android.user.api.
      • checkPhoneCode

         abstract void checkPhoneCode(String countryCode, String phoneNumber, String code, ICheckAccountCallback callback)

        Check the verification code.

        Parameters:
        countryCode - Country code, for example: 86.
        phoneNumber - Mobile number.
        code - Verification code.
        callback - Callback com.thingclips.smart.android.user.api.
      • checkEmailPassword

         abstract void checkEmailPassword(String pwd, ICheckAccountCallback callback)

        Check the password of email.

        Parameters:
        pwd - Login password.
        callback - Callback com.thingclips.smart.android.user.api.
      • loginWithUid

         abstract void loginWithUid(String countryCode, String uid, String passwd, ILoginCallback callback)

        Login by uid.

        Parameters:
        countryCode - Country code, for example: 86.
        uid - User Uid.
        passwd - Login password.
        callback - Callback com.thingclips.smart.android.user.api.
      • loginOrRegisterWithUid

         abstract void loginOrRegisterWithUid(String countryCode, String uid, String passwd, ILoginCallback callback)

        User Uid Registration and Login.

        Parameters:
        countryCode - Country code, for example: 86.
        uid - User Uid.
        passwd - Login password.
        callback - Callback com.thingclips.smart.android.user.api.
      • loginOrRegisterWithUid

         abstract void loginOrRegisterWithUid(String countryCode, String uid, String passwd, boolean isCreateHome, IUidLoginCallback callback)

        User Uid Registration and Login.

        Can choose whether to create default family, user isCreateHome.

        Parameters:
        countryCode - Country code, for example: 86.
        uid - User Uid.
        passwd - Login password.
        isCreateHome - Whether to create default family.
        callback - Callback com.thingclips.smart.android.user.api.
      • registerAccountWithUid

         abstract void registerAccountWithUid(String countryCode, String uid, String passwd, IRegisterCallback callback)

        User Uid Registration.

        Parameters:
        countryCode - Country code, for example: 86.
        uid - User Uid.
        passwd - Login password.
        callback - Callback com.thingclips.smart.android.user.api.
      • sendBindVerifyCode

         abstract void sendBindVerifyCode(String countryCode, String phoneNumber, IResultCallback callback)

        Send Verification code to bind mobile.

        Parameters:
        countryCode - Country code, for example: 86.
        phoneNumber - Mobile number.
        callback - Callback com.thingclips.smart.sdk.api.
      • sendBindVerifyCodeByTicket

         abstract void sendBindVerifyCodeByTicket(String countryCode, String phoneNumber, Map<String, String> ticket, IResultCallback callback)

        Send Verification code to bind mobile.

        Parameters:
        countryCode - Country code, for example: 86.
        phoneNumber - Mobile number.
        ticket - Incoming when the graphic verification code is enabled
        callback - Callback IResultCallback.
      • sendBindVerifyCodeWithEmail

         abstract void sendBindVerifyCodeWithEmail(String countryCode, String email, IResultCallback callback)

        Send Verification code to bind email.

        Parameters:
        countryCode - Country code, for example: 86.
        email - email.
        callback - Callback com.thingclips.smart.sdk.api.
      • sendBindVerifyCodeWithEmailByTicket

         abstract void sendBindVerifyCodeWithEmailByTicket(String countryCode, String email, Map<String, String> ticket, IResultCallback callback)

        Send Verification code to bind email.

        Parameters:
        countryCode - Country code, for example: 86.
        email - email.
        ticket - Incoming when the graphic verification code is enabled
        callback - Callback com.thingclips.smart.sdk.api.
      • bindEmail

         abstract void bindEmail(String countryCode, String email, String code, String sId, IResultCallback callback)

        Bind Email

        Parameters:
        countryCode - Country code, for example: 86.
        email - email
        code - Verification code, from sendBindVerifyCodeWithEmail
        sId - User session Id
        callback - Callback com.thingclips.smart.sdk.api.
      • setTempUnit

         abstract void setTempUnit(TempUnitEnum unit, IResultCallback callback)

        Set Temperature unit.

        Parameters:
        unit - Set the com.thingclips.smart.sdk.enums.
        callback - Callback com.thingclips.smart.sdk.api.
      • uploadUserAvatar

         abstract void uploadUserAvatar(File file, IBooleanCallback callback)

        Update avatar of user.

        Parameters:
        file - Image file.
        callback - Callback com.thingclips.smart.android.user.api.
      • updateAvatarWithImageUrl

         abstract void updateAvatarWithImageUrl(String url, IBooleanCallback callback)
        Parameters:
        url - image url
        callback - Callback com.thingclips.smart.android.user.api.
      • checkVersionUpgrade

         abstract boolean checkVersionUpgrade()

        Check whether to upgrade user information.

      • upgradeVersion

         abstract void upgradeVersion(IResultCallback callback)

        Upgrade user information.

        Parameters:
        callback - Callback com.thingclips.smart.sdk.api.
      • cancelAccount

         abstract void cancelAccount(IResultCallback callback)

        Disable Account

        Parameters:
        callback - Callback com.thingclips.smart.sdk.api.
      • onDestroy

         abstract void onDestroy()

        Destroy service.

      • switchUserRegion

         abstract void switchUserRegion(String region, ILoginCallback callback)

        Switch the region of logged in user.

        Parameters:
        region - The region to register account.
        callback - Callback com.thingclips.smart.android.user.api.
      • sendVerifyCodeWithUserName

         abstract void sendVerifyCodeWithUserName(String userName, String region, String countryCode, int type, IResultCallback callback)

        Send verification code, used for register, login, reset password, etc.

        Parameters:
        userName - Mobile phone number or Email address
        region - for register is required
        countryCode - Country code
        type - 1: register,2: login,3: password reset,4: bind mobile phone number(This type error is not available),5: guest binding interface,6: second login,7: account swap,8: logout account verification verification code
        callback - callback com.thingclips.smart.sdk.api.
      • sendVerifyCodeWithUserNameByTicket

         abstract void sendVerifyCodeWithUserNameByTicket(String userName, String region, String countryCode, int type, Map<String, String> ticket, IResultCallback callback)

        Send verification code, used for register, login, reset password, etc.

        Parameters:
        userName - Mobile phone number or Email address
        region - for register is required
        countryCode - Country code
        type - 1: register,2: login,3: password reset,4: bind mobile phone number(This type error is not available),5: guest binding interface,6: second login,7: account swap,8: logout account verification verification code
        ticket - Incoming when the graphic verification code is enabled
        callback - callback com.thingclips.smart.sdk.api.
      • bindMobileSendCodeForVas

         abstract void bindMobileSendCodeForVas(String countryCode, String mobile, IResultCallback callback)

        Value-added service binding mobile phone number verification code sent.

        Parameters:
        countryCode - Country code, for example: 86
        mobile - Mobile number.
        callback - Callback com.thingclips.smart.sdk.api.
      • bindMobileSendCodeForVasByTicket

         abstract void bindMobileSendCodeForVasByTicket(String countryCode, String mobile, Map<String, String> ticket, IResultCallback callback)

        Value-added service binding mobile phone number verification code sent.

        Parameters:
        countryCode - Country code, for example: 86
        mobile - Mobile number.
        ticket - Incoming when the graphic verification code is enabled
        callback - Callback com.thingclips.smart.sdk.api.
      • checkCodeWithUserName

         abstract void checkCodeWithUserName(String userName, String region, String countryCode, String code, int type, IResultCallback callback)

        Check verification code, used for register/login/reset password.

        Parameters:
        userName - Mobile phone number or Email address
        region - for register is required
        countryCode - Country code
        code - Verification code
        type - 1: mobile phone verification code register,2: mobile phone verification code login,3: mobile phone password reset.
        callback - callback com.thingclips.smart.sdk.api.
      • registerWithUserName

         abstract void registerWithUserName(String userName, String region, String countryCode, String code, String password, IRegisterCallback callback)

        Mobile phone or Email register.

        Parameters:
        userName - Mobile phone number or Email address
        region - The region to register account
        countryCode - Country code
        code - Verification code
        password - Password
        callback - Callback com.thingclips.smart.android.user.api.
      • thirdLogin

         abstract void thirdLogin(String countryCode, String accessToken, String type, ILoginCallback callback)

        Login by Auth2

        Parameters:
        countryCode - Country code, for example: 86.
        accessToken - AccessToken from third developer platform.
        type - Type of Auth2 interface call, for example: "gg" for Google login
        callback - Callback com.thingclips.smart.android.user.api.
      • thirdLogin

         abstract void thirdLogin(String countryCode, String accessToken, String type, String extraInfo, ILoginCallback callback)

        Login by Auth2

        Parameters:
        countryCode - Country code, for example: 86.
        accessToken - AccessToken from third developer platform.
        type - Type of Auth2 interface call, for example: "gg" for Google login
        extraInfo - Extra Info.
        callback - Callback com.thingclips.smart.android.user.api.
      • bindThirdPlatform

         abstract void bindThirdPlatform(String countryCode, String type, String accessToken, String extraInfo, String options, IThirdBindCallback callback)

        bind third platform

        Parameters:
        countryCode - Country code, for example: 86.
        type - Type of Auth2 interface call, for example: "gg" for Google login
        accessToken - AccessToken from third developer platform.
        extraInfo - Extra Info.
        options - options
        callback - Callback com.thingclips.smart.android.user.api.
      • loginSuccess

         abstract void loginSuccess(User user)

        Init for login succeed.

        Login and get user information, then use this method.

        Parameters:
        user - User information
      • updateUserInfo

         abstract void updateUserInfo(IResultCallback callback)

        Sync user information.

        Parameters:
        callback - Callback com.thingclips.smart.sdk.api.
      • getQRCodeToken

         abstract void getQRCodeToken(String countryCode, IGetQRCodeTokenCallback callback)

        Get token for QR code login.

        Parameters:
        countryCode - Country code, for example: 86.
        callback - Callback com.thingclips.smart.android.user.api.
      • QRCodeLogin

         abstract void QRCodeLogin(String countryCode, String token, ILoginCallback callback)

        QR code login

        Parameters:
        countryCode - Country code, for example: 86.
        token - token, from getQRCodeToken
        callback - Callback com.thingclips.smart.android.user.api.
      • QRcodeAuth

         abstract void QRcodeAuth(String countryCode, long homeId, String token, IBooleanCallback callback)

        QR code authorization login.

        Parameters:
        countryCode - Country code, for example: 86.
        homeId - Home id.
        token - token, from getQRCodeToken
        callback - Callback com.thingclips.smart.android.user.api.
      • getQRDeviceAppInfo

         abstract void getQRDeviceAppInfo(String countryCode, String token, IGetQRDeviceInfoCallBack callBack)

        Get information of device by QR code.

        Parameters:
        countryCode - Country code, for example: 86.
        token - token, from getQRCodeToken
        callBack - Callback com.thingclips.smart.android.user.api.
      • touristRegisterAndLogin

        @Deprecated() abstract void touristRegisterAndLogin(String countryCode, String nickName, IRegisterCallback callback)

        Tourist login registration.

        Parameters:
        countryCode - Country code, for example: 86.
        nickName - Nickname.
        callback - Callback com.thingclips.smart.android.user.api.
      • touristRegisterAndLogin

         abstract void touristRegisterAndLogin(String countryCode, IRegisterCallback callback)

        Tourist login registration.

        Parameters:
        countryCode - Country code, for example: 86.
        callback - Callback com.thingclips.smart.android.user.api.
      • touristLogOut

         abstract void touristLogOut(ILogoutCallback callback)

        Tourist logout.

        Parameters:
        callback - Callback com.thingclips.smart.android.user.api.
      • touristBindWithUserName

         abstract void touristBindWithUserName(String countryCode, String userName, String verifyCode, String password, IBooleanCallback callback)

        Tourist accounts are bound by username.

        Parameters:
        countryCode - Country code, for example: 86.
        userName - User name.
        verifyCode - Verification code.
        password - Password.
        callback - Callback com.thingclips.smart.android.user.api.
      • getWhiteListWhoCanSendMobileCodeSuccess

         abstract void getWhiteListWhoCanSendMobileCodeSuccess(IWhiteListCallback callback)

        Gets white list who can send mobile verification code success.

        Parameters:
        callback - Callback IWhiteListCallback.
      • ticketGetUserInfo

         abstract void ticketGetUserInfo(String ticket, ILoginCallback callback)

        Login by ticket.

        Deprecated, recommended to use loginWithTicket

        Parameters:
        ticket - ticket
        callback - Callback com.thingclips.smart.android.user.api.
      • loginWithTicket

         abstract void loginWithTicket(String ticket, ILoginCallback callback)

        Login by ticket.

        Parameters:
        ticket - ticket
        callback - Callback com.thingclips.smart.android.user.api.
      • changeUserName

         abstract void changeUserName(String countryCode, String code, String sId, String userName, IResultCallback callback)

        change bind username

        Parameters:
        countryCode - countryCode
        code - code
        sId - sId
        userName - userName
        callback - callback com.thingclips.smart.sdk.api.
      • loginWithEmailCode

         abstract void loginWithEmailCode(String countryCode, String email, String code, ILoginCallback callback)

        email code login

        Parameters:
        countryCode - Mobile Area Code: Such as "86".
        email - Email.
        code - Verification code.
        callback - Callback com.thingclips.smart.android.user.api.