Class: Toybox::AntPlus::SensorPosition

Inherits:
Lang::Object show all

Overview

Information about the position of the sensor on the body. Fields may return null so you should null check values before using them.

Since:

  • 2.x.x

Fitness Equipment Training Setting Type collapse

Method Summary

Methods inherited from Lang::Object

equals, hashCode, method, toString, weak

Instance Attribute Details

bodyLocationInteger

AntPlus.BODY_LOCATION_*

Returns:

  • (Integer)

Since:

  • 2.x.x


18221
18222
18223
# File 'Monkeybrains.rb', line 18221

def bodyLocation
  @bodyLocation
end

orientationInteger

AntPlus.SENSOR_ORIENTATION_*

Returns:

  • (Integer)

Since:

  • 2.x.x


18225
18226
18227
# File 'Monkeybrains.rb', line 18225

def orientation
  @orientation
end