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
}
.NET | 6.07.08.09.0 |
---|---|
Information specific to net9.0 | |
Platforms | This API is only available when you target a specific platform: |
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 |
Mac Catalyst | 13.113.213.313.413.514.214.314.414.515.015.215.416.116.216.417.017.2 |
Information specific to net9.0-ios17.2 | |
Assembly | Microsoft.iOS , Version=17.2.0.0, PublicKeyToken=84e04ff9cfb79065 |
Referencing | The API is automatically referenced. |
Platform Restrictions | This API is only supported on the following platforms:
|