Back

GetIntent

Hello World

Returns an intent object sent to the app.

app.GetIntent() → object: { action, type, data, flags, extras: { app_intent, app_file, app_options } }

See Also: SendIntent

Example - Get received intent data

function OnStart()
{
    var int = app.GetIntent();
    app.Alert( JSON.stringify( int ));
}
    Copy     Copy All       Run      
string
number: integer
string: path to file or folder ( “/absolute/...” or “relative/...” )