Type Alias: BrowseErrorCode
type BrowseErrorCode =
| "authenticationExpired"
| "premiumAccountRequired"
| "notAvailableInRegion"
| "parentalControlRestricted"
| "notSupported";
Defined in: packages/media-session/src/specs/media-session.nitro.ts:1085
Why a browse request could not be answered.
Only the first two reach a legacy browser's screen: media3 replicates a
LibraryResult error into the platform playback state for
ERROR_SESSION_AUTHENTICATION_EXPIRED and
ERROR_SESSION_PREMIUM_ACCOUNT_REQUIRED and no others
(MediaLibraryService.LIBRARY_ERROR_REPLICATION_MODE_NON_FATAL, media3
1.11.0) — the rest are still returned honestly, they just render as an
empty list on Android Auto. CarPlay draws all five as a CPAlertTemplate.