net9.0-ios
namespace GameController
{
    [Protocol(Name = "GCSwitchPositionInput", WrapperType = typeof(GCSwitchPositionInputWrapper))]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "position", IsProperty = true, IsRequired = true, IsStatic = false, Name = "Position", PropertyType = typeof(IntPtr), Selector = "position")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "positionRange", IsProperty = true, IsRequired = true, IsStatic = false, Name = "PositionRange", PropertyType = typeof(NSRange), Selector = "positionRange")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "isSequential", IsProperty = true, IsRequired = true, IsStatic = false, Name = "Sequential", PropertyType = typeof(bool), Selector = "sequential")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "canWrap", IsProperty = true, IsRequired = true, IsStatic = false, Name = "CanWrap", PropertyType = typeof(bool), Selector = "canWrap")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "lastPositionTimestamp", IsProperty = true, IsRequired = true, IsStatic = false, Name = "LastPositionTimestamp", PropertyType = typeof(double), Selector = "lastPositionTimestamp")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.None, GetterSelector = "lastPositionLatency", IsProperty = true, IsRequired = true, IsStatic = false, Name = "LastPositionLatency", PropertyType = typeof(double), Selector = "lastPositionLatency")]
    [ProtocolMember(ArgumentSemantic = ArgumentSemantic.Copy, GetterSelector = "positionDidChangeHandler", IsProperty = true, IsRequired = true, IsStatic = false, Name = "PositionDidChangeHandler", ParameterBlockProxy = new[] { typeof(NIDActionArity3V10) }, PropertyType = typeof(Action<IGCPhysicalInputElement, IGCSwitchPositionInput, IntPtr>), ReturnTypeDelegateProxy = typeof(SDActionArity3V10), Selector = "positionDidChangeHandler", SetterSelector = "setPositionDidChangeHandler:")]
    [SupportedOSPlatform("macos13.0")]
    [SupportedOSPlatform("ios16.0")]
    [SupportedOSPlatform("maccatalyst16.0")]
    [SupportedOSPlatform("tvos16.0")]
    public interface IGCSwitchPositionInput : INativeObject, IDisposable
}
Assembly Microsoft.iOS , Version=17.0.0.0, PublicKeyToken=84e04ff9cfb79065
.NET 7.0-ios7.0-tvos8.0-ios8.0-maccatalyst8.0-macos8.0-tvos9.0-ios9.0-maccatalyst9.0-macos9.0-tvos
OS Platforms

For the selected framework this API is only supported on the following OS platforms:

  • iOS >= 16
  • Mac Catalyst >= 16
  • macOS >= 13
  • tvOS >= 16
  • Built-in API
  • Package-provided API

04/27/2024
An error has occurred. This application may no longer respond until reloaded. Reload 🗙