Name: rotationRateChanged

Type: message

Syntax: rotationRateChanged <pXRate>, <pYRate>, <pZRate>

Summary:
Sent to the current card of the default stack when the rotation of the
device changes.

Introduced: 5.5

OS: ios, android

Platforms: mobile

Example:
on rotationRateChanged pXRate, pYRate, pZRate
   -- display the rotation rate along the x axis
   put pXRate into tXAxisRate
end rotationRateChanged

Parameters:
pXRate:
the rate of acceleration around the x axis, in radians/second

pYRate:
the rate of acceleration around the y axis, in radians/second

pZRate:
the rate of acceleration around the x axis, in radians/second

Description:
Handle the <rotationRateChanged> message if you want to perform an
action when the rate of acceleration along any axis changes.

The <rotationRateChanged> message is sent to the current card of the
default stack when the rate of rotation of the device changes.

References: mobileStopTrackingSensor (command),
mobileStartTrackingSensor (command), trackingError (message)

Tags: ui

