How can i delete this photo using Kotlin? Can you please help me solving this problem?
Kotlin
 private fun uploadPhoto() {
        if (selectedPhotoUri == null) return
        val filename = UUID.randomUUID().toString()
        val ref = FirebaseStorage.getInstance().getReference("/Users/$filename")
        ref.putFile(selectedPhotoUri!!)
                .addOnSuccessListener {
                    ref.downloadUrl.addOnSuccessListener {
                        url = it.toString()
                        store(url!!)
                    }
                }
                .addOnFailureListener {
                    Toast.makeText(this, "", Toast.LENGTH_LONG).show()
                }
    }
 
    