FileUtils

object FileUtils : Base<FileUtils>

Set of utilities for working with file system.

Functions

Link copied to clipboard
fun saveBitmapToFile(    context: Context,     bitmap: Bitmap,     fileName: String? = null,     path: String? = null,     format: Bitmap.CompressFormat = CompressFormat.PNG,     quality: Int = 100): File

Save a bitmap object into image file.

Properties

Link copied to clipboard
var firebaseAnalyticsEnabled: Boolean

Determines if the event log in Firebase Analytics is enabled for the class instance, for the event log, the static property of the companion object firebaseAnalyticsInstance must also be assigned, if that property is null, no events will be logged, since what is required.