MCAdvertiserAssistant Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
A convenience class that manages the process of advertising for multipeer connectivity and interacting with the application user.
[Foundation.Register("MCAdvertiserAssistant", true)]
public class MCAdvertiserAssistant : Foundation.NSObject
[<Foundation.Register("MCAdvertiserAssistant", true)>]
type MCAdvertiserAssistant = class
inherit NSObject
- Inheritance
- Attributes
Remarks
Multipeer connectivity's discovery phase involves two roles: browsing and advertising. When an application makes itself available for connection, it is advertising. Advertising may be controlled by either a MCAdvertiserAssistant or can be fully customized with a MCNearbyServiceAdvertiser. For a discussion of the discovery process, see the remarks for MCSession.
Constructors
| Name | Description |
|---|---|
| MCAdvertiserAssistant(NativeHandle) |
A constructor used when creating managed representations of unmanaged objects. Called by the runtime. |
| MCAdvertiserAssistant(NSObjectFlag) |
Constructor to call on derived classes to skip initialization and merely allocate the object. |
| MCAdvertiserAssistant(String, NSDictionary, MCSession) |
Creates an object for the specific |
Properties
| Name | Description |
|---|---|
| AccessibilityAttributedUserInputLabels | (Inherited from NSObject) |
| AccessibilityRespondsToUserInteraction | (Inherited from NSObject) |
| AccessibilityTextualContext | (Inherited from NSObject) |
| AccessibilityUserInputLabels | (Inherited from NSObject) |
| Class | (Inherited from NSObject) |
| ClassHandle |
The Objective-C class handle for this class. |
| DebugDescription | (Inherited from NSObject) |
| Delegate |
An instance of the MultipeerConnectivity.IMCAdvertiserAssistantDelegate model class which acts as the class delegate. |
| Description | (Inherited from NSObject) |
| DiscoveryInfo |
A small dictionary of data available to browsers. |
| ExposedBindings | (Inherited from NSObject) |
| Handle |
Handle (pointer) to the unmanaged object representation. (Inherited from NSObject) |
| IsDirectBinding | (Inherited from NSObject) |
| IsProxy | (Inherited from NSObject) |
| RetainCount | (Inherited from NSObject) |
| Self | (Inherited from NSObject) |
| ServiceType |
A string, between 1 and 15 characters long, identifying the network protocol being advertised. |
| Session |
The MCSession into which peers will be placed. |
| Superclass | (Inherited from NSObject) |
| SuperHandle |
Handle used to represent the methods in the base class for this NSObject. (Inherited from NSObject) |
| WeakDelegate |
An object that can respond to the delegate protocol for this type |
| Zone | (Inherited from NSObject) |