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

    data

    ServiceData Data

    Return Value

    ServiceData Result