Share via


MCSession.ConnectedPeers Property

Definition

An array of the currently connected devices.

[ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)]
public virtual MultipeerConnectivity.MCPeerID[] ConnectedPeers { [Foundation.Export("connectedPeers")] get; }
[<ObjCRuntime.BindingImpl(ObjCRuntime.BindingImplOptions.GeneratedCode | ObjCRuntime.BindingImplOptions.Optimizable)>]
[<get: Foundation.Export("connectedPeers")>]
member this.ConnectedPeers : MultipeerConnectivity.MCPeerID[]

Property Value

The array will be non-null, but of length 0, if no peers are connected.

Attributes

Applies to