iOS Guides | Samples

MultipeerConnectivity.IMCNearbyServiceBrowserDelegate

Interface representing the required methods (if any) of the protocol MCNearbyServiceBrowserDelegate.

See Also: IMCNearbyServiceBrowserDelegate

Syntax

[Foundation.Protocol(Name="MCNearbyServiceBrowserDelegate", WrapperType=typeof(MultipeerConnectivity.MCNearbyServiceBrowserDelegateWrapper))]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="FoundPeer", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], Selector="browser:foundPeer:withDiscoveryInfo:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=true, IsStatic=false, Name="LostPeer", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], Selector="browser:lostPeer:")]
[Foundation.ProtocolMember(IsProperty=false, IsRequired=false, IsStatic=false, Name="DidNotStartBrowsingForPeers", ParameterByRef=Mono.Cecil.CustomAttributeArgument[], ParameterType=Mono.Cecil.CustomAttributeArgument[], Selector="browser:didNotStartBrowsingForPeers:")]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.TvOS, 10, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.iOS, 7, 0, ObjCRuntime.PlatformArchitecture.All, null)]
[ObjCRuntime.Introduced(ObjCRuntime.PlatformName.MacOSX, 10, 10, ObjCRuntime.PlatformArchitecture.Arch64, null)]
public interface IMCNearbyServiceBrowserDelegate : INativeObject, IDisposable

Remarks

This interface contains the required methods (if any) from the protocol defined by MCNearbyServiceBrowserDelegate.

If developers create classes that implement this interface, the implementation methods will automatically be exported to Objective-C with the matching signature from the method defined in the MCNearbyServiceBrowserDelegate protocol.

Optional methods (if any) are provided by the MCNearbyServiceBrowserDelegate_Extensions class as extension methods to the interface, allowing developers to invoke any optional methods on the protocol.

Requirements

Namespace: MultipeerConnectivity
Assembly: Xamarin.iOS (in Xamarin.iOS.dll)
Assembly Versions: 0.0.0.0

The members of MultipeerConnectivity.IMCNearbyServiceBrowserDelegate are listed below.

Public Methods