blueme.messenger.common
Interface iUserData

All Known Implementing Classes:
UserData

public interface iUserData

Interface for the UserData class


Method Summary
 java.lang.String getBluetoothAddress()
          Get Bluetooth address
 int getConnected()
          Get current connection status: 0: Inactive (default) 1: Connected and logged in -1: Unable to connect to proxy -2: Proxy unable to connect to IM server
 java.lang.String getLogin()
          Get login id (like an email address or whatever the IM-protocol in use is using
 java.lang.String getNick()
          Get nick
 java.lang.String getPID()
          Get PID (Private ID or key)
 boolean getRememberPassword()
          Returns "true" if the client will remember the users password till next start up.
 java.lang.String getUid()
          Get UID
 int getUserDataVersion()
          Get UserData version
 java.lang.String serialize()
          Serialize data.
 void setBluetoothAddress(java.lang.String bluetoothAddress)
          Set Bluetooth address
 void setConnected(int state)
          Set current connection status: 0: Inactive (default) 1: Connected and logged in -1: Unable to connect to proxy -2: Proxy unable to connect to IM server
 void setLogin(java.lang.String login)
          Set login id (like an email address or whatever the IM-protocol in use is using
 void setNick(java.lang.String nick)
          Set nick
 void setPID(java.lang.String pid)
          Set PID (Private ID or key)
 void setRememberPassword(boolean remember)
          If "true", the client will remember the users password till next start up.
 void setUid(java.lang.String uid)
          Set UID
 void unserialize(java.lang.String data)
          Unserialize data
 

Method Detail

getUserDataVersion

int getUserDataVersion()
Get UserData version


setBluetoothAddress

void setBluetoothAddress(java.lang.String bluetoothAddress)
                         throws java.lang.StringIndexOutOfBoundsException
Set Bluetooth address

Throws:
java.lang.StringIndexOutOfBoundsException

getBluetoothAddress

java.lang.String getBluetoothAddress()
                                     throws java.lang.NullPointerException
Get Bluetooth address

Throws:
java.lang.NullPointerException

setUid

void setUid(java.lang.String uid)
            throws java.lang.StringIndexOutOfBoundsException
Set UID

Throws:
java.lang.StringIndexOutOfBoundsException

getUid

java.lang.String getUid()
                        throws java.lang.NullPointerException
Get UID

Throws:
java.lang.NullPointerException

setNick

void setNick(java.lang.String nick)
Set nick


getNick

java.lang.String getNick()
                         throws java.lang.NullPointerException
Get nick

Throws:
java.lang.NullPointerException

setLogin

void setLogin(java.lang.String login)
Set login id (like an email address or whatever the IM-protocol in use is using


getLogin

java.lang.String getLogin()
                          throws java.lang.NullPointerException
Get login id (like an email address or whatever the IM-protocol in use is using

Throws:
java.lang.NullPointerException

setPID

void setPID(java.lang.String pid)
Set PID (Private ID or key)


getPID

java.lang.String getPID()
                        throws java.lang.NullPointerException
Get PID (Private ID or key)

Throws:
java.lang.NullPointerException

setConnected

void setConnected(int state)
Set current connection status: 0: Inactive (default) 1: Connected and logged in -1: Unable to connect to proxy -2: Proxy unable to connect to IM server


getConnected

int getConnected()
Get current connection status: 0: Inactive (default) 1: Connected and logged in -1: Unable to connect to proxy -2: Proxy unable to connect to IM server


setRememberPassword

void setRememberPassword(boolean remember)
If "true", the client will remember the users password till next start up. If "false", the client will not remember the users password..


getRememberPassword

boolean getRememberPassword()
Returns "true" if the client will remember the users password till next start up. Returns "false" otherwise. Default is false.


serialize

java.lang.String serialize()
Serialize data.


unserialize

void unserialize(java.lang.String data)
                 throws java.lang.IllegalArgumentException
Unserialize data

Throws:
java.lang.IllegalArgumentException