ComposableCoreLocation Documentation

Structure Beacon

@available(macOS, unavailable)
@available(tvOS, unavailable)
@available(watchOS, unavailable)
public struct Beacon: Hashable  

A value type wrapper for CLBeacon. This type is necessary so that we can do equality checks and write tests against its values.

%7 Beacon Beacon Hashable Hashable Beacon->Hashable

Conforms To

Hashable

Initializers

init(raw​Value:​)

public init(rawValue: CLBeacon)  

init(accuracy:​major:​minor:​proximity:​rssi:​timestamp:​uuid:​)

public init(
    accuracy: CLLocationAccuracy,
    major: NSNumber,
    minor: NSNumber,
    proximity: CLProximity,
    rssi: Int,
    timestamp: Date,
    uuid: UUID
  )  

Properties

accuracy

public var accuracy: CLLocationAccuracy

major

public var major: NSNumber

minor

public var minor: NSNumber

proximity

public var proximity: CLProximity

rssi

public var rssi: Int

timestamp

public var timestamp: Date

uuid

public var uuid: UUID