RotationTrait.RotateToDegreesCommand.Request

class RotationTrait.RotateToDegreesCommand.Request

The request payload for the RotateToDegrees command.

Summary

Public constructors

Request(rotationDegrees: Float)

Creates a request payload for the RotateToDegrees command.

Public properties

Float

An absolute value that sets the final clockwise rotation of the device in number of degrees.

Public constructors

Request

Request(rotationDegrees: Float = 0.0f)

Creates a request payload for the RotateToDegrees command.

Public properties

rotationDegrees

val rotationDegreesFloat

An absolute value that sets the final clockwise rotation of the device in number of degrees. This value must fall within the range specified in rotationDegreesRange.