![]() |
Kodi Documentation 22.0
Kodi is an open source media player and entertainment hub.
|
Callback functions on GetDirectory() More...
Functions | |
bool | kodi::addon::CInstanceVFS::CVFSCallbacks::GetKeyboardInput (const std::string &heading, std::string &input, bool hiddenInput=false) |
Require keyboard input. | |
void | kodi::addon::CInstanceVFS::CVFSCallbacks::SetErrorDialog (const std::string &heading, const std::string &line1, const std::string &line2="", const std::string &line3="") |
Display an error dialog. | |
void | kodi::addon::CInstanceVFS::CVFSCallbacks::RequireAuthentication (const std::string &url) |
Prompt the user for authentication of a URL. | |
Callback functions on GetDirectory()
This functions becomes available during call of GetDirectory() from Kodi.
If GetDirectory() returns false becomes the parts from here used on next call of the function.
Example:
|
inline |
Require keyboard input.
Becomes called if GetDirectory() returns false and GetDirectory() becomes after entry called again.
[in] | heading | The heading of the keyboard dialog |
[out] | input | The resulting string. Returns string after second call! |
[in] | hiddenInput | To show input only as "*" on dialog |
|
inline |
Prompt the user for authentication of a URL.
[in] | url | The URL |
|
inline |
Display an error dialog.
[in] | heading | The heading of the error dialog |
[in] | line1 | The first line of the error dialog |
[in] | line2 | [opt] The second line of the error dialog |
[in] | line3 | [opt] The third line of the error dialog |