Instance Property

discoveryInfo

The info dictionary passed when this object was initialized.

Declaration

var discoveryInfo: [String : String]? { get }

Discussion

This value is set when you initialize the object, and cannot be changed later.

See Also

Configuring and Initialization

var delegate: MCNearbyServiceAdvertiserDelegate?

The delegate object that handles advertising-related events.

var myPeerID: MCPeerID

The local peer ID for this instance.

var serviceType: String

The service type that your app is advertising

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software