CodeBoy722 / MediaFacer

An android library aimed at helping in the structured querying of the MediaStore to get media files in the simplest way possible taking in account both storage mediums on device
107 stars 25 forks source link

Method wrong return type. #6

Closed yakaska closed 3 years ago

yakaska commented 3 years ago

audioContent..getAssetFileStringUri() should return uri not a String

CodeBoy722 commented 3 years ago

@android-school-valentin the return type is not wrong, the word String in the name of the method should tell you it returns a URI but in the form of a String, to get a URI from this method you should do as below

Uri audioUri = Uri.parse(audioContent.getAssetFileStringUri);