Instance Property

discoveryInfo

The info dictionary passed when this object was initialized.

Declaration

iOS, Mac Catalyst, tvOS
@property(readonly, nonatomic) NSDictionary<NSString *,NSString *> *discoveryInfo;
macOS
@property(readonly, atomic) NSDictionary<NSString *,NSString *> *discoveryInfo;

Discussion

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

See Also

Configuring and Initialization

- initWithPeer:discoveryInfo:serviceType:

Initializes an advertiser object.

delegate

The delegate object that handles advertising-related events.

myPeerID

The local peer ID for this instance.

serviceType

The service type that your app is advertising