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.
Return
Section titled “Return”- 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