Share via


IGCDevicePhysicalInputState Interface

Definition

This interface represents the Objective-C protocol GCDevicePhysicalInputState.

[Foundation.Protocol(Name="GCDevicePhysicalInputState", WrapperType=typeof(GameController.GCDevicePhysicalInputStateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetObject", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.String) }, ReturnType=typeof(GameController.IGCPhysicalInputElement), Selector="objectForKeyedSubscript:")]
[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.None, GetterSelector="lastEventTimestamp", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastEventTimestamp", PropertyType=typeof(System.Double), Selector="lastEventTimestamp")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastEventLatency", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastEventLatency", PropertyType=typeof(System.Double), Selector="lastEventLatency")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="elements", IsProperty=true, IsRequired=true, IsStatic=false, Name="Elements", PropertyType=typeof(GameController.GCPhysicalInputElementCollection<Foundation.NSString,GameController.IGCPhysicalInputElement>), Selector="elements")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="buttons", IsProperty=true, IsRequired=true, IsStatic=false, Name="Buttons", PropertyType=typeof(GameController.GCPhysicalInputElementCollection<Foundation.NSString,GameController.IGCButtonElement>), Selector="buttons")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="axes", IsProperty=true, IsRequired=true, IsStatic=false, Name="Axes", PropertyType=typeof(GameController.GCPhysicalInputElementCollection<Foundation.NSString,GameController.IGCAxisElement>), Selector="axes")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="switches", IsProperty=true, IsRequired=true, IsStatic=false, Name="Switches", PropertyType=typeof(GameController.GCPhysicalInputElementCollection<Foundation.NSString,GameController.IGCSwitchElement>), Selector="switches")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="dpads", IsProperty=true, IsRequired=true, IsStatic=false, Name="Dpads", PropertyType=typeof(GameController.GCPhysicalInputElementCollection<Foundation.NSString,GameController.IGCDirectionPadElement>), Selector="dpads")]
public interface IGCDevicePhysicalInputState : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="GCDevicePhysicalInputState", WrapperType=typeof(GameController.GCDevicePhysicalInputStateWrapper))>]
[<Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="GetObject", ParameterByRef=new System.Boolean[] { false }, ParameterType=new System.Type[] { typeof(System.String) }, ReturnType=typeof(GameController.IGCPhysicalInputElement), Selector="objectForKeyedSubscript:")>]
[<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.None, GetterSelector="lastEventTimestamp", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastEventTimestamp", PropertyType=typeof(System.Double), Selector="lastEventTimestamp")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastEventLatency", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastEventLatency", PropertyType=typeof(System.Double), Selector="lastEventLatency")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="elements", IsProperty=true, IsRequired=true, IsStatic=false, Name="Elements", PropertyType=typeof(GameController.GCPhysicalInputElementCollection<Foundation.NSString,GameController.IGCPhysicalInputElement>), Selector="elements")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="buttons", IsProperty=true, IsRequired=true, IsStatic=false, Name="Buttons", PropertyType=typeof(GameController.GCPhysicalInputElementCollection<Foundation.NSString,GameController.IGCButtonElement>), Selector="buttons")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="axes", IsProperty=true, IsRequired=true, IsStatic=false, Name="Axes", PropertyType=typeof(GameController.GCPhysicalInputElementCollection<Foundation.NSString,GameController.IGCAxisElement>), Selector="axes")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="switches", IsProperty=true, IsRequired=true, IsStatic=false, Name="Switches", PropertyType=typeof(GameController.GCPhysicalInputElementCollection<Foundation.NSString,GameController.IGCSwitchElement>), Selector="switches")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="dpads", IsProperty=true, IsRequired=true, IsStatic=false, Name="Dpads", PropertyType=typeof(GameController.GCPhysicalInputElementCollection<Foundation.NSString,GameController.IGCDirectionPadElement>), Selector="dpads")>]
type IGCDevicePhysicalInputState = interface
    interface INativeObject
    interface IDisposable
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
Buttons
Device
Dpads
Elements
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
LastEventLatency
LastEventTimestamp
Switches

Methods

Name Description
GetObject(String)

Extension Methods

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

Applies to