Skip navigation links
A D E F G H L P R S T U W 

A

add(int) - Method in class universum.studios.android.util.Flags
Adds the specified flag to the current ones (if not presented yet).

D

dispatchApplicationCreated(Resources) - Method in class universum.studios.android.util.Localer
Called from application's Application.onCreate() to dispatch, that application was just created.
dispatchConfigurationChanged(Configuration, Resources) - Method in class universum.studios.android.util.Localer
Called from application's Application.onConfigurationChanged(Configuration) to dispatch changed configuration.

E

ErrorException - Exception in universum.studios.android.util
A RuntimeException implementation that may be used to dispatch errors occurred during normal execution.
ErrorException(int) - Constructor for exception universum.studios.android.util.ErrorException
Same as ErrorException.ErrorException(int, String) with empty message.
ErrorException(int, String) - Constructor for exception universum.studios.android.util.ErrorException
ErrorException(int, Throwable) - Constructor for exception universum.studios.android.util.ErrorException
ErrorException(int, String, Throwable) - Constructor for exception universum.studios.android.util.ErrorException
Creates a new instance of ErrorException with the specified error code, message and cause.

F

Flags - Class in universum.studios.android.util
This class represents a crate to store a set of integer flags instead of a boolean flags to improve memory efficiency of an Android application.
Flags() - Constructor for class universum.studios.android.util.Flags
Creates a new instance of Flags with current flags initialized to 0.
Flags(int) - Constructor for class universum.studios.android.util.Flags
Creates a new instance of Flags with the initial flags value.

G

get() - Method in class universum.studios.android.util.Flags
Returns a value of the current flags.
getCode() - Method in exception universum.studios.android.util.ErrorException
Returns the error code specified for this error exception.
getLocale() - Method in class universum.studios.android.util.Localer
Returns the current locale assigned to this Localer.

H

has(int) - Method in class universum.studios.android.util.Flags
Checks whether the requested flag is presented within the current flags or not.
has(Context, String) - Static method in class universum.studios.android.util.Permissions
Checks whether the specified permission is granted for the current process and user id.
hasAllOf(Context, String...) - Static method in class universum.studios.android.util.Permissions
Checks whether all of the specified permissions are granted for the current process and user id.
hasAnyOf(Context, String...) - Static method in class universum.studios.android.util.Permissions
Checks whether any of the specified permissions is granted for the current process and user id.

L

Localer - Class in universum.studios.android.util
The Localer class provides API allowing to set up custom Locale for an Android application.
Localer() - Constructor for class universum.studios.android.util.Localer
Creates a new instance of Localer to manage custom locale within this Android application with default Locale set to Locale.ENGLISH.
Localer(Locale) - Constructor for class universum.studios.android.util.Localer
Creates a new instance of Localer to manage custom locale within this Android application with the given default Locale.

P

Permissions - Class in universum.studios.android.util
Helper class that can be used for permissions checking.
Permissions() - Constructor for class universum.studios.android.util.Permissions
Creates a new empty instance of Permissions.

R

remove(int) - Method in class universum.studios.android.util.Flags
Removes the specified flag from the current ones (if presented).
reset() - Method in class universum.studios.android.util.Flags
Resets value of this flags to 0.

S

setLocale(Locale, Resources) - Method in class universum.studios.android.util.Localer
Sets the given locale to be used as locale for this Android application, so all stuffs related to locale, like resources will depends on the passed Locale.
showToast(Context, int) - Static method in class universum.studios.android.util.Toaster
Same as Toaster.showToast(Context, int, int) with Toast.LENGTH_SHORT duration flag.
showToast(Context, int, int) - Static method in class universum.studios.android.util.Toaster
Shows a default Toast with the formatted text obtained from an application resources by the specified resId.
showToast(Context, int, int, Object...) - Static method in class universum.studios.android.util.Toaster
Like Toaster.showToast(Context, int, String, Object...), but the specified text will be formatted by the given args during of the obtaining process from an application resources.
showToast(Context, int, String, Object...) - Static method in class universum.studios.android.util.Toaster
Same as Toaster.showToast(Context, CharSequence, int) where the given args will be used to format the specified text
showToast(Context, CharSequence) - Static method in class universum.studios.android.util.Toaster
Same as Toaster.showToast(Context, CharSequence, int) with Toast.LENGTH_SHORT duration flag.
showToast(Context, CharSequence, int) - Static method in class universum.studios.android.util.Toaster
Shows a default Toast with the formatted text.

T

Toaster - Class in universum.studios.android.util
This class wraps Toast class and its API to provide simpler usage when showing toast messages.
Toaster.Duration - Annotation Type in universum.studios.android.util
Defines an annotation for determining set of allowed durations for showToast(...) methods.

U

universum.studios.android.util - package universum.studios.android.util
Provides group of useful utils for everyday Android application development, mainly for 'controlled' logging into console, showing of simple toasts for a user or simple permissions checking.

W

withCode(int) - Static method in exception universum.studios.android.util.ErrorException
Creates a new instance of ErrorException with the specified error code.
A D E F G H L P R S T U W 
Skip navigation links