|
Kodi Documentation 23.0
Kodi is an open source media player and entertainment hub.
|
#include <optional>#include <string_view>Classes | |
| struct | URIPolicy::Policy |
| Operation policy, independent of URI validity and installed handlers. More... | |
Namespaces | |
| namespace | URIPolicy |
Functions | |
| std::optional< std::string_view > | URIPolicy::GetScheme (std::string_view input) |
| Extract a scheme, respecting native drive prefixes. | |
| bool | URIPolicy::IsURILocation (std::string_view input) |
| Classify mixed input as a recognized URI scheme or legacy VFS URL. | |
| bool | URIPolicy::SchemeEquals (std::string_view left, std::string_view right) |
| Compare raw ASCII scheme names case-insensitively, without decoding. | |
| Policy | URIPolicy::GetPolicy (std::string_view scheme) |
| Return the policy for a case-insensitive scheme name. | |
| bool | URIPolicy::IsLegacyURL (std::string_view input) |
| Recognize Kodi's legacy leading scheme:// spelling, not every URI or URL. | |
| bool | URIPolicy::UsesLegacyURL (std::string_view input) |
| Select Kodi compatibility for a mixed-input location, including legacy backslashes. | |
| bool | URIPolicy::SupportsPathOperations (const CURI &uri) |
| bool | URIPolicy::CanSetPath (const CURI &uri, std::string_view path) |