summaryrefslogtreecommitdiff
path: root/FireBase/Offline/StreamingOptions.cs
blob: 9ed4e5448cb701896b4f154001edadea90670c88 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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
    }
}