MultipeerConnectivity.MCAdvertiserAssistant.DiscoveryInfo Property
A small dictionary of data available to browsers.

Syntax

[get: Foundation.Export("discoveryInfo")]
public virtual Foundation.NSDictionary DiscoveryInfo { get; }

Value

This will contain the data passed in to the MCAdvertiserAssistant(string, Foundation.NSDictionary, MultipeerConnectivity.MCSession) constructor.

Remarks

The total size of keys and data in this dictionary should be less than ~400 bytes so that it can fit into a single Bluetooth data packet.

The dictionary should map strings to strings. Each key-value pair must be no more than 255 bytes with the equals sign inserted between them (i.e., System.Text.ASCIIEncoding.Unicode.GetByteCount(String.Format("{0}={1}",key,value)) <= 255 ). Keys may not contain equals signs.

The dictionary is advertised as a Bonjour TXT record (see RFC 6763, Section 6).

Requirements

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