PeripheralIdentifier

public struct PeripheralIdentifier

Uniquely identifies a peripheral to the current iOS device. The UUID changes and is different on different iOS devices.

  • The UUID of the peripheral.

    Declaration

    Swift

    public let uuid: UUID
  • The name of the peripheral.

    Declaration

    Swift

    public let name: String
  • Returns both the name and uuid of the peripheral.

    Declaration

    Swift

    public var description: String { get }
  • Create a PeripheralIdentifier using a UUID.

    Declaration

    Swift

    public init(uuid: UUID, name: String?)
  • Declaration

    Swift

    public static func == (lhs: PeripheralIdentifier, rhs: PeripheralIdentifier) -> Bool
  • Declaration

    Swift

    public var hashValue: Int { get }