Other Type Aliases
The following type aliases are available globally.
-
A type that can convert itself into and out of an external representation.
CharacteristicCodableis a type alias for theBluetoothEncodableandCharacteristicDecodableprotocols. When you useCharacteristicCodableas a type or a generic constraint, it matches any type that conforms to both protocols.Declaration
Swift
public typealias CharacteristicCodable = CharacteristicDecodable & BluetoothEncodable -
A type that can convert itself into and out of an external representation.
ManufacturerDataCodableis a type alias for theBluetoothEncodableandManufacturerDataDecodableprotocols. When you useManufacturerDataCodableas a type or a generic constraint, it matches any type that conforms to both protocols.Declaration
Swift
public typealias ManufacturerDataCodable = ManufacturerDataDecodable & BluetoothEncodable -
A type that can convert itself into and out of an external representation.
ServiceDataCodableis a type alias for theBluetoothEncodableandServiceDataDecodableprotocols. When you useServiceDataCodableas a type or a generic constraint, it matches any type that conforms to both protocols.Declaration
Swift
public typealias ServiceDataCodable = ServiceDataDecodable & BluetoothEncodable