IGCRelativeInput 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 GCRelativeInput.
[Foundation.Protocol(Name="GCRelativeInput", WrapperType=typeof(GameController.GCRelativeInputWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="deltaDidChangeHandler", IsProperty=true, IsRequired=true, IsStatic=false, Name="DeltaDidChangeHandler", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity3V10) }, PropertyType=typeof(System.Action<GameController.IGCPhysicalInputElement,GameController.IGCRelativeInput,System.Single>), ReturnTypeDelegateProxy=typeof(ObjCRuntime.Trampolines+SDActionArity3V10), Selector="deltaDidChangeHandler", SetterSelector="setDeltaDidChangeHandler:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="delta", IsProperty=true, IsRequired=true, IsStatic=false, Name="Delta", PropertyType=typeof(System.Single), Selector="delta")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isAnalog", IsProperty=true, IsRequired=true, IsStatic=false, Name="Analog", PropertyType=typeof(System.Boolean), Selector="analog")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastDeltaTimestamp", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastDeltaTimestamp", PropertyType=typeof(System.Double), Selector="lastDeltaTimestamp")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastDeltaLatency", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastDeltaLatency", PropertyType=typeof(System.Double), Selector="lastDeltaLatency")]
[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 IGCRelativeInput : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="GCRelativeInput", WrapperType=typeof(GameController.GCRelativeInputWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="delta", IsProperty=true, IsRequired=true, IsStatic=false, Name="Delta", PropertyType=typeof(System.Single), Selector="delta")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isAnalog", IsProperty=true, IsRequired=true, IsStatic=false, Name="Analog", PropertyType=typeof(System.Boolean), Selector="analog")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastDeltaTimestamp", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastDeltaTimestamp", PropertyType=typeof(System.Double), Selector="lastDeltaTimestamp")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastDeltaLatency", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastDeltaLatency", PropertyType=typeof(System.Double), Selector="lastDeltaLatency")]
[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="deltaDidChangeHandler", IsProperty=true, IsRequired=true, IsStatic=false, Name="DeltaDidChangeHandler", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity3V9) }, PropertyType=typeof(System.Action<GameController.IGCPhysicalInputElement,GameController.IGCRelativeInput,System.Single>), ReturnTypeDelegateProxy=typeof(ObjCRuntime.Trampolines+SDActionArity3V9), Selector="deltaDidChangeHandler", SetterSelector="setDeltaDidChangeHandler:")]
public interface IGCRelativeInput : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="GCRelativeInput", WrapperType=typeof(GameController.GCRelativeInputWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="delta", IsProperty=true, IsRequired=true, IsStatic=false, Name="Delta", PropertyType=typeof(System.Single), Selector="delta")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isAnalog", IsProperty=true, IsRequired=true, IsStatic=false, Name="Analog", PropertyType=typeof(System.Boolean), Selector="analog")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastDeltaTimestamp", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastDeltaTimestamp", PropertyType=typeof(System.Double), Selector="lastDeltaTimestamp")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastDeltaLatency", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastDeltaLatency", PropertyType=typeof(System.Double), Selector="lastDeltaLatency")]
[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="deltaDidChangeHandler", IsProperty=true, IsRequired=true, IsStatic=false, Name="DeltaDidChangeHandler", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity3V8) }, PropertyType=typeof(System.Action<GameController.IGCPhysicalInputElement,GameController.IGCRelativeInput,System.Single>), ReturnTypeDelegateProxy=typeof(ObjCRuntime.Trampolines+SDActionArity3V8), Selector="deltaDidChangeHandler", SetterSelector="setDeltaDidChangeHandler:")]
public interface IGCRelativeInput : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="GCRelativeInput", WrapperType=typeof(GameController.GCRelativeInputWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="deltaDidChangeHandler", IsProperty=true, IsRequired=true, IsStatic=false, Name="DeltaDidChangeHandler", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity3V10) }, PropertyType=typeof(System.Action<GameController.IGCPhysicalInputElement,GameController.IGCRelativeInput,System.Single>), ReturnTypeDelegateProxy=typeof(ObjCRuntime.Trampolines+SDActionArity3V10), Selector="deltaDidChangeHandler", SetterSelector="setDeltaDidChangeHandler:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="delta", IsProperty=true, IsRequired=true, IsStatic=false, Name="Delta", PropertyType=typeof(System.Single), Selector="delta")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isAnalog", IsProperty=true, IsRequired=true, IsStatic=false, Name="Analog", PropertyType=typeof(System.Boolean), Selector="analog")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastDeltaTimestamp", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastDeltaTimestamp", PropertyType=typeof(System.Double), Selector="lastDeltaTimestamp")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastDeltaLatency", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastDeltaLatency", PropertyType=typeof(System.Double), Selector="lastDeltaLatency")>]
[<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 IGCRelativeInput = interface
interface INativeObject
interface IDisposable
[<Foundation.Protocol(Name="GCRelativeInput", WrapperType=typeof(GameController.GCRelativeInputWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="delta", IsProperty=true, IsRequired=true, IsStatic=false, Name="Delta", PropertyType=typeof(System.Single), Selector="delta")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isAnalog", IsProperty=true, IsRequired=true, IsStatic=false, Name="Analog", PropertyType=typeof(System.Boolean), Selector="analog")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastDeltaTimestamp", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastDeltaTimestamp", PropertyType=typeof(System.Double), Selector="lastDeltaTimestamp")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastDeltaLatency", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastDeltaLatency", PropertyType=typeof(System.Double), Selector="lastDeltaLatency")>]
[<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="deltaDidChangeHandler", IsProperty=true, IsRequired=true, IsStatic=false, Name="DeltaDidChangeHandler", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity3V9) }, PropertyType=typeof(System.Action<GameController.IGCPhysicalInputElement,GameController.IGCRelativeInput,System.Single>), ReturnTypeDelegateProxy=typeof(ObjCRuntime.Trampolines+SDActionArity3V9), Selector="deltaDidChangeHandler", SetterSelector="setDeltaDidChangeHandler:")>]
type IGCRelativeInput = interface
interface INativeObject
interface IDisposable
[<Foundation.Protocol(Name="GCRelativeInput", WrapperType=typeof(GameController.GCRelativeInputWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="delta", IsProperty=true, IsRequired=true, IsStatic=false, Name="Delta", PropertyType=typeof(System.Single), Selector="delta")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isAnalog", IsProperty=true, IsRequired=true, IsStatic=false, Name="Analog", PropertyType=typeof(System.Boolean), Selector="analog")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastDeltaTimestamp", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastDeltaTimestamp", PropertyType=typeof(System.Double), Selector="lastDeltaTimestamp")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastDeltaLatency", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastDeltaLatency", PropertyType=typeof(System.Double), Selector="lastDeltaLatency")>]
[<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="deltaDidChangeHandler", IsProperty=true, IsRequired=true, IsStatic=false, Name="DeltaDidChangeHandler", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity3V8) }, PropertyType=typeof(System.Action<GameController.IGCPhysicalInputElement,GameController.IGCRelativeInput,System.Single>), ReturnTypeDelegateProxy=typeof(ObjCRuntime.Trampolines+SDActionArity3V8), Selector="deltaDidChangeHandler", SetterSelector="setDeltaDidChangeHandler:")>]
type IGCRelativeInput = 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 |
|---|---|
| Analog | |
| Delta | |
| DeltaDidChangeHandler | |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from INativeObject) |
| LastDeltaLatency | |
| LastDeltaTimestamp | |
| Sources | |
Extension Methods
| Name | Description |
|---|---|
| GetHandle(INativeObject) | |
| GetNonNullHandle(INativeObject, String) | |