net9.0-ios
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.0.0.0, PublicKeyToken=84e04ff9cfb79065 |
---|---|
.NET | 6.0-ios6.0-maccatalyst7.0-ios7.0-maccatalyst8.0-ios8.0-maccatalyst9.0-ios9.0-maccatalyst |
OS Platforms | For the selected framework this API is only supported on the following OS platforms:
|