GetPermission accepts a list of 'dangerus' classified permissions and returns a list of ungranted permissions in the callback function, or in case of only “ExtSDCard” the path URI of the user-selected folder.
See Also: CheckPermission RemovePermission ListPermissions
Example - Get ExtSDCard Permission and User-Selected Path
function OnStart()
{
var path = app.GetPermission( "extsdcard", OnPermission );
}
function OnPermission( pathURI )
{
app.Alert( pathURI );
}