Instance Method

advertiser(_:didNotStartAdvertisingPeer:)

Called when advertisement fails.

Declaration

optional func advertiser(_ advertiser: MCNearbyServiceAdvertiser, didNotStartAdvertisingPeer error: Error)

Parameters

advertiser

The advertiser object that failed to begin advertising.

error

An error object that indicates what went wrong.