toggle menu
lunaCore
androidJvm
switch theme
search in API
lunaCore
/
ru.visionlabs.grafika
/
MiscUtils
Misc
Utils
open
class
MiscUtils
Some handy utilities.
Members
Functions
get
Display
Refresh
Nsec
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.
get
Files
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.