Back

GetModel

JS Py
Hello World

Returns the model name of the device.

app.GetModel() → String

Example - Get Device Model

function OnStart()
{
    model = app.GetModel();
    app.ShowPopup( model );
}
def OnStart():
    model = app.GetModel()
    app.ShowPopup( model )
    Copy     Copy All       Run