Serializable

@objc
public protocol Serializable

Protocol to provide serialization

  • Serializes sendbird object to data

    Declaration

    Swift

    @objc
    func serialize() -> Data?

    Return Value

    Data

  • Builds a sendbird object from serialized data

    Declaration

    Swift

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

    Parameters

    data

    Data object

    Return Value

    Sendbird object type