Instance Property

delegate

The delegate object that handles advertising-related events.

Declaration

iOS, Mac Catalyst, tvOS
@property(weak, nonatomic) id<MCNearbyServiceAdvertiserDelegate> delegate;
macOS
@property(weak, atomic) id<MCNearbyServiceAdvertiserDelegate> delegate;

See Also

Configuring and Initialization

- initWithPeer:discoveryInfo:serviceType:

Initializes an advertiser object.

discoveryInfo

The info dictionary passed when this object was initialized.

myPeerID

The local peer ID for this instance.

serviceType

The service type that your app is advertising