RongConfigurationManager

Configuration manager for locale and file size settings.

Functions

Link copied to clipboard
public RCLocale getAppLocale(Context context)
Gets the in-app locale setting.
Link copied to clipboard
public Context getConfigurationContext(Context newBase)
Creates a ConfigurationContext for use in attachBaseContext.
Link copied to clipboard
public int getFileMaxSize(Context context)
Gets the maximum file size for sending files.
Link copied to clipboard
Link copied to clipboard
public RCLocale getLanguageLocal(Context context)
Gets the current app language setting.
Link copied to clipboard
public Locale getSystemLocale()
Gets the system locale.
Link copied to clipboard
public static void init(Context context)
Link copied to clipboard
public void setFileMaxSize(Context context, int size)
Sets the maximum file size for sending files.
Link copied to clipboard
public void switchLocale(RCLocale locale, Context context)
Switches the app language.