Loading api/current.xml +15 −0 Original line number Diff line number Diff line Loading @@ -153459,6 +153459,21 @@ <parameter name="volumeName" type="java.lang.String"> </parameter> </method> <method name="getContentUriForAudioId" return="android.net.Uri" abstract="false" native="false" synchronized="false" static="true" final="false" deprecated="not deprecated" visibility="public" > <parameter name="volumeName" type="java.lang.String"> </parameter> <parameter name="audioId" type="int"> </parameter> </method> <field name="CONTENT_TYPE" type="java.lang.String" transient="false" core/java/android/provider/MediaStore.java +13 −0 Original line number Diff line number Diff line Loading @@ -1233,6 +1233,19 @@ public final class MediaStore { "/audio/genres"); } /** * Get the content:// style URI for querying the genres of an audio file. * * @param volumeName the name of the volume to get the URI for * @param audioId the ID of the audio file for which to retrieve the genres * @return the URI to for querying the genres for the audio file * with the given the volume and audioID */ public static Uri getContentUriForAudioId(String volumeName, int audioId) { return Uri.parse(CONTENT_AUTHORITY_SLASH + volumeName + "/audio/media/" + audioId + "/genres"); } /** * The content:// style URI for the internal storage. */ Loading Loading
api/current.xml +15 −0 Original line number Diff line number Diff line Loading @@ -153459,6 +153459,21 @@ <parameter name="volumeName" type="java.lang.String"> </parameter> </method> <method name="getContentUriForAudioId" return="android.net.Uri" abstract="false" native="false" synchronized="false" static="true" final="false" deprecated="not deprecated" visibility="public" > <parameter name="volumeName" type="java.lang.String"> </parameter> <parameter name="audioId" type="int"> </parameter> </method> <field name="CONTENT_TYPE" type="java.lang.String" transient="false"
core/java/android/provider/MediaStore.java +13 −0 Original line number Diff line number Diff line Loading @@ -1233,6 +1233,19 @@ public final class MediaStore { "/audio/genres"); } /** * Get the content:// style URI for querying the genres of an audio file. * * @param volumeName the name of the volume to get the URI for * @param audioId the ID of the audio file for which to retrieve the genres * @return the URI to for querying the genres for the audio file * with the given the volume and audioID */ public static Uri getContentUriForAudioId(String volumeName, int audioId) { return Uri.parse(CONTENT_AUTHORITY_SLASH + volumeName + "/audio/media/" + audioId + "/genres"); } /** * The content:// style URI for the internal storage. */ Loading