Returns the speed of the user's last position.

1 system.user.getGPSSpeed

<system.user.getGPSSpeed code='code'/>
Example

Obtain the last speed in which the user was by default.

Copy
<xsql-script name='system_user_getSpeed_sample1'>
    <body>
        <println>
            <system.user.getGPSSpeed />
        </println>
    </body>
</xsql-script>

If you do not pass the user code via the attribute code, the system returns the value related with the user which executes the command.

Example

Obtain the speed of a specific user.

Copy
<xsql-script name='system_user_getSpeed_sample2'>
    <body>
        <println>
            <system.user.getGPSSpeed code='bpr'/>
        </println>
    </body>
</xsql-script>

Informing the attribute code, the system returns the value related with the specific user code.