Instance Property

myPeerID

The local peer ID for this instance.

Declaration

var myPeerID: MCPeerID { 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 discoveryInfo: [String : String]?

The info dictionary passed when this object was initialized.

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