Classes

The following classes are available globally.

  • GetStream client.

    See more

    Declaration

    Swift

    public final class Client
    extension Client: CustomStringConvertible
  • An enriched activity type with actor, object and reaction customizable types.

    See more

    Declaration

    Swift

    open class EnrichedActivity<ActorType, ObjectType, ReactionType> : ActivityProtocol where ActorType : Enrichable, ObjectType : Enrichable, ReactionType : ReactionProtocol
    extension EnrichedActivity: CustomStringConvertible
  • A Client logger.

    See more

    Declaration

    Swift

    public final class ClientLogger
  • A collection object with basic properties of CollectionObjectProtocol. You can inherit this class with extra properties on your own CollectionObject type.

    Note

    Please, check the CollectionObjectProtocol documentation to implement your User subclass properly.
    See more

    Declaration

    Swift

    open class CollectionObject : CollectionObjectProtocol
  • AggregatedFeed are good for consuming activities in an “aggregated”-like manner. You cannot follow an aggregated feed, but you may on occasion want to add activities to one.

    See more

    Declaration

    Swift

    public final class AggregatedFeed : Feed
  • An aggregated group type.

    See more

    Declaration

    Swift

    public class Group<T> : Decodable where T : ActivityProtocol
  • A superclass for feeds: FlatFeed, AggregatedFeed and NotificationFeed.

    See more

    Declaration

    Swift

    public class Feed : CustomStringConvertible
  • FlatFeed are the only feeds that can be followed, and therefore are a good type to setup for adding activities. FlatFeed can also be used to consume activities from other feeds - in a “timeline”-like manner.

    See more

    Declaration

    Swift

    public final class FlatFeed : Feed
  • The NotificationFeed type makes it easy to add notifications to your app. Notifications cannot be followed by other feeds, but you can write directly to a Notification feed.

    See more

    Declaration

    Swift

    public final class NotificationFeed : Feed
  • A notification group.

    See more

    Declaration

    Swift

    public final class NotificationGroup<T> : Group<T> where T : ActivityProtocol
  • A reaction type.

    See more

    Declaration

    Swift

    public final class Reaction<T, U> : ReactionProtocol where T : Decodable, T : Encodable, U : UserProtocol
  • An User class with basic properties of UserProtocol. You can inherit this class with extra properties on your own User type.

    Note

    Please, check the UserProtocol documentation to implement your User subclass properly.
    See more

    Declaration

    Swift

    open class User : UserProtocol
    extension User: Equatable

Subscribed Channel