Instance Property

serviceType

The service type that your app is advertising

Declaration

var serviceType: 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 discoveryInfo: [String : String]?

The info dictionary passed when this object was initialized.

var myPeerID: MCPeerID

The local peer ID for this instance.