ServiceDataDecodable
public protocol ServiceDataDecodable : AnyObject
Allows for Decoding ServiceData
-
Decodes Service Data AD Data into ServiceData
Declaration
Swift
static func decode(with data: Data) -> Result<Self, BluetoothDecodeError>Parameters
dataServiceData Data
Return Value
ServiceData Result