IGCSwitchPositionInput Interface
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.
This interface represents the Objective-C protocol GCSwitchPositionInput.
[Foundation.Protocol(Name="GCSwitchPositionInput", WrapperType=typeof(GameController.GCSwitchPositionInputWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="positionDidChangeHandler", IsProperty=true, IsRequired=true, IsStatic=false, Name="PositionDidChangeHandler", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity3V11) }, PropertyType=typeof(System.Action<GameController.IGCPhysicalInputElement,GameController.IGCSwitchPositionInput,System.IntPtr>), ReturnTypeDelegateProxy=typeof(ObjCRuntime.Trampolines+SDActionArity3V11), Selector="positionDidChangeHandler", SetterSelector="setPositionDidChangeHandler:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="position", IsProperty=true, IsRequired=true, IsStatic=false, Name="Position", PropertyType=typeof(System.IntPtr), Selector="position")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="positionRange", IsProperty=true, IsRequired=true, IsStatic=false, Name="PositionRange", PropertyType=typeof(Foundation.NSRange), Selector="positionRange")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isSequential", IsProperty=true, IsRequired=true, IsStatic=false, Name="Sequential", PropertyType=typeof(System.Boolean), Selector="sequential")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="canWrap", IsProperty=true, IsRequired=true, IsStatic=false, Name="CanWrap", PropertyType=typeof(System.Boolean), Selector="canWrap")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastPositionTimestamp", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastPositionTimestamp", PropertyType=typeof(System.Double), Selector="lastPositionTimestamp")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastPositionLatency", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastPositionLatency", PropertyType=typeof(System.Double), Selector="lastPositionLatency")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="sources", IsProperty=true, IsRequired=true, IsStatic=false, Name="Sources", PropertyType=typeof(Foundation.NSSet<GameController.IGCPhysicalInputSource>), Selector="sources")]
public interface IGCSwitchPositionInput : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="GCSwitchPositionInput", WrapperType=typeof(GameController.GCSwitchPositionInputWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="position", IsProperty=true, IsRequired=true, IsStatic=false, Name="Position", PropertyType=typeof(System.IntPtr), Selector="position")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="positionRange", IsProperty=true, IsRequired=true, IsStatic=false, Name="PositionRange", PropertyType=typeof(Foundation.NSRange), Selector="positionRange")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isSequential", IsProperty=true, IsRequired=true, IsStatic=false, Name="Sequential", PropertyType=typeof(System.Boolean), Selector="sequential")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="canWrap", IsProperty=true, IsRequired=true, IsStatic=false, Name="CanWrap", PropertyType=typeof(System.Boolean), Selector="canWrap")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastPositionTimestamp", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastPositionTimestamp", PropertyType=typeof(System.Double), Selector="lastPositionTimestamp")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastPositionLatency", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastPositionLatency", PropertyType=typeof(System.Double), Selector="lastPositionLatency")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="sources", IsProperty=true, IsRequired=true, IsStatic=false, Name="Sources", PropertyType=typeof(Foundation.NSSet<GameController.IGCPhysicalInputSource>), Selector="sources")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="positionDidChangeHandler", IsProperty=true, IsRequired=true, IsStatic=false, Name="PositionDidChangeHandler", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity3V10) }, PropertyType=typeof(System.Action<GameController.IGCPhysicalInputElement,GameController.IGCSwitchPositionInput,System.IntPtr>), ReturnTypeDelegateProxy=typeof(ObjCRuntime.Trampolines+SDActionArity3V10), Selector="positionDidChangeHandler", SetterSelector="setPositionDidChangeHandler:")]
public interface IGCSwitchPositionInput : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="GCSwitchPositionInput", WrapperType=typeof(GameController.GCSwitchPositionInputWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="position", IsProperty=true, IsRequired=true, IsStatic=false, Name="Position", PropertyType=typeof(System.IntPtr), Selector="position")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="positionRange", IsProperty=true, IsRequired=true, IsStatic=false, Name="PositionRange", PropertyType=typeof(Foundation.NSRange), Selector="positionRange")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isSequential", IsProperty=true, IsRequired=true, IsStatic=false, Name="Sequential", PropertyType=typeof(System.Boolean), Selector="sequential")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="canWrap", IsProperty=true, IsRequired=true, IsStatic=false, Name="CanWrap", PropertyType=typeof(System.Boolean), Selector="canWrap")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastPositionTimestamp", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastPositionTimestamp", PropertyType=typeof(System.Double), Selector="lastPositionTimestamp")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastPositionLatency", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastPositionLatency", PropertyType=typeof(System.Double), Selector="lastPositionLatency")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="sources", IsProperty=true, IsRequired=true, IsStatic=false, Name="Sources", PropertyType=typeof(Foundation.NSSet<GameController.IGCPhysicalInputSource>), Selector="sources")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="positionDidChangeHandler", IsProperty=true, IsRequired=true, IsStatic=false, Name="PositionDidChangeHandler", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity3V9) }, PropertyType=typeof(System.Action<GameController.IGCPhysicalInputElement,GameController.IGCSwitchPositionInput,System.IntPtr>), ReturnTypeDelegateProxy=typeof(ObjCRuntime.Trampolines+SDActionArity3V9), Selector="positionDidChangeHandler", SetterSelector="setPositionDidChangeHandler:")]
public interface IGCSwitchPositionInput : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="GCSwitchPositionInput", WrapperType=typeof(GameController.GCSwitchPositionInputWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="positionDidChangeHandler", IsProperty=true, IsRequired=true, IsStatic=false, Name="PositionDidChangeHandler", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity3V11) }, PropertyType=typeof(System.Action<GameController.IGCPhysicalInputElement,GameController.IGCSwitchPositionInput,System.IntPtr>), ReturnTypeDelegateProxy=typeof(ObjCRuntime.Trampolines+SDActionArity3V11), Selector="positionDidChangeHandler", SetterSelector="setPositionDidChangeHandler:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="position", IsProperty=true, IsRequired=true, IsStatic=false, Name="Position", PropertyType=typeof(System.IntPtr), Selector="position")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="positionRange", IsProperty=true, IsRequired=true, IsStatic=false, Name="PositionRange", PropertyType=typeof(Foundation.NSRange), Selector="positionRange")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isSequential", IsProperty=true, IsRequired=true, IsStatic=false, Name="Sequential", PropertyType=typeof(System.Boolean), Selector="sequential")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="canWrap", IsProperty=true, IsRequired=true, IsStatic=false, Name="CanWrap", PropertyType=typeof(System.Boolean), Selector="canWrap")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastPositionTimestamp", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastPositionTimestamp", PropertyType=typeof(System.Double), Selector="lastPositionTimestamp")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastPositionLatency", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastPositionLatency", PropertyType=typeof(System.Double), Selector="lastPositionLatency")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="sources", IsProperty=true, IsRequired=true, IsStatic=false, Name="Sources", PropertyType=typeof(Foundation.NSSet<GameController.IGCPhysicalInputSource>), Selector="sources")>]
type IGCSwitchPositionInput = interface
interface INativeObject
interface IDisposable
[<Foundation.Protocol(Name="GCSwitchPositionInput", WrapperType=typeof(GameController.GCSwitchPositionInputWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="position", IsProperty=true, IsRequired=true, IsStatic=false, Name="Position", PropertyType=typeof(System.IntPtr), Selector="position")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="positionRange", IsProperty=true, IsRequired=true, IsStatic=false, Name="PositionRange", PropertyType=typeof(Foundation.NSRange), Selector="positionRange")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isSequential", IsProperty=true, IsRequired=true, IsStatic=false, Name="Sequential", PropertyType=typeof(System.Boolean), Selector="sequential")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="canWrap", IsProperty=true, IsRequired=true, IsStatic=false, Name="CanWrap", PropertyType=typeof(System.Boolean), Selector="canWrap")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastPositionTimestamp", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastPositionTimestamp", PropertyType=typeof(System.Double), Selector="lastPositionTimestamp")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastPositionLatency", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastPositionLatency", PropertyType=typeof(System.Double), Selector="lastPositionLatency")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="sources", IsProperty=true, IsRequired=true, IsStatic=false, Name="Sources", PropertyType=typeof(Foundation.NSSet<GameController.IGCPhysicalInputSource>), Selector="sources")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="positionDidChangeHandler", IsProperty=true, IsRequired=true, IsStatic=false, Name="PositionDidChangeHandler", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity3V10) }, PropertyType=typeof(System.Action<GameController.IGCPhysicalInputElement,GameController.IGCSwitchPositionInput,System.IntPtr>), ReturnTypeDelegateProxy=typeof(ObjCRuntime.Trampolines+SDActionArity3V10), Selector="positionDidChangeHandler", SetterSelector="setPositionDidChangeHandler:")>]
type IGCSwitchPositionInput = interface
interface INativeObject
interface IDisposable
[<Foundation.Protocol(Name="GCSwitchPositionInput", WrapperType=typeof(GameController.GCSwitchPositionInputWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="position", IsProperty=true, IsRequired=true, IsStatic=false, Name="Position", PropertyType=typeof(System.IntPtr), Selector="position")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="positionRange", IsProperty=true, IsRequired=true, IsStatic=false, Name="PositionRange", PropertyType=typeof(Foundation.NSRange), Selector="positionRange")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isSequential", IsProperty=true, IsRequired=true, IsStatic=false, Name="Sequential", PropertyType=typeof(System.Boolean), Selector="sequential")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="canWrap", IsProperty=true, IsRequired=true, IsStatic=false, Name="CanWrap", PropertyType=typeof(System.Boolean), Selector="canWrap")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastPositionTimestamp", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastPositionTimestamp", PropertyType=typeof(System.Double), Selector="lastPositionTimestamp")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastPositionLatency", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastPositionLatency", PropertyType=typeof(System.Double), Selector="lastPositionLatency")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="sources", IsProperty=true, IsRequired=true, IsStatic=false, Name="Sources", PropertyType=typeof(Foundation.NSSet<GameController.IGCPhysicalInputSource>), Selector="sources")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="positionDidChangeHandler", IsProperty=true, IsRequired=true, IsStatic=false, Name="PositionDidChangeHandler", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity3V9) }, PropertyType=typeof(System.Action<GameController.IGCPhysicalInputElement,GameController.IGCSwitchPositionInput,System.IntPtr>), ReturnTypeDelegateProxy=typeof(ObjCRuntime.Trampolines+SDActionArity3V9), Selector="positionDidChangeHandler", SetterSelector="setPositionDidChangeHandler:")>]
type IGCSwitchPositionInput = interface
interface INativeObject
interface IDisposable
- Attributes
- Implements
Remarks
A class that implements this interface (and subclasses NSObject) will be exported to Objective-C as implementing the Objective-C protocol this interface represents.
A class may also implement members from this interface to implement members from the protocol.
Properties
| Name | Description |
|---|---|
| CanWrap | |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
| LastPositionLatency | |
| LastPositionTimestamp | |
| Position | |
| PositionDidChangeHandler | |
| PositionRange | |
| Sequential | |
| Sources | |
Extension Methods
| Name | Description |
|---|---|
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |