Package apple.gamecontroller.protocol
Interface GCSwitchElement
-
- All Superinterfaces:
GCPhysicalInputElement
public interface GCSwitchElement extends GCPhysicalInputElement
An object conforming to \c GCSwitchElement represents a latching switch. A switch may be in one of several positions, and remains in its last position after the user stops interacting with it. API-Since: 16.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull GCSwitchPositionInputpositionInput()Get the input containing the absolute position of the switch.-
Methods inherited from interface apple.gamecontroller.protocol.GCPhysicalInputElement
aliases, localizedName, sfSymbolsName
-
-
-
-
Method Detail
-
positionInput
@NotNull @NotNull GCSwitchPositionInput positionInput()
Get the input containing the absolute position of the switch.
-
-