Package-level declarations
Types
Properties
get AccessibilityManager
get AccountManager
get ActivityManager
get AlarmManager
get AppOpsManager
get AppWidgetManager
get AudioManager
get BatteryManager
get BluetoothManager
get CameraManager
get CaptioningManager
get ClipboardManager
get ConnectivityManager
get ConsumerIrManager
get DevicePolicyManager
get DisplayManager
get downloadManager
get DropBoxManager
get InputManager
get InputMethodManager
Checks if the string can be parsed as an integer number.
Returns true if the specified character is a whitespace character (CR, LF, SP or HT).
Returns true if the specified string consists entirely of whitespace characters.
get JobScheduler
get KeyguardManager
get LauncherApps
get LayoutInflater
get LocationManager
get MediaProjectionManager
get MediaRouter
get MediaSessionManager
get NfcManager
get NotificationManager
get NsdManager
A convenient inline property to retrieve the PowerManager system service.
get PrintManager
get RestrictionsManager
get SearchManager
get SensorManager
get StorageManager
get StorageStatsManager
get TelecomManager
get TelephonyManager
get TextServicesManager
Checks if the string can be parsed as a decimal number (Double).
get TvInputManager
get UiModeManager
get UsbManager
get UserManager
get WallpaperManager
get WifiManager
get WifiP2pManager
get WindowManager
Functions
Calculates what fraction this number is of a given value.
Converts this Float value from Celsius to Fahrenheit.
Converts this Float value from centimetres to inches.
Returns true if the given range contains the other range
Checks if the string contains any of the specified symbols.
Delete all files in a directory using recurssion
Converts a temperature value from Fahrenheit to Celsius.
get human-readable size string from given file
Return date in yyyy-MM-dd format.
Executes a given block of code if the value of this nullable type is not null. This function allows for safe, chained operations on a nullable object, similar to let, but it returns the original receiver (this) instead of the result of the lambda. This is useful for performing side effects on a non-null value without altering the flow.
Converts this Float value from inches to centimetres.
Determines if a given year is a leap year. A year is a leap year if it is divisible by 4, unless it is a century year not divisible by 400.
Checks if a list is not null and not empty.
Checks if a list is null or empty.
Checks if the object is of the specified generic type T or is null. This is a convenient shorthand for this is T?.
Converts this Float value from kilograms to pounds.
Converts this Float value from kilometres to miles.
Merges the given Collection of type-equivalent Maps together, while grouping the values of each key together and finally applying the given lambds to each value to merge the list of values of each key into a single value such that the returned map has the same type-signature again.
Converts this Float value from miles to kilometers.
Returns true if the given range overlaps with the other range
Returns how many percent of the items of the given Collection satisfy the predicate.
Converts this Float value from pounds to kilograms.
Returns the first n percent of items out of the given Collection. The precentage gets rounded to the next integer regardless of the size of the returned List
Calculate size into human-readable size
Calculates the percentage that this number represents out of a given total.