Interface ActivityCollection

  • All Known Subinterfaces:
    ActivityStream

    @ProviderType
    public interface ActivityCollection
    A simple collection of activities usually aggregated from several activity streams.
    • Method Detail

      • getActivities

        java.lang.Iterable<Activity> getActivities​(int offset,
                                                   int length)
                                            throws ActivityException
        Returns length activities of this stream, starting at offset.
        Parameters:
        offset - number of activities to skip
        length - number of activities to return. specifying a value <= 0 returns all activities.
        Returns:
        a collection of activities
        Throws:
        ActivityException - if an error occurs.