Class SensorReadCmd
Sent to server, generic message that can control any device that takes a single value and staticly sets an actuator to that value (speed, oscillation frequency, instanteous position, etc).
Inherited Members
Namespace: Buttplug.Core.Messages
Assembly: Buttplug.dll
Syntax
public class SensorReadCmd : ButtplugDeviceMessage
Constructors
SensorReadCmd(UInt32, SensorType)
Initializes a new instance of the ScalarCmd class.
Declaration
public SensorReadCmd(uint sensorIndex, SensorType sensorType)
Parameters
| Type | Name | Description |
|---|---|---|
| UInt32 | sensorIndex | |
| SensorType | sensorType |
SensorReadCmd(UInt32, UInt32, SensorType, UInt32)
Initializes a new instance of the ScalarCmd class.
Declaration
public SensorReadCmd(uint deviceIndex, uint sensorIndex, SensorType sensorType, uint id = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UInt32 | deviceIndex | Device index. |
| UInt32 | sensorIndex | |
| SensorType | sensorType | |
| UInt32 | id | Message ID. |
Fields
SensorIndex
List of vibrator speeds.
Declaration
public uint SensorIndex
Field Value
| Type | Description |
|---|---|
| UInt32 |
SensorType
Declaration
public SensorType SensorType
Field Value
| Type | Description |
|---|---|
| SensorType |