mirror of
https://github.com/androidx/media.git
synced 2025-04-30 06:46:50 +08:00
Clarify that multiple LibraryParams fields can be set
Issue: androidx/media#2159 PiperOrigin-RevId: 730805485
This commit is contained in:
parent
a75da2f5f3
commit
3f493eaf9e
@ -875,9 +875,11 @@ public abstract class MediaLibraryService extends MediaSessionService {
|
|||||||
* Parameters for the interaction between {@link MediaBrowser} and {@link MediaLibrarySession}.
|
* Parameters for the interaction between {@link MediaBrowser} and {@link MediaLibrarySession}.
|
||||||
*
|
*
|
||||||
* <p>When a {@link MediaBrowser} specifies the parameters, the {@link MediaLibrarySession} is
|
* <p>When a {@link MediaBrowser} specifies the parameters, the {@link MediaLibrarySession} is
|
||||||
* recommended to do the best effort to provide a result regarding the parameters, but it's not an
|
* recommended to provide a result matching the parameters, but it's not an error if {@link
|
||||||
* error even though {@link MediaLibrarySession} doesn't return the parameters since they are
|
* MediaLibrarySession} can't fulfil the request.
|
||||||
* optional.
|
*
|
||||||
|
* <p>Multiple parameters can be combined together, for example to request {@linkplain
|
||||||
|
* #isSuggested suggested} items that are also {@linkplain #isOffline offline}.
|
||||||
*/
|
*/
|
||||||
public static final class LibraryParams {
|
public static final class LibraryParams {
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user