com.supermap.realspace

Class OLAccountManager

  • java.lang.Object
    • com.supermap.realspace.OLAccountManager


  • public class OLAccountManager
    extends java.lang.Object
    SuperMap Online account manager class.
    • Constructor Detail

      • OLAccountManager

        public OLAccountManager()
    • Method Detail

      • getInstance

        public static OLAccountManager getInstance(android.content.Context context)
        Get instance of SuperMap Online.
        Parameters:
        context - context.
        Returns:
        instance of SuperMap Online.
      • loginWithUsernameComplete

        public static void loginWithUsernameComplete(java.lang.String userName,
                                                     java.lang.String passwd,
                                                     LoginCallBackListenner listenner)
        SuperMap Online login callback event.
        Parameters:
        userName - specify login account.
        passwd - specify password.
        listenner - specify login listener.
      • logout

        public void logout()
        Write off SuperMap Online.
      • publicServiceWithCompletion

        public void publicServiceWithCompletion(LoginCallBackListenner listener)
        Public service callback event.
        Parameters:
        listener - callback listener
      • getPrivateServiceList

        public java.util.ArrayList<java.lang.String> getPrivateServiceList()
        Get the list of urls for the private service in the login success callback event.
        Returns:
        List of urls for private services.
      • getpublicServiceList

        public java.util.ArrayList<java.lang.String> getpublicServiceList()
        Get the list of urls for the public service in the login success callback event.
        Returns:
        List of urls for public services.
      • getpublicServiceNameList

        public java.util.ArrayList<java.lang.String> getpublicServiceNameList()
        Get the list of name for the public service in the login success callback event.
        Returns:
        List of name for public services.
      • getPrivateServiceNameList

        public java.util.ArrayList<java.lang.String> getPrivateServiceNameList()
        Get the list of name for the private service in the login success callback event.
        Returns:
        List of name for private services.
      • getNickname

        public java.lang.String getNickname()
        Get the user's nickname in the login success callback event.
        Returns:
        use name.
      • getUserName

        public java.lang.String getUserName()
        Get account registration email in the login success callback event.
        Returns:
        account registration email.