public async Task Events_LiveSession_GetEventsSimple()
        {
            long streamPosition = await _client.EventsManager.GetCurrentStreamPositionAsync();

            BoxEvents events = await _client.EventsManager.GetEventsSinceAsync(streamPosition);

            Assert.IsTrue(events.NextStreamPositon > 0);
        }
コード例 #2
0
 public Box(GameObject boxObj, BoxEvents boxEvent)
 {
     this.boxObj   = boxObj;
     this.boxEvent = boxEvent;
 }
        public async Task Events_LiveSession_GetEventsSinceArbitraryWithFilter()
        {
            BoxEvents events = await _client.EventsManager.GetEventsSinceAsync(1450204753452, BoxEventFilter.SyncedFolderChanges);

            Assert.IsTrue(events.NextStreamPositon > 0);
        }
        public async Task Events_LiveSession_GetEventsSinceArbitrary()
        {
            BoxEvents events = await _client.EventsManager.GetEventsSinceAsync(1450204753452);

            Assert.IsTrue(events.NextStreamPositon > 0);
        }
        public async Task Events_LiveSession_GetEventsDefaults()
        {
            BoxEvents events = await _client.EventsManager.GetEventsSinceAsync();

            Assert.IsTrue(events.NextStreamPositon > 0);
        }
コード例 #6
0
 public Box(GameObject boxObj, BoxEvents boxEvent)
 {
     _simpleObject = boxObj;
     this.boxEvent = boxEvent;
 }