Share via


IGCDevicePhysicalInput Interface

Definition

This interface represents the Objective-C protocol GCDevicePhysicalInput.

[Foundation.Protocol(Name="GCDevicePhysicalInput", WrapperType=typeof(GameController.GCDevicePhysicalInputWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Weak, GetterSelector="device", IsProperty=true, IsRequired=true, IsStatic=false, Name="Device", PropertyType=typeof(GameController.IGCDevice), Selector="device")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="elementValueDidChangeHandler", IsProperty=true, IsRequired=true, IsStatic=false, Name="ElementValueDidChangeHandler", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDElementValueDidChangeHandler) }, PropertyType=typeof(GameController.ElementValueDidChangeHandler), ReturnTypeDelegateProxy=typeof(ObjCRuntime.Trampolines+SDElementValueDidChangeHandler), Selector="elementValueDidChangeHandler", SetterSelector="setElementValueDidChangeHandler:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="capture", IsProperty=true, IsRequired=true, IsStatic=false, Name="Capture", PropertyType=typeof(GameController.IGCDevicePhysicalInputState), Selector="capture")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="inputStateAvailableHandler", IsProperty=true, IsRequired=true, IsStatic=false, Name="InputStateAvailableHandler", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDInputStateAvailableHandler) }, PropertyType=typeof(GameController.InputStateAvailableHandler), ReturnTypeDelegateProxy=typeof(ObjCRuntime.Trampolines+SDInputStateAvailableHandler), Selector="inputStateAvailableHandler", SetterSelector="setInputStateAvailableHandler:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="inputStateQueueDepth", IsProperty=true, IsRequired=true, IsStatic=false, Name="InputStateQueueDepth", PropertyType=typeof(System.IntPtr), Selector="inputStateQueueDepth", SetterSelector="setInputStateQueueDepth:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="nextInputState", IsProperty=true, IsRequired=true, IsStatic=false, Name="NextInputState", PropertyType=typeof(Foundation.NSObject), Selector="nextInputState")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="queue", IsProperty=true, IsRequired=true, IsStatic=false, Name="Queue", PropertyType=typeof(CoreFoundation.DispatchQueue), Selector="queue", SetterSelector="setQueue:")]
public interface IGCDevicePhysicalInput : GameController.IGCDevicePhysicalInputState, IDisposable
[<Foundation.Protocol(Name="GCDevicePhysicalInput", WrapperType=typeof(GameController.GCDevicePhysicalInputWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Weak, GetterSelector="device", IsProperty=true, IsRequired=true, IsStatic=false, Name="Device", PropertyType=typeof(GameController.IGCDevice), Selector="device")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="elementValueDidChangeHandler", IsProperty=true, IsRequired=true, IsStatic=false, Name="ElementValueDidChangeHandler", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDElementValueDidChangeHandler) }, PropertyType=typeof(GameController.ElementValueDidChangeHandler), ReturnTypeDelegateProxy=typeof(ObjCRuntime.Trampolines+SDElementValueDidChangeHandler), Selector="elementValueDidChangeHandler", SetterSelector="setElementValueDidChangeHandler:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="capture", IsProperty=true, IsRequired=true, IsStatic=false, Name="Capture", PropertyType=typeof(GameController.IGCDevicePhysicalInputState), Selector="capture")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="inputStateAvailableHandler", IsProperty=true, IsRequired=true, IsStatic=false, Name="InputStateAvailableHandler", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDInputStateAvailableHandler) }, PropertyType=typeof(GameController.InputStateAvailableHandler), ReturnTypeDelegateProxy=typeof(ObjCRuntime.Trampolines+SDInputStateAvailableHandler), Selector="inputStateAvailableHandler", SetterSelector="setInputStateAvailableHandler:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="inputStateQueueDepth", IsProperty=true, IsRequired=true, IsStatic=false, Name="InputStateQueueDepth", PropertyType=typeof(System.IntPtr), Selector="inputStateQueueDepth", SetterSelector="setInputStateQueueDepth:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="nextInputState", IsProperty=true, IsRequired=true, IsStatic=false, Name="NextInputState", PropertyType=typeof(Foundation.NSObject), Selector="nextInputState")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Strong, GetterSelector="queue", IsProperty=true, IsRequired=true, IsStatic=false, Name="Queue", PropertyType=typeof(CoreFoundation.DispatchQueue), Selector="queue", SetterSelector="setQueue:")>]
type IGCDevicePhysicalInput = interface
    interface INativeObject
    interface IDisposable
    interface IGCDevicePhysicalInputState
Derived
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
Axes (Inherited from IGCDevicePhysicalInputState)
Buttons (Inherited from IGCDevicePhysicalInputState)
Capture
Device
Dpads (Inherited from IGCDevicePhysicalInputState)
Elements (Inherited from IGCDevicePhysicalInputState)
ElementValueDidChangeHandler
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
InputStateAvailableHandler
InputStateQueueDepth
LastEventLatency (Inherited from IGCDevicePhysicalInputState)
LastEventTimestamp (Inherited from IGCDevicePhysicalInputState)
NextInputState
Queue
Switches (Inherited from IGCDevicePhysicalInputState)

Methods

Name Description
GetObject(String) (Inherited from IGCDevicePhysicalInputState)

Extension Methods

Name Description
GetHandle(INativeObject)
GetNonNullHandle(INativeObject, String)

Applies to