Other Type Aliases
The following type aliases are available globally.
-
A type that can convert itself into and out of an external representation.
CharacteristicCodable
is a type alias for theBluetoothEncodable
andCharacteristicDecodable
protocols. When you useCharacteristicCodable
as 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.
ManufacturerDataCodable
is a type alias for theBluetoothEncodable
andManufacturerDataDecodable
protocols. When you useManufacturerDataCodable
as 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.
ServiceDataCodable
is a type alias for theBluetoothEncodable
andServiceDataDecodable
protocols. When you useServiceDataCodable
as a type or a generic constraint, it matches any type that conforms to both protocols.Declaration
Swift
public typealias ServiceDataCodable = ServiceDataDecodable & BluetoothEncodable