Serializable

public protocol Serializable: AnyObject

Protocol to provide serialization

  • Serializes sendbird object to data

    Declaration

    Swift

    func serialize() -> Data?

    Return Value

    Data

  • Builds a sendbird object from serialized data

    Declaration

    Swift

    static func build(fromSerializedData data: Data?) -> Self?

    Parameters

    data

    Data object

    Return Value

    Sendbird object type