GCControllerHomeButtonSettingsManager.ReadControllerHomeButtonSystemAction Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
| Name | Description |
|---|---|
| ReadControllerHomeButtonSystemAction(NSError) |
Gets the current controller Home button system action. |
| ReadControllerHomeButtonSystemAction(GCControllerHomeButtonSettingCustomizationStatus, NSError) |
Gets the current controller Home button system action and its customization status. |
ReadControllerHomeButtonSystemAction(NSError)
Gets the current controller Home button system action.
[Foundation.Export("readControllerHomeButtonSystemActionWithError:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual GameController.GCControllerHomeButtonSettingSystemAction ReadControllerHomeButtonSystemAction(out Foundation.NSError? error);
[<Foundation.Export("readControllerHomeButtonSystemActionWithError:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ReadControllerHomeButtonSystemAction : NSError -> GameController.GCControllerHomeButtonSettingSystemAction
override this.ReadControllerHomeButtonSystemAction : NSError -> GameController.GCControllerHomeButtonSettingSystemAction
Parameters
- error
- NSError
The error if the setting could not be read; otherwise, null.
Returns
The current controller Home button system action.
- Attributes
Applies to
ReadControllerHomeButtonSystemAction(GCControllerHomeButtonSettingCustomizationStatus, NSError)
Gets the current controller Home button system action and its customization status.
[Foundation.Export("readControllerHomeButtonSystemAction:withError:")]
[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual GameController.GCControllerHomeButtonSettingSystemAction ReadControllerHomeButtonSystemAction(out GameController.GCControllerHomeButtonSettingCustomizationStatus customization, out Foundation.NSError? error);
[<Foundation.Export("readControllerHomeButtonSystemAction:withError:")>]
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
abstract member ReadControllerHomeButtonSystemAction : GCControllerHomeButtonSettingCustomizationStatus * NSError -> GameController.GCControllerHomeButtonSettingSystemAction
override this.ReadControllerHomeButtonSystemAction : GCControllerHomeButtonSettingCustomizationStatus * NSError -> GameController.GCControllerHomeButtonSettingSystemAction
Parameters
- customization
- GCControllerHomeButtonSettingCustomizationStatus
The customization status for the setting.
- error
- NSError
The error if the setting could not be read; otherwise, null.
Returns
The current controller Home button system action.
- Attributes