Skip to content

com.oscleton.sdk.models / DeviceParameter

DeviceParameter

data class DeviceParameter

Data class representing a Live device parameter.

Constructors

Name Summary
<init> DeviceParameter(trackIndex:Int, deviceIndex:Int, paramIndex:Int, trackName:String= "", deviceName:String= "", paramName:String= "", displayValue:String= "", value:Float= 0f, min:Float= 0f, max:Float= 1f, automationState:AutomationState= AutomationState.NONE)

Properties

Name Summary
automationState var automationState:AutomationState
deviceIndex var deviceIndex:Int
The device position in the track
deviceName var deviceName:String
The device name containing the parameter
displayValue var displayValue:String
The parameter display value
max var max:Float
The parameter max value
min var min:Float
The parameter min value
paramIndex var paramIndex:Int
The parameter position on the device
paramName var paramName:String
The parameter name
trackIndex var trackIndex:Int
The track position in the Live set
trackName var trackName:String
The track name containing the device
value var value:Float
The parameter value

Extension Properties

Name Summary
boolean valAny.boolean:Boolean
Extension property to cast an Any to Boolean.
float valAny.float:Float
Extension property to cast an Any to Float.
int valAny.int:Int
Extension property to cast an Any to Int.
string valAny.string:String
Extension property to cast an Any to String.