altitude property

double altitude
final

The altitude of the device in meters.

The altitude is not available on all devices. In these cases the returned value is 0.0.

Implementation

final double altitude;