Instance Property


A Boolean value that indicates whether the peripheral is advertising data.


var isAdvertising: Bool { get }


This value is true if the peripheral is advertising data as a result of successfully calling the startAdvertising(_:) method. The value is false if the peripheral is no longer advertising its data.

See Also

Managing Advertising

func startAdvertising([String : Any]?)

Advertises peripheral manager data.

func stopAdvertising()

Stops advertising peripheral manager data.