summaryrefslogtreecommitdiff
path: root/FireBase/Offline/StreamingOptions.cs
blob: a420cbbd2e84eaeaaa5896821b23eea087a93028 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
namespace Firebase.Database.Offline
{
    public enum StreamingOptions
    {
        /// <summary>
        ///     No realtime streaming.
        /// </summary>
        None,

        /// <summary>
        ///     Streaming of only new items - not the existing ones.
        /// </summary>
        LatestOnly,

        /// <summary>
        ///     Streaming of all items. This will also pull all existing items on start, so be mindful about the number of items in
        ///     your DB.
        ///     When used, consider not setting the <see cref="InitialPullStrategy" /> to
        ///     <see cref="InitialPullStrategy.Everything" /> because you would pointlessly pull everything twice.
        /// </summary>
        Everything
    }
}