Skip to main content

Function: isContentUri()

function isContentUri(uri: string): boolean;

Defined in: packages/player/src/content-uri.ts:15

Whether uri is an Android content:// URI.

Case-insensitive on the scheme, because Uri.parse is: CONTENT://… is the same URI to Android and would otherwise slip past the rewrite and fail in mpv, which is the exact bug this whole path exists to remove.

Parameters​

ParameterType
uristring

Returns​

boolean