RotationTrait.RotateToPercentageCommand.Request

class RotationTrait.RotateToPercentageCommand.Request


The request payload for the RotateToPercentage command.

Summary

Public constructors

Request(rotationPercent: Float)

Creates a request payload for the RotateToPercentage command.

Public properties

Float

An absolute value that sets the final clockwise rotation of the device in percentage of a full rotation.

Public constructors

Request

Request(rotationPercent: Float = 0.0f)

Creates a request payload for the RotateToPercentage command.

Public properties

rotationPercent

val rotationPercentFloat

An absolute value that sets the final clockwise rotation of the device in percentage of a full rotation.