net9.0-ios17.2
namespace NearbyInteraction
{
    [Protocol(Name = "NISessionDelegate", WrapperType = typeof(NISessionDelegateWrapper))]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidSessionUpdateNearbyObjects", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NISession), typeof(NINearbyObject[]) }, Selector = "session:didUpdateNearbyObjects:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidSessionRemoveNearbyObjects", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NISession), typeof(NINearbyObject[]), typeof(NINearbyObjectRemovalReason) }, Selector = "session:didRemoveNearbyObjects:withReason:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SessionWasSuspended", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NISession) }, Selector = "sessionWasSuspended:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "SessionSuspensionEnded", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NISession) }, Selector = "sessionSuspensionEnded:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidSessionInvalidate", ParameterByRef = new[] { false, false }, ParameterType = new[] { typeof(NISession), typeof(NSError) }, Selector = "session:didInvalidateWithError:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidGenerateShareableConfigurationData", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NISession), typeof(NSData), typeof(NINearbyObject) }, Selector = "session:didGenerateShareableConfigurationData:forObject:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidUpdateAlgorithmConvergence", ParameterByRef = new[] { false, false, false }, ParameterType = new[] { typeof(NISession), typeof(NIAlgorithmConvergence), typeof(NINearbyObject) }, Selector = "session:didUpdateAlgorithmConvergence:forObject:")]
    [ProtocolMember(IsProperty = false, IsRequired = false, IsStatic = false, Name = "DidSessionStartRunning", ParameterByRef = new[] { false }, ParameterType = new[] { typeof(NISession) }, Selector = "sessionDidStartRunning:")]
    [SupportedOSPlatform("ios14.0")]
    [SupportedOSPlatform("maccatalyst14.0")]
    [UnsupportedOSPlatform("tvos")]
    [UnsupportedOSPlatform("macos")]
    public interface INISessionDelegate : INativeObject, IDisposable
}
Assembly Microsoft.iOS , Version=17.2.0.0, PublicKeyToken=84e04ff9cfb79065
.NET 6.07.08.09.0
Platform Specific Frameworks
net9.0-ios 10.010.110.210.311.011.111.211.311.412.012.112.212.312.413.013.113.213.313.413.513.614.014.114.214.314.414.515.015.215.416.016.116.216.417.017.2
net9.0-maccatalyst 13.113.213.313.413.514.214.314.414.515.015.215.416.116.216.417.017.2
Platform Restrictions

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

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

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