Preset Class |
This class will trigger PresetChange and PresetNameChange events.
public sealed class Preset
The Preset type exposes the following members.
| Name | Description | |
|---|---|---|
| Name | The name (up to 250 characters) of the preset which will be assigned using the Press. When this property is empty a default name is assigned to it. | |
| NameFeedback |
Reports the name (up to 250 characters) assigned to Name string input.
The PresetNameChange event will trigger with BaseTransportControls and present number. | |
| Number | Reports current preset number. | |
| Press | Selects the station preset. If pressed for less than the time specified in PresetPressAndHoldTime then the preset is selected. When pressed for the amount of time (or longer) set in PresetPressAndHoldTime then the preset is assigned the string set in Name or deleted if already assigned. If Name is empty a default name is assigned. | |
| PressFeedback |
The output tracks the state of the Press input.
The PresetChange event will trigger with BaseTransportControls and present number. |
| Name | Description | |
|---|---|---|
| Equals | Determines whether the specified object is equal to the current object. (Inherited from Object) | |
| GetHashCode | Serves as the default hash function. (Inherited from Object) | |
| GetType | Gets the Type of the current instance. (Inherited from Object) | |
| ToString | Returns a string that represents the current object. (Inherited from Object) |