Package-level declarations
Properties
Functions
Link copied to clipboard
Cancels a notification with the given ID.
Link copied to clipboard
Creates a notification channel with the given ID and name.
Link copied to clipboard
Link copied to clipboard
Calculates the total size of a directory recursively, including all files and subdirectories.
Link copied to clipboard
Link copied to clipboard
fun Context.notificationBuilder(channelId: String, block: NotificationCompat.Builder.() -> Unit? = null, color: Int = Color.parseColor("#B39DDB")): NotificationCompat.Builder
Creates and returns a NotificationCompat.Builder with the given channel ID and optional configuration.
Link copied to clipboard
fun Context.notify(notificationWithIdAndTags: List<NotificationManagerCompat.NotificationWithIdAndTag>)
Shows multiple notifications at once.
Shows a notification with the given ID and Notification object.
fun Context.notify(id: Int, channelId: String, channelName: String, shouldInitializeChannel: Boolean = false, block: NotificationCompat.Builder.() -> Unit? = null)
Creates and shows a notification with the given parameters.
Link copied to clipboard
Saves the content of this BufferedSource to the specified file.
Saves the content of this BufferedSource to the specified OutputStream.