withExtendedGamepad
TypeScriptstatic withExtendedGamepad(): GCControllerSwift declarationclass func withExtendedGamepad() -> GCControllerclass · iOS 7.0+ · SDK 27.1
class GCControllerstatic withExtendedGamepad(): GCControllerSwift declarationclass func withExtendedGamepad() -> GCControllerstatic withMicroGamepad(): GCControllerSwift declarationclass func withMicroGamepad() -> GCControllerstatic controllers(): Array<GCController>Swift declarationclass func controllers() -> [GCController]static startWirelessControllerDiscovery(completionHandler?: ((() => void)) | null): voidSwift declarationclass func startWirelessControllerDiscovery() asyncstatic stopWirelessControllerDiscovery(): voidSwift declarationclass func stopWirelessControllerDiscovery()static get current(): (GCController) | nullSwift declarationclass var current: GCController? { get }static get shouldMonitorBackgroundEvents(): booleanSwift declarationclass var shouldMonitorBackgroundEvents: Bool { get set }static set shouldMonitorBackgroundEvents(value: boolean)Swift declarationclass var shouldMonitorBackgroundEvents: Bool { get set }capture(): GCControllerSwift declarationfunc capture() -> GCControllerstatic init(): GCControllerSwift declarationinit()get isAttachedToDevice(): booleanSwift declarationvar isAttachedToDevice: Bool { get }get battery(): (GCDeviceBattery) | nullSwift declaration@NSCopying var battery: GCDeviceBattery? { get }get controllerPausedHandler(): (((arg0: GCController) => Promise<void>)) | nullSwift declarationvar controllerPausedHandler: ((GCController) -> Void)? { get set }set controllerPausedHandler(value: (((arg0: GCController) => void)) | null)Swift declarationvar controllerPausedHandler: ((GCController) -> Void)? { get set }get extendedGamepad(): (GCExtendedGamepad) | nullSwift declarationvar extendedGamepad: GCExtendedGamepad? { get }get gamepad(): (GCGamepad) | nullSwift declarationvar gamepad: GCGamepad? { get }get haptics(): (GCDeviceHaptics) | nullSwift declarationvar haptics: GCDeviceHaptics? { get }get input(): GCControllerLiveInputSwift declarationvar input: GCControllerLiveInput { get }get light(): (GCDeviceLight) | nullSwift declarationvar light: GCDeviceLight? { get }get microGamepad(): (GCMicroGamepad) | nullSwift declarationvar microGamepad: GCMicroGamepad? { get }get motion(): (GCMotion) | nullSwift declarationvar motion: GCMotion? { get }get physicalInputProfile(): GCPhysicalInputProfileSwift declarationvar physicalInputProfile: GCPhysicalInputProfile { get }get playerIndex(): GCControllerPlayerIndexSwift declarationvar playerIndex: GCControllerPlayerIndex { get set }set playerIndex(value: GCControllerPlayerIndex)Swift declarationvar playerIndex: GCControllerPlayerIndex { get set }get isSnapshot(): booleanSwift declarationvar isSnapshot: Bool { get }No declarations were skipped in this snapshot.