TNPeripheral
@objcMembers
public class TNPeripheral : NSObject, Codable
Undocumented
-
Undocumented
Declaration
Swift
public let name: String
-
Undocumented
Declaration
Swift
public let address: String
-
Undocumented
Declaration
Swift
public let protocolType: TNPeripheralProtocol
-
Undocumented
Declaration
Swift
public let deviceType: String?
-
Undocumented
Declaration
Swift
public let profiles: [String]?
-
Undocumented
Declaration
Swift
public let rssi: Int?
-
Undocumented
Declaration
Swift
public let channelClientId: String?
-
Undocumented
Declaration
Swift
public let tripInfo: TNTripInfo?
-
Undocumented
Declaration
Swift
public let isConnected: Bool
-
Undocumented
Declaration
Swift
public let createdDatetime: Date?
-
init(name:
address: protocolType: deviceType: profiles: rssi: channelClientId: tripInfo: isConnected: createdDatetime: ) Undocumented
Declaration
Swift
public init(name: String, address: String, protocolType: TNPeripheralProtocol = .unknown, deviceType: String? = nil, profiles: [String]? = nil, rssi: Int? = nil, channelClientId: String? = nil, tripInfo: TNTripInfo? = nil, isConnected: Bool = false, createdDatetime: Date? = nil)
-
Declaration
Swift
public required init(from decoder: any Decoder) throws
-
Declaration
Swift
public func encode(to encoder: any Encoder) throws