Example #1
0
        public void Language([NotNull] string lang)
        {
            EventBuilder @event = new EventBuilder(EventType.LANGUAGE);

            @event.Append(lang);
            SendEvent(@event);
        }
Example #2
0
        public EventBuilder Build()
        {
            var @event = new EventBuilder(EventType.NEW_PLAYBACK_ID);

            @event.Append(playbackId).Append(sessionId)
            .Append(TimeProvider.CurrentTimeMillis().ToString());
            return(@event);
        }
        public EventBuilder Build()
        {
            var contextUri = state.ConnectState.ContextUri;

            var @event = new EventBuilder(EventType.NEW_SESSION_ID);

            @event.Append(sessionId);
            @event.Append(contextUri);
            @event.Append(contextUri);
            @event.Append(TimeProvider.CurrentTimeMillis().ToString());
            @event.Append("").Append(state.GetContextSize().ToString());
            @event.Append(state.ConnectState.ContextUrl);
            return(@event);
        }