- CACHE - Static variable in interface universum.studios.android.device.storage.Storage
-
Identifier for the cache directory of an Android device's file system.
- changeFilePermissions(String, int, boolean) - Method in interface universum.studios.android.device.storage.Storage
-
- changeFilePermissions(int, String, int, boolean) - Method in interface universum.studios.android.device.storage.Storage
-
Changes read/write permissions of a file on the given path of this Android
device's storage.
- Connection - Interface in universum.studios.android.device.connection
-
Connection interface specifies API through which an actual information about the Android device's
screen may be accessed.
- Connection.ConnectionType - Enum in universum.studios.android.device.connection
-
Represents type of the Android device's connection.
- Connection.OnConnectionListener - Interface in universum.studios.android.device.connection
-
Listener that may be used to receive callback with info about changed network connection.
- Connection.Provider - Interface in universum.studios.android.device.connection
-
Interface for provider that may be used to access implementation of
Connection.
- ConnectionStateReceiver - Class in universum.studios.android.device.connection
-
A
BroadcastReceiver used by
Connection implementation to receive actual information
about network connection state.
- ConnectionStateReceiver() - Constructor for class universum.studios.android.device.connection.ConnectionStateReceiver
-
- ConnectionUtils - Class in universum.studios.android.device.connection
-
Connection utility class specifying API allowing to check whether the Android device has some network
connection established or to access info of the current established network connection.
- COPY - Static variable in interface universum.studios.android.device.storage.Storage
-
- COPY - Static variable in class universum.studios.android.device.storage.StorageEditor
-
- COPY_SUFFIX - Static variable in class universum.studios.android.device.storage.StorageEditor
-
Suffix for name of file/directory when creating a copy of it passing
StorageEditor.COPY flag to some
of this editor's methods accepting
flags parameter.
- copyDirectories(int, String, String...) - Method in interface universum.studios.android.device.storage.Storage
-
- copyDirectories(int, int, String, String...) - Method in interface universum.studios.android.device.storage.Storage
-
- copyDirectories(int, int, FileFilter, FilenameFilter, String, String...) - Method in interface universum.studios.android.device.storage.Storage
-
Copies all directories at the given fromPaths on this Android device's storage.
- copyDirectories(int, String, String...) - Static method in class universum.studios.android.device.storage.StorageUtils
-
- copyDirectories(int, FileFilter, FilenameFilter, String, String...) - Static method in class universum.studios.android.device.storage.StorageUtils
-
Copies all directories at the given fromPaths on the file system.
- copyDirectory(int, String, String) - Method in interface universum.studios.android.device.storage.Storage
-
- copyDirectory(int, int, String, String) - Method in interface universum.studios.android.device.storage.Storage
-
- copyDirectory(int, int, FileFilter, FilenameFilter, String, String) - Method in interface universum.studios.android.device.storage.Storage
-
Copies a directory from the given fromPath to the given toPath on this
Android device's storage.
- copyDirectory(int, String, String) - Static method in class universum.studios.android.device.storage.StorageUtils
-
- copyDirectory(int, FileFilter, FilenameFilter, String, String) - Static method in class universum.studios.android.device.storage.StorageUtils
-
- copyDirectoryContent(File) - Method in class universum.studios.android.device.storage.StorageEditor
-
- copyDirectoryContent(int, File, File) - Method in class universum.studios.android.device.storage.StorageEditor
-
- copyDirectoryContent(int, File, File, FileFilter, FilenameFilter) - Method in class universum.studios.android.device.storage.StorageEditor
-
Copies a content from the given fromDirectory into the given toDirectory.
- copyFile(int, String, String) - Method in interface universum.studios.android.device.storage.Storage
-
- copyFile(int, int, String, String) - Method in interface universum.studios.android.device.storage.Storage
-
Copies a file from the given fromPath to the given toPath on this Android
device's storage.
- copyFile(int, String, String) - Static method in class universum.studios.android.device.storage.StorageUtils
-
- copyFileContent(File) - Method in class universum.studios.android.device.storage.StorageEditor
-
- copyFileContent(int, File, File) - Method in class universum.studios.android.device.storage.StorageEditor
-
Copies a content from the given fromFile into the given toFile.
- copyFileOrDirectory(int, String, String) - Method in interface universum.studios.android.device.storage.Storage
-
- copyFileOrDirectory(int, int, String, String) - Method in interface universum.studios.android.device.storage.Storage
-
- copyFileOrDirectory(int, int, FileFilter, FilenameFilter, String, String) - Method in interface universum.studios.android.device.storage.Storage
-
- copyFiles(int, String, String...) - Method in interface universum.studios.android.device.storage.Storage
-
- copyFiles(int, int, String, String...) - Method in interface universum.studios.android.device.storage.Storage
-
Copies all files at the given fromPaths on this Android device's storage.
- copyFiles(int, String, String...) - Static method in class universum.studios.android.device.storage.StorageUtils
-
Copies all files at the given fromPaths on the file system.
- copyFilesOrDirectories(int, String, String...) - Method in interface universum.studios.android.device.storage.Storage
-
- copyFilesOrDirectories(int, int, String, String...) - Method in interface universum.studios.android.device.storage.Storage
-
- copyFilesOrDirectories(int, int, FileFilter, FilenameFilter, String, String...) - Method in interface universum.studios.android.device.storage.Storage
-
- copyFileStreams(FileInputStream, FileOutputStream) - Method in class universum.studios.android.device.storage.StorageEditor
-
- copyFileStreams(FileInputStream, FileOutputStream, int) - Method in class universum.studios.android.device.storage.StorageEditor
-
- copyFileStreams(FileInputStream, FileOutputStream, byte[]) - Method in class universum.studios.android.device.storage.StorageEditor
-
Copies a content of the given inputStream into the given outputStream
using the given buffer.
- createBuffer(int) - Static method in class universum.studios.android.device.storage.StorageEditor
-
Creates a new bytes buffer for the specified bufferType.
- createDirectories(String...) - Method in interface universum.studios.android.device.storage.Storage
-
- createDirectories(int, String...) - Method in interface universum.studios.android.device.storage.Storage
-
Creates all directories with the given paths on this Android device's storage.
- createDirectories(String...) - Static method in class universum.studios.android.device.storage.StorageUtils
-
- createDirectories(String, String...) - Static method in class universum.studios.android.device.storage.StorageUtils
-
Creates all directories at the given paths on the file system.
- createDirectory(String) - Method in interface universum.studios.android.device.storage.Storage
-
- createDirectory(int, String) - Method in interface universum.studios.android.device.storage.Storage
-
Creates a directory with the given path on this Android device's storage.
- createDirectory(String) - Static method in class universum.studios.android.device.storage.StorageUtils
-
Creates a new empty directory at the specified path on the file system.
- createFile(String) - Method in interface universum.studios.android.device.storage.Storage
-
- createFile(int, String) - Method in interface universum.studios.android.device.storage.Storage
-
Creates a file with the given path on this Android device's storage.
- createFile(String) - Static method in class universum.studios.android.device.storage.StorageUtils
-
Creates a new empty File at the specified path on the file system.
- createFiles(String...) - Method in interface universum.studios.android.device.storage.Storage
-
- createFiles(int, String...) - Method in interface universum.studios.android.device.storage.Storage
-
Creates all files with the given paths on this Android device's storage.
- createFiles(String...) - Static method in class universum.studios.android.device.storage.StorageUtils
-
- createFiles(String, String...) - Static method in class universum.studios.android.device.storage.StorageUtils
-
Creates all files at the given paths on the file system.
- DATA - Static variable in interface universum.studios.android.device.storage.Storage
-
Identifier for the data directory of an Android device's file system.
- DEBUG_LOG_ENABLED - Static variable in class universum.studios.android.device.DeviceConfig
-
Flag indicating whether the debug output for the Device library trough log-cat is
enabled or not.
- DEFAULT - Static variable in interface universum.studios.android.device.storage.Storage
-
- DEFAULT - Static variable in class universum.studios.android.device.storage.StorageEditor
-
Flag used to indicate that default options for storage operation should be used.
- degrees - Variable in enum universum.studios.android.device.screen.Screen.ScreenRotation
-
The value of degrees specific for this screen rotation.
- deleteDirectories(String...) - Method in interface universum.studios.android.device.storage.Storage
-
- deleteDirectories(int, String...) - Method in interface universum.studios.android.device.storage.Storage
-
- deleteDirectories(int, FileFilter, FilenameFilter, String...) - Method in interface universum.studios.android.device.storage.Storage
-
Deletes all directories at the given paths from this Android device's storage.
- deleteDirectories(String...) - Static method in class universum.studios.android.device.storage.StorageUtils
-
- deleteDirectories(String, String...) - Static method in class universum.studios.android.device.storage.StorageUtils
-
- deleteDirectories(FileFilter, FilenameFilter, String, String...) - Static method in class universum.studios.android.device.storage.StorageUtils
-
Deletes all directories at the given paths on the file system.
- deleteDirectory(String) - Method in interface universum.studios.android.device.storage.Storage
-
- deleteDirectory(int, String) - Method in interface universum.studios.android.device.storage.Storage
-
- deleteDirectory(int, FileFilter, FilenameFilter, String) - Method in interface universum.studios.android.device.storage.Storage
-
Deletes a directory at the given path from this Android device's storage.
- deleteDirectory(File) - Method in class universum.studios.android.device.storage.StorageEditor
-
- deleteDirectory(File, FileFilter, FilenameFilter) - Method in class universum.studios.android.device.storage.StorageEditor
-
Deletes the given directory and its content (all files + subdirectories) on the file system.
- deleteDirectory(String) - Static method in class universum.studios.android.device.storage.StorageUtils
-
- deleteDirectory(FileFilter, FilenameFilter, String) - Static method in class universum.studios.android.device.storage.StorageUtils
-
- deleteFile(String) - Method in interface universum.studios.android.device.storage.Storage
-
- deleteFile(int, String) - Method in interface universum.studios.android.device.storage.Storage
-
Deletes a file at the given path from this Android device's storage.
- deleteFile(String) - Static method in class universum.studios.android.device.storage.StorageUtils
-
Deletes a file at the specified path on the file system.
- deleteFileOrDirectory(String) - Method in interface universum.studios.android.device.storage.Storage
-
- deleteFileOrDirectory(int, String) - Method in interface universum.studios.android.device.storage.Storage
-
- deleteFileOrDirectory(int, FileFilter, FilenameFilter, String) - Method in interface universum.studios.android.device.storage.Storage
-
- deleteFiles(String...) - Method in interface universum.studios.android.device.storage.Storage
-
- deleteFiles(int, String...) - Method in interface universum.studios.android.device.storage.Storage
-
Deletes all files at the given paths from this Android device's storage.
- deleteFiles(String...) - Static method in class universum.studios.android.device.storage.StorageUtils
-
- deleteFiles(String, String...) - Static method in class universum.studios.android.device.storage.StorageUtils
-
Deletes all files at the given paths on the file system.
- deleteFilesOrDirectories(String...) - Method in interface universum.studios.android.device.storage.Storage
-
- deleteFilesOrDirectories(int, String...) - Method in interface universum.studios.android.device.storage.Storage
-
- deleteFilesOrDirectories(int, FileFilter, FilenameFilter, String...) - Method in interface universum.studios.android.device.storage.Storage
-
- Device - Class in universum.studios.android.device
-
Device is a simple class providing basic information about the Android device.
- DeviceConfig - Class in universum.studios.android.device
-
Configuration options for the Device library.
- DeviceUtils - Class in universum.studios.android.device
-
- directoryExists(String) - Static method in class universum.studios.android.device.storage.StorageUtils
-
Checks whether a directory at the specified path on the file system exists or not.
- dpToPixel(float) - Method in interface universum.studios.android.device.screen.Screen
-
Transforms density pixel to raw pixel.
- getBattery(Context) - Method in interface universum.studios.android.device.battery.Battery.Provider
-
Provides a singleton implementation of
Battery.
- getBrightness(Activity) - Method in interface universum.studios.android.device.screen.Screen
-
Returns the back-light brightness of the Android device's screen for the current application
window from the range [0, 100].
- getConnection(Context) - Method in interface universum.studios.android.device.connection.Connection.Provider
-
Provides a singleton implementation of
Connection.
- getConnectionInfo(Connection.ConnectionType) - Method in interface universum.studios.android.device.connection.Connection
-
Returns the current info about the requested connectionType.
- getConnectionType() - Method in interface universum.studios.android.device.connection.Connection
-
Returns type of the current established connection.
- getCurrentHeight() - Method in interface universum.studios.android.device.screen.Screen
-
Returns the current height of the Android device's screen, which depends on the current screen
orientation.
- getCurrentOrientation() - Method in interface universum.studios.android.device.screen.Screen
-
Returns the current orientation of the Android device's screen.
- getCurrentRotation() - Method in interface universum.studios.android.device.screen.Screen
-
Returns the current rotation of the Android device's screen.
- getCurrentWidth() - Method in interface universum.studios.android.device.screen.Screen
-
Returns the current width of the Android device's screen, which depends on the current screen
orientation.
- getDefaultOrientation() - Method in interface universum.studios.android.device.screen.Screen
-
Returns the default orientation of the Android device's screen.
- getDensity() - Method in interface universum.studios.android.device.screen.Screen
-
Returns the density of the Android device's screen.
- getDiagonalDistanceInInches() - Method in interface universum.studios.android.device.screen.Screen
-
Returns the diagonal distance of the Android device's screen.
- getDiagonalDistanceInPixels() - Method in interface universum.studios.android.device.screen.Screen
-
Returns the diagonal distance of the Android device's screen.
- getDirectoriesContent(String...) - Method in interface universum.studios.android.device.storage.Storage
-
- getDirectoriesContent(int, String...) - Method in interface universum.studios.android.device.storage.Storage
-
- getDirectoriesContent(int, FileFilter, FilenameFilter, String...) - Method in interface universum.studios.android.device.storage.Storage
-
Lists all files stored within directories at the given paths on this Android
device's storage.
- getDirectoryContent(String) - Method in interface universum.studios.android.device.storage.Storage
-
- getDirectoryContent(int, String) - Method in interface universum.studios.android.device.storage.Storage
-
- getDirectoryContent(int, FileFilter, FilenameFilter, String) - Method in interface universum.studios.android.device.storage.Storage
-
Lists all files stored within a directory at the given path on this Android device's
storage.
- getDisplay() - Method in interface universum.studios.android.device.screen.Screen
-
Returns default display of the Android device.
- getFile(int, String) - Method in interface universum.studios.android.device.storage.Storage
-
Returns a file eventually stored on the specified storage.
- getFreeSpace(int) - Method in interface universum.studios.android.device.storage.Storage
-
Returns the currently available free space on the requested storage type.
- getHealth() - Method in interface universum.studios.android.device.battery.Battery
-
Returns the current health of the Android device's battery.
- getHealthLowLevel() - Method in interface universum.studios.android.device.battery.Battery
-
Returns value of the battery current health LOW level.
- getHealthOkLevel() - Method in interface universum.studios.android.device.battery.Battery
-
Returns value of the battery current health OK level.
- getHeight() - Method in interface universum.studios.android.device.screen.Screen
-
Returns the "default" height of the Android device's screen.
- getMetrics() - Method in interface universum.studios.android.device.screen.Screen
-
Returns the current display metrics of the Android device's screen.
- getPluggedState() - Method in interface universum.studios.android.device.battery.Battery
-
Returns the current plugged state of the Android device's battery.
- getRawDensity() - Method in interface universum.studios.android.device.screen.Screen
-
Returns the raw density of the Android device's screen obtained from the screen metrics.
- getRefreshRate() - Method in interface universum.studios.android.device.screen.Screen
-
Returns refresh rate of the Android device's screen.
- getRequestedOrientation(Activity) - Method in interface universum.studios.android.device.screen.Screen
-
- getScreen(Context) - Method in interface universum.studios.android.device.screen.Screen.Provider
-
Provides a singleton implementation of
Screen.
- getScreenDP() - Method in interface universum.studios.android.device.screen.Screen
-
Returns the value of density pixel for 1 pixel for the Android device's screen.
- getStatus() - Method in interface universum.studios.android.device.battery.Battery
-
Returns the current status of the Android device's battery.
- getStorage(int) - Method in interface universum.studios.android.device.storage.Storage
-
Returns a file representing the directory on this Android device's file system.
- getStorage(Context) - Method in interface universum.studios.android.device.storage.Storage.Provider
-
Provides a singleton implementation of
Storage.
- getStoragePath(int) - Method in interface universum.studios.android.device.storage.Storage
-
- getStrength() - Method in interface universum.studios.android.device.battery.Battery
-
Returns the current strength of life of the Android device's battery.
- getSystemBrightness() - Method in interface universum.studios.android.device.screen.Screen
-
Returns the back-light brightness of the Android device's screen.
- getTechnology() - Method in interface universum.studios.android.device.battery.Battery
-
Returns the technology of the Android device's battery.
- getTemperature() - Method in interface universum.studios.android.device.battery.Battery
-
Returns the current temperature of the Android device's battery.
- getType() - Method in interface universum.studios.android.device.screen.Screen
-
Returns the type of the Android device's screen.
- getVoltage() - Method in interface universum.studios.android.device.battery.Battery
-
Returns the current voltage of the Android device's battery.
- getWidth() - Method in interface universum.studios.android.device.screen.Screen
-
Returns the "default" width of the Android device's screen.
- hasFreeSpace(int, long) - Method in interface universum.studios.android.device.storage.Storage
-
Checks whether there is the specified amount of bytes available on the requested
storage type.
- HEALTH_COLD - Static variable in interface universum.studios.android.device.battery.Battery
-
Copy of BatteryManager.BATTERY_HEALTH_COLD flag for better access.
- HEALTH_DEAD - Static variable in interface universum.studios.android.device.battery.Battery
-
Copy of BatteryManager.BATTERY_HEALTH_DEAD flag for better access.
- HEALTH_GOOD - Static variable in interface universum.studios.android.device.battery.Battery
-
Copy of BatteryManager.BATTERY_HEALTH_GOOD flag for better access.
- HEALTH_LOW_LEVEL - Static variable in interface universum.studios.android.device.battery.Battery
-
Default value of the battery health indicating LOW level.
- HEALTH_OK_LEVEL - Static variable in interface universum.studios.android.device.battery.Battery
-
Default value of the battery health indicating OK level.
- HEALTH_OVER_VOLTAGE - Static variable in interface universum.studios.android.device.battery.Battery
-
Copy of BatteryManager.BATTERY_HEALTH_OVER_VOLTAGE flag for better access.
- HEALTH_OVERHEAT - Static variable in interface universum.studios.android.device.battery.Battery
-
Copy of BatteryManager.BATTERY_HEALTH_OVERHEAT flag for better access.
- HEALTH_UNKNOWN - Static variable in interface universum.studios.android.device.battery.Battery
-
Copy of BatteryManager.BATTERY_HEALTH_UNKNOWN flag for better access.
- HEALTH_UNSPECIFIED_FAILURE - Static variable in interface universum.studios.android.device.battery.Battery
-
Copy of BatteryManager.BATTERY_HEALTH_UNSPECIFIED_FAILURE flag for better access.
- hideSoftKeyboard(Activity) - Static method in class universum.studios.android.device.screen.ScreenUtils
-
Hides soft keyboard from the current window.
- hideSoftKeyboard(View) - Static method in class universum.studios.android.device.screen.ScreenUtils
-
Hides soft keyboard from the current window using token of the given focused view.
- INTERNAL - Static variable in interface universum.studios.android.device.storage.Storage
-
Identifier for the internal directory of an Android device's file system.
- isAvailable(Connection.ConnectionType) - Method in interface universum.studios.android.device.connection.Connection
-
Checks whether the Android device can establish connection for the requested connectionType
- isBatteryReceiverRegistered(int) - Method in interface universum.studios.android.device.battery.Battery
-
Returns flag indicating whether the battery receiver with the specified receiverFlag
is currently registered or not.
- isCharging() - Method in interface universum.studios.android.device.battery.Battery
-
Returns flag indicating whether the Android device's battery is currently being charging or not.
- isConnected() - Method in interface universum.studios.android.device.connection.Connection
-
Checks whether the Android device has some connection currently established.
- isConnected(Connection.ConnectionType) - Method in interface universum.studios.android.device.connection.Connection
-
Checks whether the Android device has established the connection for the requested connectionType.
- isConnectedOrConnecting() - Method in interface universum.studios.android.device.connection.Connection
-
Checks whether the Android device has some connection or is currently in the process to establish
some connection.
- isConnectedOrConnecting(Connection.ConnectionType) - Method in interface universum.studios.android.device.connection.Connection
-
Checks whether the Android device has established the connection or is currently in the process
to establish the connection for the requested connectionType.
- isConnectionAvailable(Context, int) - Static method in class universum.studios.android.device.connection.ConnectionUtils
-
Checks whether there is connection of the requested connectionType available or not.
- isConnectionEstablished(Context) - Static method in class universum.studios.android.device.connection.ConnectionUtils
-
Checks whether there is some connection currently established or not.
- isConnectionEstablished(Context, int) - Static method in class universum.studios.android.device.connection.ConnectionUtils
-
Checks whether there is connection of the requested connectionType currently established
or not.
- isConnectionReceiverRegistered() - Method in interface universum.studios.android.device.connection.Connection
-
- isDirectoryEmpty(String) - Static method in class universum.studios.android.device.storage.StorageUtils
-
Checks whether a directory at the specified path contains any files/subdirectories
or not.
- isError - Variable in class universum.studios.android.device.storage.Storage.BaseResult
-
Flag indicating whether this result was created as error or not.
- isExternalAvailable() - Method in interface universum.studios.android.device.storage.Storage
-
Checks whether there is some external storage available on this Android device which can be
used to store some data.
- isExternalMounted() - Method in interface universum.studios.android.device.storage.Storage
-
Checks whether there is some external storage mounted to this Android device or not.
- isExternalReadOnly() - Method in interface universum.studios.android.device.storage.Storage
-
Checks whether the current mounted external storage is in read only state or not.
- isInteractive() - Method in interface universum.studios.android.device.screen.Screen
-
Checks whether the Android device's screen is interactive or not.
- isLow() - Method in interface universum.studios.android.device.battery.Battery
-
Returns flag indicating whether the current strength of the Android device's battery is below
the
LOW (
Battery.getHealthLowLevel()) level value or not.
- isOn() - Method in interface universum.studios.android.device.screen.Screen
-
Checks whether the Android device's screen is currently on or off.
- isOrientationLocked() - Method in interface universum.studios.android.device.screen.Screen
-
Returns flag indicating whether orientation of the Android device's screen is currently locked
or not.
- isPlugged() - Method in interface universum.studios.android.device.battery.Battery
-
Returns flag indicating whether the Android device's battery is currently plugged to some
power source or not.
- isTablet(Context) - Static method in class universum.studios.android.device.DeviceUtils
-
Checks whether the current Android device matches tablet specifications or not.
- obtainEstablishedConnectionInfo(Context) - Static method in class universum.studios.android.device.connection.ConnectionUtils
-
Obtains info of the currently established connection.
- obtainEstablishedConnectionType(Context) - Static method in class universum.studios.android.device.connection.ConnectionUtils
-
Obtains type of the currently established connection.
- onConnectionEstablished(Context, Connection.ConnectionType, NetworkInfo) - Method in interface universum.studios.android.device.connection.Connection.OnConnectionListener
-
Invoked whenever registered
ConnectionStateReceiver revives an Intent for the
ConnectivityManager.CONNECTIVITY_ACTION and there is some connection established.
- onConnectionLost(Context, Connection.ConnectionType) - Method in interface universum.studios.android.device.connection.Connection.OnConnectionListener
-
Invoked whenever registered
ConnectionStateReceiver receives an Intent for the
ConnectivityManager.CONNECTIVITY_ACTION and there is no connection available.
- onHealthLow(Context, Battery) - Method in interface universum.studios.android.device.battery.Battery.OnHealthListener
-
Invoked whenever the current strength of the battery changes from the OK level to
the LOW.
- onHealthOk(Context, Battery) - Method in interface universum.studios.android.device.battery.Battery.OnHealthListener
-
Invoked whenever the current strength of the battery changes from the LOW level to
the OK level.
- onPluggedToPowerSource(Context, Battery) - Method in interface universum.studios.android.device.battery.Battery.OnPluggedStateListener
-
Invoked whenever the battery has been plugged into some power source.
- onReceive(Context, Intent) - Method in class universum.studios.android.device.battery.BatteryHealthReceiver
-
- onReceive(Context, Intent) - Method in class universum.studios.android.device.battery.BatteryPluggedStateReceiver
-
- onReceive(Context, Intent) - Method in class universum.studios.android.device.battery.BatteryStatusReceiver
-
- onReceive(Context, Intent) - Method in class universum.studios.android.device.connection.ConnectionStateReceiver
-
- onStatusChange(Context, Battery) - Method in interface universum.studios.android.device.battery.Battery.OnStatusListener
-
Invoked whenever the status change of the battery occurs.
- onUnpluggedFromPowerSource(Context, Battery) - Method in interface universum.studios.android.device.battery.Battery.OnPluggedStateListener
-
Invoked whenever the battery has been unplugged from power source.
- ORIENTATION_BEHIND - Static variable in interface universum.studios.android.device.screen.Screen
-
Copy of ActivityInfo.SCREEN_ORIENTATION_BEHIND flag for better access.
- ORIENTATION_CURRENT - Static variable in interface universum.studios.android.device.screen.Screen
-
Orientation flag that is used to lock screen on the current orientation.
- ORIENTATION_FULL_SENSOR - Static variable in interface universum.studios.android.device.screen.Screen
-
Copy of ActivityInfo.SCREEN_ORIENTATION_FULL_SENSOR flag for better access.
- ORIENTATION_LANDSCAPE - Static variable in interface universum.studios.android.device.screen.Screen
-
Copy of ActivityInfo.SCREEN_ORIENTATION_LANDSCAPE flag for better access.
- ORIENTATION_PORTRAIT - Static variable in interface universum.studios.android.device.screen.Screen
-
Copy of ActivityInfo.SCREEN_ORIENTATION_PORTRAIT flag for better access.
- ORIENTATION_REVERSE_LANDSCAPE - Static variable in interface universum.studios.android.device.screen.Screen
-
Copy of ActivityInfo.SCREEN_ORIENTATION_REVERSE_LANDSCAPE flag for better access.
- ORIENTATION_REVERSE_PORTRAIT - Static variable in interface universum.studios.android.device.screen.Screen
-
Copy of ActivityInfo.SCREEN_ORIENTATION_REVERSE_PORTRAIT flag for better access.
- ORIENTATION_SENSOR - Static variable in interface universum.studios.android.device.screen.Screen
-
Copy of ActivityInfo.SCREEN_ORIENTATION_SENSOR flag for better access.
- ORIENTATION_SENSOR_LANDSCAPE - Static variable in interface universum.studios.android.device.screen.Screen
-
Copy of ActivityInfo.SCREEN_ORIENTATION_SENSOR_LANDSCAPE flag for better access.
- ORIENTATION_SENSOR_PORTRAIT - Static variable in interface universum.studios.android.device.screen.Screen
-
Copy of ActivityInfo.SCREEN_ORIENTATION_SENSOR_PORTRAIT flag for better access.
- ORIENTATION_UNSPECIFIED - Static variable in interface universum.studios.android.device.screen.Screen
-
Copy of ActivityInfo.SCREEN_ORIENTATION_UNSPECIFIED flag for better access.
- ORIENTATION_USER - Static variable in interface universum.studios.android.device.screen.Screen
-
Copy of ActivityInfo.SCREEN_ORIENTATION_USER flag for better access.
- originalName - Variable in enum universum.studios.android.device.battery.Battery.BatteryTechnology
-
Original name of this battery technology.
- originalName - Variable in enum universum.studios.android.device.connection.Connection.ConnectionType
-
Original name of this connection type.
- OVERWRITE - Static variable in interface universum.studios.android.device.storage.Storage
-
- OVERWRITE - Static variable in class universum.studios.android.device.storage.StorageEditor
-
Flag used to indicate that file/directory can be overwritten.
- path - Variable in class universum.studios.android.device.storage.Storage.Result
-
The path passed to the method for which was this result created.
- PERMISSION_EXECUTE - Static variable in interface universum.studios.android.device.storage.Storage
-
Flag indicating whether to allow permission to file to be executable or not.
- PERMISSION_READ - Static variable in interface universum.studios.android.device.storage.Storage
-
Flag indicating whether to allow permission to file to be readable or not.
- PERMISSION_WRITE - Static variable in interface universum.studios.android.device.storage.Storage
-
Flag indicating whether to allow permission to file to be writable or not.
- PERMISSIONS_ALL - Static variable in interface universum.studios.android.device.storage.Storage
-
All file permissions.
- PERMISSIONS_READ_WRITE - Static variable in interface universum.studios.android.device.storage.Storage
-
Read + Write file permissions.
- PHABLET - Static variable in class universum.studios.android.device.DeviceUtils
-
Identifier for PHABLET type of Android powered device.
- PHONE - Static variable in class universum.studios.android.device.DeviceUtils
-
Identifier for PHONE type of Android powered device.
- pixelToDP(int) - Method in interface universum.studios.android.device.screen.Screen
-
Transforms raw pixel to density pixel.
- PLUGGED_AC - Static variable in interface universum.studios.android.device.battery.Battery
-
Copy of BatteryManager.BATTERY_PLUGGED_AC flag for better access.
- PLUGGED_NONE - Static variable in interface universum.studios.android.device.battery.Battery
-
Plugged state flag indicating that the battery isn't connected to any power source.
- PLUGGED_UNKNOWN - Static variable in interface universum.studios.android.device.battery.Battery
-
Plugged state flag indicating that the battery plugged state is unknown due to some error or
the current battery data are unavailable.
- PLUGGED_USB - Static variable in interface universum.studios.android.device.battery.Battery
-
Copy of BatteryManager.BATTERY_PLUGGED_USB flag for better access.
- PLUGGED_WIRELESS - Static variable in interface universum.studios.android.device.battery.Battery
-
Copy of BatteryManager.BATTERY_PLUGGED_WIRELESS flag for better access.
- preferencesKey - Variable in enum universum.studios.android.device.connection.Connection.ConnectionType
-
The key under which may be this connection type saved within shared preferences.
- PROVIDER - Static variable in interface universum.studios.android.device.battery.Battery
-
- PROVIDER - Static variable in interface universum.studios.android.device.connection.Connection
-
- PROVIDER - Static variable in interface universum.studios.android.device.screen.Screen
-
- PROVIDER - Static variable in interface universum.studios.android.device.storage.Storage
-
- RECEIVER_BATTERY_HEALTH - Static variable in interface universum.studios.android.device.battery.Battery
-
- RECEIVER_BATTERY_PLUGGED_STATE - Static variable in interface universum.studios.android.device.battery.Battery
-
- RECEIVER_BATTERY_STATUS - Static variable in interface universum.studios.android.device.battery.Battery
-
- registerBatteryReceiver(Context, int) - Method in interface universum.studios.android.device.battery.Battery
-
Registers a battery receiver for the given context.
- registerConnectionReceiver(Context) - Method in interface universum.studios.android.device.connection.Connection
-
- registerOnConnectionListener(Connection.OnConnectionListener) - Method in interface universum.studios.android.device.connection.Connection
-
Registers a callback to be invoked when some connection change occur.
- registerOnHealthListener(Battery.OnHealthListener) - Method in interface universum.studios.android.device.battery.Battery
-
Registers a callback to be invoked when health of the battery changes.
- registerOnPluggedStateListener(Battery.OnPluggedStateListener) - Method in interface universum.studios.android.device.battery.Battery
-
Registers a callback to be invoked when plugged state of the battery changes.
- registerOnStatusListener(Battery.OnStatusListener) - Method in interface universum.studios.android.device.battery.Battery
-
Registers a callback to be invoked when the battery status changes.
- requestOrientation(Activity, int) - Method in interface universum.studios.android.device.screen.Screen
-
Requests the specified orientation as orientation of the Android device's screen for the given
activity.
- resolve(String) - Static method in enum universum.studios.android.device.battery.Battery.BatteryTechnology
-
Resolves an instance of BatteryTechnology according to the given tagName from the
current set of BatteryTechnology values.
- resolve(int) - Static method in enum universum.studios.android.device.connection.Connection.ConnectionType
-
Resolves an instance of ConnectionType according to the given typeId from the
current set of ConnectionType values.
- resolve(float) - Static method in enum universum.studios.android.device.screen.Screen.ScreenDensity
-
Resolves an instance of ScreenDensity according to the given densityDpi.
- resolve(int) - Static method in enum universum.studios.android.device.screen.Screen.ScreenRotation
-
Resolves an instance of ScreenRotation according to the given systemConstant from
the current set of ScreenRotation values.
- resolve(float, float) - Static method in enum universum.studios.android.device.screen.Screen.ScreenType
-
Resolves an instance of ScreenType according to the given native screen dimensions from the
current set of ScreenType values.
- results - Variable in class universum.studios.android.device.storage.Storage.Results
-
List of single results where each of them was obtained by invoking storage API method which
accepts single path as parameter for each of the passed paths which were passed to
the method for which was this result created.
- ROOT - Static variable in interface universum.studios.android.device.storage.Storage
-
Identifier for the root directory of an Android device's file system.
- scaleRatio - Variable in enum universum.studios.android.device.screen.Screen.ScreenDensity
-
The value of scale ratio specific for this screen density.
- Screen - Interface in universum.studios.android.device.screen
-
Screen interface specifies API through which an actual information about the Android device's
screen may be accessed.
- Screen.Orientation - Annotation Type in universum.studios.android.device.screen
-
Defines an annotation for determining set of available screen orientations.
- Screen.Provider - Interface in universum.studios.android.device.screen
-
Interface for provider that may be used to access implementation of
Screen.
- Screen.ScreenDensity - Enum in universum.studios.android.device.screen
-
Represents density of the Android device's screen.
- Screen.ScreenRotation - Enum in universum.studios.android.device.screen
-
Represents rotation of the Android device's screen.
- Screen.ScreenType - Enum in universum.studios.android.device.screen
-
Represents type of the Android device's screen.
- ScreenUtils - Class in universum.studios.android.device.screen
-
Simple utility class specifying API allowing to manage screen of the current Android device.
- setBrightness(Activity, int) - Method in interface universum.studios.android.device.screen.Screen
-
Sets the back-light brightness of the Android device's screen.
- setHealthLowLevel(int) - Method in interface universum.studios.android.device.battery.Battery
-
Sets value of the battery health LOW level.
- setHealthOkLevel(int) - Method in interface universum.studios.android.device.battery.Battery
-
Sets value of the battery health OK level.
- showSoftKeyboard(Activity) - Static method in class universum.studios.android.device.screen.ScreenUtils
-
Shows soft keyboard on the current window.
- showSoftKeyboard(View) - Static method in class universum.studios.android.device.screen.ScreenUtils
-
Shows soft keyboard on the current window using token of the given focused view.
- SMALL_BUFFER - Static variable in class universum.studios.android.device.storage.StorageEditor
-
- STATUS_CHARGING - Static variable in interface universum.studios.android.device.battery.Battery
-
Copy of BatteryManager.BATTERY_STATUS_CHARGING flag for better access.
- STATUS_DISCHARGING - Static variable in interface universum.studios.android.device.battery.Battery
-
Copy of BatteryManager.BATTERY_STATUS_DISCHARGING flag for better access.
- STATUS_FULL - Static variable in interface universum.studios.android.device.battery.Battery
-
Copy of BatteryManager.BATTERY_STATUS_FULL flag for better access.
- STATUS_NOT_CHARGING - Static variable in interface universum.studios.android.device.battery.Battery
-
Copy of BatteryManager.BATTERY_STATUS_NOT_CHARGING flag for better access.
- STATUS_UNKNOWN - Static variable in interface universum.studios.android.device.battery.Battery
-
Copy of BatteryManager.BATTERY_STATUS_UNKNOWN flag for better access.
- Storage - Interface in universum.studios.android.device.storage
-
Storage interface specifies API through which an actual information about the Android device's
storage may be accessed.
- Storage.BaseResult - Class in universum.studios.android.device.storage
-
This class represents the base structure for results which may be returned by this storage API
when invoking some of its methods.
- Storage.FilePermissions - Annotation Type in universum.studios.android.device.storage
-
Defines an annotation for determining set of allowed file permission flags.
- Storage.Flags - Annotation Type in universum.studios.android.device.storage
-
Defines an annotation for determining set of allowed flags.
- Storage.Provider - Interface in universum.studios.android.device.storage
-
Interface for provider that may be used to access implementation of
Storage.
- Storage.Result - Class in universum.studios.android.device.storage
-
This class represents structure for result which will be returned by this storage API when
invoking some of its methods which accepts only single path as parameter.
- Storage.Results - Class in universum.studios.android.device.storage
-
This class represents structure for result which will be returned by this storage API when
invoking some of its methods which accepts set of paths as parameter so when requesting
a bulk storage operation.
- Storage.StorageDir - Annotation Type in universum.studios.android.device.storage
-
Defines an annotation for determining set of available storage directories.
- Storage.Unit - Enum in universum.studios.android.device.storage
-
Represents unit to measure files on an Android device's file system.
- StorageEditor - Class in universum.studios.android.device.storage
-
The StorageEditor is a helper class used by
StorageUtils to perform
Files
related operations.
- StorageEditor() - Constructor for class universum.studios.android.device.storage.StorageEditor
-
- StorageUtils - Class in universum.studios.android.device.storage
-
Simple utility class specifying API allowing to create, copy, move or delete files on the current
Android device's file system.
- succeeded - Variable in class universum.studios.android.device.storage.Storage.Results
-
The count determining how many operations were successfully performed for the paths passed
to the bulk method for which was this result created.
- systemConstant - Variable in enum universum.studios.android.device.connection.Connection.ConnectionType
-
The flag provided by ConnectivityManager for this connectivity type.
- systemConstant - Variable in enum universum.studios.android.device.screen.Screen.ScreenRotation
-
The flag provided by Surface for this screen rotation.
- value - Variable in enum universum.studios.android.device.screen.Screen.ScreenDensity
-
The value of this screen density in DPI units.
- valueOf(String) - Static method in enum universum.studios.android.device.battery.Battery.BatteryTechnology
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum universum.studios.android.device.connection.Connection.ConnectionType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum universum.studios.android.device.screen.Screen.ScreenDensity
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum universum.studios.android.device.screen.Screen.ScreenRotation
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum universum.studios.android.device.screen.Screen.ScreenType
-
Returns the enum constant of this type with the specified name.
- valueOf(String) - Static method in enum universum.studios.android.device.storage.Storage.Unit
-
Returns the enum constant of this type with the specified name.
- values() - Static method in enum universum.studios.android.device.battery.Battery.BatteryTechnology
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum universum.studios.android.device.connection.Connection.ConnectionType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum universum.studios.android.device.screen.Screen.ScreenDensity
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum universum.studios.android.device.screen.Screen.ScreenRotation
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum universum.studios.android.device.screen.Screen.ScreenType
-
Returns an array containing the constants of this enum type, in
the order they are declared.
- values() - Static method in enum universum.studios.android.device.storage.Storage.Unit
-
Returns an array containing the constants of this enum type, in
the order they are declared.