MiscUtils

open class MiscUtils

Some handy utilities.

Functions

Link copied to clipboard
open fun getDisplayRefreshNsec(activity: Activity): Long
Obtains the approximate refresh time, in nanoseconds, of the default display associated with the activity.
Link copied to clipboard
open fun getFiles(dir: File, glob: String): Array<String>
Obtains a list of files that live in the specified directory and match the glob pattern.