alexhelder
07/01/2025, 12:10 AMDownloadManager.remove(long… ids)
. From Kotlin, I would normally pass a LongArray
to that method like:
val ids = longArrayOf(1L, 2L, 3L)
downloadManager.remove(*ids)
If I want to use value class for these IDs like value class DownloadId(val id:Long)
how would I pass an primitive array of those and pass it in to remove
?ephemient
07/01/2025, 12:21 AM