Share via


IGCPressedStateInput Interface

Definition

This interface represents the Objective-C protocol GCPressedStateInput.

[Foundation.Protocol(Name="GCPressedStateInput", WrapperType=typeof(GameController.GCPressedStateInputWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="pressedDidChangeHandler", IsProperty=true, IsRequired=true, IsStatic=false, Name="PressedDidChangeHandler", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity3V9) }, PropertyType=typeof(System.Action<GameController.IGCPhysicalInputElement,GameController.IGCPressedStateInput,System.Boolean>), ReturnTypeDelegateProxy=typeof(ObjCRuntime.Trampolines+SDActionArity3V9), Selector="pressedDidChangeHandler", SetterSelector="setPressedDidChangeHandler:")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isPressed", IsProperty=true, IsRequired=true, IsStatic=false, Name="Pressed", PropertyType=typeof(System.Boolean), Selector="pressed")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastPressedStateTimestamp", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastPressedStateTimestamp", PropertyType=typeof(System.Double), Selector="lastPressedStateTimestamp")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastPressedStateLatency", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastPressedStateLatency", PropertyType=typeof(System.Double), Selector="lastPressedStateLatency")]
[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 IGCPressedStateInput : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="GCPressedStateInput", WrapperType=typeof(GameController.GCPressedStateInputWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isPressed", IsProperty=true, IsRequired=true, IsStatic=false, Name="Pressed", PropertyType=typeof(System.Boolean), Selector="pressed")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastPressedStateTimestamp", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastPressedStateTimestamp", PropertyType=typeof(System.Double), Selector="lastPressedStateTimestamp")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastPressedStateLatency", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastPressedStateLatency", PropertyType=typeof(System.Double), Selector="lastPressedStateLatency")]
[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="pressedDidChangeHandler", IsProperty=true, IsRequired=true, IsStatic=false, Name="PressedDidChangeHandler", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity3V8) }, PropertyType=typeof(System.Action<GameController.IGCPhysicalInputElement,GameController.IGCPressedStateInput,System.Boolean>), ReturnTypeDelegateProxy=typeof(ObjCRuntime.Trampolines+SDActionArity3V8), Selector="pressedDidChangeHandler", SetterSelector="setPressedDidChangeHandler:")]
public interface IGCPressedStateInput : IDisposable, ObjCRuntime.INativeObject
[Foundation.Protocol(Name="GCPressedStateInput", WrapperType=typeof(GameController.GCPressedStateInputWrapper))]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isPressed", IsProperty=true, IsRequired=true, IsStatic=false, Name="Pressed", PropertyType=typeof(System.Boolean), Selector="pressed")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastPressedStateTimestamp", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastPressedStateTimestamp", PropertyType=typeof(System.Double), Selector="lastPressedStateTimestamp")]
[Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastPressedStateLatency", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastPressedStateLatency", PropertyType=typeof(System.Double), Selector="lastPressedStateLatency")]
[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="pressedDidChangeHandler", IsProperty=true, IsRequired=true, IsStatic=false, Name="PressedDidChangeHandler", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity3V7) }, PropertyType=typeof(System.Action<GameController.IGCPhysicalInputElement,GameController.IGCPressedStateInput,System.Boolean>), ReturnTypeDelegateProxy=typeof(ObjCRuntime.Trampolines+SDActionArity3V7), Selector="pressedDidChangeHandler", SetterSelector="setPressedDidChangeHandler:")]
public interface IGCPressedStateInput : IDisposable, ObjCRuntime.INativeObject
[<Foundation.Protocol(Name="GCPressedStateInput", WrapperType=typeof(GameController.GCPressedStateInputWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.Copy, GetterSelector="pressedDidChangeHandler", IsProperty=true, IsRequired=true, IsStatic=false, Name="PressedDidChangeHandler", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity3V9) }, PropertyType=typeof(System.Action<GameController.IGCPhysicalInputElement,GameController.IGCPressedStateInput,System.Boolean>), ReturnTypeDelegateProxy=typeof(ObjCRuntime.Trampolines+SDActionArity3V9), Selector="pressedDidChangeHandler", SetterSelector="setPressedDidChangeHandler:")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isPressed", IsProperty=true, IsRequired=true, IsStatic=false, Name="Pressed", PropertyType=typeof(System.Boolean), Selector="pressed")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastPressedStateTimestamp", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastPressedStateTimestamp", PropertyType=typeof(System.Double), Selector="lastPressedStateTimestamp")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastPressedStateLatency", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastPressedStateLatency", PropertyType=typeof(System.Double), Selector="lastPressedStateLatency")>]
[<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 IGCPressedStateInput = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(Name="GCPressedStateInput", WrapperType=typeof(GameController.GCPressedStateInputWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isPressed", IsProperty=true, IsRequired=true, IsStatic=false, Name="Pressed", PropertyType=typeof(System.Boolean), Selector="pressed")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastPressedStateTimestamp", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastPressedStateTimestamp", PropertyType=typeof(System.Double), Selector="lastPressedStateTimestamp")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastPressedStateLatency", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastPressedStateLatency", PropertyType=typeof(System.Double), Selector="lastPressedStateLatency")>]
[<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="pressedDidChangeHandler", IsProperty=true, IsRequired=true, IsStatic=false, Name="PressedDidChangeHandler", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity3V8) }, PropertyType=typeof(System.Action<GameController.IGCPhysicalInputElement,GameController.IGCPressedStateInput,System.Boolean>), ReturnTypeDelegateProxy=typeof(ObjCRuntime.Trampolines+SDActionArity3V8), Selector="pressedDidChangeHandler", SetterSelector="setPressedDidChangeHandler:")>]
type IGCPressedStateInput = interface
    interface INativeObject
    interface IDisposable
[<Foundation.Protocol(Name="GCPressedStateInput", WrapperType=typeof(GameController.GCPressedStateInputWrapper))>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="isPressed", IsProperty=true, IsRequired=true, IsStatic=false, Name="Pressed", PropertyType=typeof(System.Boolean), Selector="pressed")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastPressedStateTimestamp", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastPressedStateTimestamp", PropertyType=typeof(System.Double), Selector="lastPressedStateTimestamp")>]
[<Foundation.ProtocolMember(ArgumentSemantic=ObjCRuntime.ArgumentSemantic.None, GetterSelector="lastPressedStateLatency", IsProperty=true, IsRequired=true, IsStatic=false, Name="LastPressedStateLatency", PropertyType=typeof(System.Double), Selector="lastPressedStateLatency")>]
[<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="pressedDidChangeHandler", IsProperty=true, IsRequired=true, IsStatic=false, Name="PressedDidChangeHandler", ParameterBlockProxy=new System.Type[] { typeof(ObjCRuntime.Trampolines+NIDActionArity3V7) }, PropertyType=typeof(System.Action<GameController.IGCPhysicalInputElement,GameController.IGCPressedStateInput,System.Boolean>), ReturnTypeDelegateProxy=typeof(ObjCRuntime.Trampolines+SDActionArity3V7), Selector="pressedDidChangeHandler", SetterSelector="setPressedDidChangeHandler:")>]
type IGCPressedStateInput = 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
Handle

Handle (pointer) to the unmanaged object representation.

(Inherited from INativeObject)
LastPressedStateLatency
LastPressedStateTimestamp
Pressed
PressedDidChangeHandler
Sources

Extension Methods

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

Applies to