Package apple.gamecontroller.protocol
Interface GCPhysicalInputElement
-
- All Known Subinterfaces:
GCAxisElement,GCButtonElement,GCDirectionPadElement,GCSwitchElement
public interface GCPhysicalInputElementThe \c GCPhysicalInputElement protocol is a base protocol for specific types of elements that represent controls on a device. API-Since: 16.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description @NotNull NSSet<java.lang.String>aliases()The set of aliases that can be used to access this element with keyed subscript notation.@Nullable java.lang.StringlocalizedName()The element's localized display name.@Nullable java.lang.StringsfSymbolsName()The SF Symbols name for the element.
-
-
-
Method Detail
-
aliases
@NotNull @NotNull NSSet<java.lang.String> aliases()
The set of aliases that can be used to access this element with keyed subscript notation.
-
localizedName
@Nullable @Nullable java.lang.String localizedName()
The element's localized display name. This is the string that your app should display in any on-screen messages instructing the user to interact with the control. For example: "Press \(buttonA.localizedName) to jump!" Do not cache this value - it can change when the user remaps controls.
-
sfSymbolsName
@Nullable @Nullable java.lang.String sfSymbolsName()
The SF Symbols name for the element.
-
-