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


16522
16523
16524
# File 'Monkeybrains.rb', line 16522

def bodyLocation
  @bodyLocation
end

orientationInteger

AntPlus.SENSOR_ORIENTATION_*

Returns:

  • (Integer)

Since:

  • 2.x.x


16526
16527
16528
# File 'Monkeybrains.rb', line 16526

def orientation
  @orientation
end