Einhugur macOS Bridge plugin. |

# EinhugurMacOSBridge.NSSliderTouchBarItem Class (desktop)

A bar item that provides a slider control for choosing a value in a range.
For Touch Bars macOS 10.12.2 or later is needed.

EinhugurMacOSBridge.NSTouchBarItem
NSSliderTouchBarItem

class EinhugurMacOSBridge.NSSliderTouchBarItem

#### Constructors

NSSliderTouchBarItem | Constructor that takes in identifier, initial value, minimum value, maximum value and action handler.

#### Properties

ClassName (Inherited) (desktop - console) | Returns the name of the Cocoa class under the hood as String.
CustomizationLabel (Inherited) | Sets or gets the user-visible string identifying this item during bar customization.
Enabled | Determines if the NSSliderTouchBarItem should be enabled or disabled.
Handle (Inherited) | Returns Integer handle to the native NSObject structure.
Label | Sets text label in front of the slider.
MaxValue | Maximum value for the slider.
MinValue | Minimum value for the slider.
Value | Current value for the slider.

#### Methods

Release (Inherited) | Releases the NSObject.
Retain (Inherited) | Retains the NSObject
SetMaximumValueAccessory | Sets he accessory that appears at the end of the slider with the maximum value.
SetMinimumValueAccessory | Sets the accessory that appears at the end of the slider with the minimum value.
SetVisibilityPriority (Inherited) | Sets priority of the Touch Bar item, where the lowest priority ones get hidden if there is no space to show them all.

#### Delegates

SliderActionDelegate | Delegate that defines action handler for the NSSliderTouchBarItem.

#### Constants

Version = 5.0 (Inherited) |

#### Supported Platforms:

- macOS Intel 64 bit
- macOS Apple Silicon

#### Unsupported Platforms:

- Windows 32 bit
- Windows 64 bit
- Windows ARM 64 bit
- Linux 32 bit
- Linux 64 bit
- Linux ARM 32 bit
- Linux ARM 64 bit