GetShowFileStatus()
Description
Section titled âDescriptionâThe GetShowFileStatus Lua function returns a string with the current deviceâs show file status, for example, âNoShowâ, âShowLoadedâ, âShowDownloadedâ, âShowSavingâ, and âDataNegotiationActiveâ.
Arguments
Section titled âArgumentsâThis function does not accept any arguments.
- String:
The returned string is the enum string from âEnums.ShowFileStatusâ that matches the current status.
Example
Section titled âExampleâThis example prints the current deviceâs show file status in the Command Line History:
| Copy CodeLua |
| ``` |
| return function () |
-- Prints the current showfile statusPrintf("ShowfileStatus: "..GetShowFileStatus())end