CoreMotionGyroDataWithSuccess
> CoreMotionGyroDataWithSuccess

Dictionary passed to the callback of the Gyroscope.startGyroUpdates() method.

  • 3.3.0
  • 3.3.0

NOTE This is an abstract type. Any object meeting this description can be used where this type is used.

Defined By

Properties

CoreMotionGyroDataWithSuccess
code : Numberreadonly

An error code describing the error if there was one.

An error code describing the error if there was one.

See ERROR constants for possible values.

CoreMotionGyroDataWithSuccess
error : Stringreadonly

An error message describing the error if there was one.

An error message describing the error if there was one.

The rotation rate measured by the gyroscope.

The rotation rate measured by the gyroscope.

CoreMotionGyroDataWithSuccess
success : Booleanreadonly

A Boolean indicating if the operation was successful or not.

A Boolean indicating if the operation was successful or not.

The time when the logged item is valid.

The time when the logged item is valid.

The time stamp is the amount of time in milliseconds since the phone booted.