Peripheral
public class Peripheral : Identifiable
extension Peripheral: CustomDebugStringConvertible
It represents a peripheral along with its properties
-
An identifier for the peripheral it is the same as the wrapped
CBPeripheralDeclaration
Swift
public var id: UUID { get } -
The name of the peripheral it is the same as the wrapped
CBPeripheralDeclaration
Swift
public var name: String? { get } -
The state of the peripheral it is the same as the wrapped
CBPeripheralDeclaration
Swift
public var state: PeripheralState { get } -
The wrapped
CBPeripheralDeclaration
Swift
public let cbPeripheral: CBPeripheral -
The rssi value of the peripheral
Declaration
Swift
public var rssi: Int? -
Extended description of the peripheral
Declaration
Swift
public var debugDescription: String { get }
View on GitHub
Peripheral Class Reference