public class ServerSettingHelper extends Object implements android.os.Parcelable
Modifier and Type | Field and Description |
---|---|
static android.os.Parcelable.Creator<ServerSettingHelper> |
CREATOR |
Modifier and Type | Method and Description |
---|---|
int |
describeContents() |
String |
getApplicationVersion() |
static ServerSettingHelper |
getInstance() |
String |
getServerEdition() |
ArrayList<ExoAccount> |
getServerInfoList(android.content.Context context)
Returns the list of server objects configured in the app.
If the property has not yet been set, the list is retrieved from storage lazily. |
String |
getServerVersion() |
void |
setApplicationVersion(String version) |
void |
setInstance(ServerSettingHelper instance) |
void |
setServerEdition(String ver) |
void |
setServerInfoList(ArrayList<ExoAccount> list) |
void |
setServerVersion(String ver) |
boolean |
twoOrMoreAccountsExist(android.content.Context ctx)
Checks whether two or more accounts are configured on the app
|
void |
writeToParcel(android.os.Parcel dest,
int flags) |
public static final android.os.Parcelable.Creator<ServerSettingHelper> CREATOR
public static ServerSettingHelper getInstance()
public void setInstance(ServerSettingHelper instance)
public void setApplicationVersion(String version)
public String getApplicationVersion()
public void setServerVersion(String ver)
public String getServerVersion()
public void setServerEdition(String ver)
public String getServerEdition()
public void setServerInfoList(ArrayList<ExoAccount> list)
public ArrayList<ExoAccount> getServerInfoList(android.content.Context context)
context
- public boolean twoOrMoreAccountsExist(android.content.Context ctx)
ctx
- public int describeContents()
describeContents
in interface android.os.Parcelable
public void writeToParcel(android.os.Parcel dest, int flags)
writeToParcel
in interface android.os.Parcelable
Copyright © 2003–2016 eXo Platform SAS. All rights reserved.