RetrieveEvent

public class RetrieveEvent : CommunicationEvent<RetrieveEventData>

RetrieveEvent provides a generic implementation for responding to a QueryEvent.

Static Factory Methods.

  • Create a RetrieveEvent instance for delivering the queried objects.

    Declaration

    Swift

    public static func with(objects: [CoatyObject],
    
                     privateData: [String: Any]? = nil) -> RetrieveEvent

    Parameters

    objects

    the objects which have been queried.

    privateData

    application-specific options (optional).

    Return Value

    a Retrieve event with the given parameters

Codable methods.

  • Undocumented

    Declaration

    Swift

    public required init(from decoder: Decoder) throws
  • Undocumented

    Declaration

    Swift

    override public func encode(to encoder: Encoder) throws